Commit 921749 changed the component name for kwin effects configuration kcms
from kwin to kcm_kwin4_effect_xyz . That broke global shortcuts configuration. CCMAIL: kwin@kde.org CCMAIL: lmurray@undefinedfire.com svn path=/trunk/KDE/kdebase/workspace/; revision=924534icc-effect-5.14.5
parent
9894be083c
commit
366488f20c
|
@ -57,7 +57,9 @@ VideoRecordEffectConfig::VideoRecordEffectConfig(QWidget* parent, const QVariant
|
|||
hlayout->addWidget( saveVideo );
|
||||
layout->addLayout( hlayout );
|
||||
|
||||
KActionCollection* actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
KActionCollection* actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
KAction* a = static_cast<KAction*>(actionCollection->addAction( "VideoRecord" ));
|
||||
a->setText( i18n("Toggle Video Recording" ));
|
||||
a->setProperty("isConfigurationAction", true);
|
||||
|
|
|
@ -52,7 +52,9 @@ CubeEffectConfig::CubeEffectConfig(QWidget* parent, const QVariantList& args) :
|
|||
m_ui->tabWidget->setTabText( 0, i18nc("@title:tab Basic Settings", "Basic") );
|
||||
m_ui->tabWidget->setTabText( 1, i18nc("@title:tab Advanced Settings", "Advanced") );
|
||||
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup( "Cube" );
|
||||
m_actionCollection->setConfigGlobal(true);
|
||||
|
||||
|
|
|
@ -52,7 +52,9 @@ CylinderEffectConfig::CylinderEffectConfig(QWidget* parent, const QVariantList&
|
|||
m_ui->tabWidget->setTabText( 0, i18nc("@title:tab Basic Settings", "Basic") );
|
||||
m_ui->tabWidget->setTabText( 1, i18nc("@title:tab Advanced Settings", "Advanced") );
|
||||
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup( "Cylinder" );
|
||||
m_actionCollection->setConfigGlobal(true);
|
||||
|
||||
|
|
|
@ -52,7 +52,9 @@ SphereEffectConfig::SphereEffectConfig(QWidget* parent, const QVariantList& args
|
|||
m_ui->tabWidget->setTabText( 0, i18nc("@title:tab Basic Settings", "Basic") );
|
||||
m_ui->tabWidget->setTabText( 1, i18nc("@title:tab Advanced Settings", "Advanced") );
|
||||
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup( "Sphere" );
|
||||
m_actionCollection->setConfigGlobal(true);
|
||||
|
||||
|
|
|
@ -48,7 +48,9 @@ DesktopGridEffectConfig::DesktopGridEffectConfig(QWidget* parent, const QVariant
|
|||
|
||||
layout->addWidget( m_ui );
|
||||
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup( "DesktopGrid" );
|
||||
m_actionCollection->setConfigGlobal( true );
|
||||
|
||||
|
|
|
@ -39,7 +39,9 @@ InvertEffectConfig::InvertEffectConfig(QWidget* parent, const QVariantList& args
|
|||
KCModule(EffectFactory::componentData(), parent, args)
|
||||
{
|
||||
QVBoxLayout* layout = new QVBoxLayout(this);
|
||||
KActionCollection* actionCollection = new KActionCollection( this, componentData() );
|
||||
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
KActionCollection *actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
KAction* a = static_cast<KAction*>(actionCollection->addAction( "Invert" ));
|
||||
a->setText( i18n("Toggle Invert Effect" ));
|
||||
|
|
|
@ -54,8 +54,9 @@ LookingGlassEffectConfig::LookingGlassEffectConfig(QWidget* parent, const QVaria
|
|||
connect(m_ui->editor, SIGNAL(keyChange()), this, SLOT(changed()));
|
||||
connect(m_ui->radiusSpin, SIGNAL(valueChanged(int)), this, SLOT(changed()));
|
||||
|
||||
// Shortcut config
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup("LookingGlass");
|
||||
m_actionCollection->setConfigGlobal(true);
|
||||
|
||||
|
|
|
@ -54,8 +54,9 @@ MagnifierEffectConfig::MagnifierEffectConfig(QWidget* parent, const QVariantList
|
|||
connect(m_ui->editor, SIGNAL(keyChange()), this, SLOT(changed()));
|
||||
connect(m_ui->spinWidth, SIGNAL(valueChanged(int)), this, SLOT(changed()));
|
||||
|
||||
// Shortcut config
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup("Magnifier");
|
||||
m_actionCollection->setConfigGlobal(true);
|
||||
|
||||
|
|
|
@ -55,8 +55,8 @@ MouseMarkEffectConfig::MouseMarkEffectConfig(QWidget* parent, const QVariantList
|
|||
connect(m_ui->spinWidth, SIGNAL(valueChanged(int)), this, SLOT(changed()));
|
||||
connect(m_ui->comboColors, SIGNAL(currentIndexChanged(int)), this, SLOT(changed()));
|
||||
|
||||
// Shortcut config
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
KAction* a = static_cast< KAction* >( m_actionCollection->addAction( "ClearMouseMarks" ));
|
||||
a->setText( i18n( "Clear Mouse Marks" ));
|
||||
|
|
|
@ -48,7 +48,9 @@ PresentWindowsEffectConfig::PresentWindowsEffectConfig(QWidget* parent, const QV
|
|||
|
||||
layout->addWidget( m_ui );
|
||||
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup( "PresentWindows" );
|
||||
m_actionCollection->setConfigGlobal( true );
|
||||
|
||||
|
|
|
@ -39,7 +39,10 @@ SharpenEffectConfig::SharpenEffectConfig(QWidget* parent, const QVariantList& ar
|
|||
KCModule(EffectFactory::componentData(), parent, args)
|
||||
{
|
||||
QVBoxLayout* layout = new QVBoxLayout(this);
|
||||
KActionCollection* actionCollection = new KActionCollection( this, componentData() );
|
||||
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
KActionCollection *actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
KAction* a = static_cast<KAction*>(actionCollection->addAction( "Sharpen" ));
|
||||
a->setText( i18nc("@action Enables/Disables an effect that makes windows more sharp", "Toggle Sharpen Effect" ));
|
||||
a->setProperty("isConfigurationAction", true);
|
||||
|
|
|
@ -56,7 +56,9 @@ SnowEffectConfig::SnowEffectConfig(QWidget* parent, const QVariantList& args) :
|
|||
connect(m_ui->maxHSpeed, SIGNAL(valueChanged(int)), this, SLOT(changed()));
|
||||
connect(m_ui->snowBehindWindows, SIGNAL(stateChanged(int)), this, SLOT(changed()));
|
||||
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup("Snow");
|
||||
m_actionCollection->setConfigGlobal(true);
|
||||
|
||||
|
|
|
@ -56,8 +56,9 @@ ThumbnailAsideEffectConfig::ThumbnailAsideEffectConfig(QWidget* parent, const QV
|
|||
connect(m_ui->spinSpacing, SIGNAL(valueChanged(int)), this, SLOT(changed()));
|
||||
connect(m_ui->spinOpacity, SIGNAL(valueChanged(int)), this, SLOT(changed()));
|
||||
|
||||
// Shortcut config
|
||||
m_actionCollection = new KActionCollection( this, componentData() );
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
m_actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
m_actionCollection->setConfigGroup("ThumbnailAside");
|
||||
m_actionCollection->setConfigGlobal(true);
|
||||
|
||||
|
|
|
@ -39,7 +39,10 @@ ZoomEffectConfig::ZoomEffectConfig(QWidget* parent, const QVariantList& args) :
|
|||
KCModule(EffectFactory::componentData(), parent, args)
|
||||
{
|
||||
QVBoxLayout* layout = new QVBoxLayout(this);
|
||||
KActionCollection* actionCollection = new KActionCollection( this, componentData() );
|
||||
|
||||
// Shortcut config. The shortcut belongs to the component "kwin"!
|
||||
KActionCollection *actionCollection = new KActionCollection( this, KComponentData("kwin") );
|
||||
|
||||
KAction* a;
|
||||
a = static_cast< KAction* >( actionCollection->addAction( KStandardAction::ZoomIn ));
|
||||
a->setProperty("isConfigurationAction", true);
|
||||
|
|
Loading…
Reference in New Issue