Make reloadEffect() accessible via DBus
svn path=/trunk/KDE/kdebase/workspace/; revision=669434
This commit is contained in:
parent
e3d45c99f0
commit
7ebe7238e2
3 changed files with 10 additions and 0 deletions
|
@ -43,5 +43,8 @@
|
||||||
<method name="toggleEffect">
|
<method name="toggleEffect">
|
||||||
<arg name="name" type="s" direction="in"/>
|
<arg name="name" type="s" direction="in"/>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="reloadEffect">
|
||||||
|
<arg name="name" type="s" direction="in"/>
|
||||||
|
</method>
|
||||||
</interface>
|
</interface>
|
||||||
</node>
|
</node>
|
||||||
|
|
|
@ -710,6 +710,12 @@ void Workspace::unloadEffect( const QString& name )
|
||||||
static_cast<EffectsHandlerImpl*>(effects)->unloadEffect( name );
|
static_cast<EffectsHandlerImpl*>(effects)->unloadEffect( name );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Workspace::reloadEffect( const QString& name )
|
||||||
|
{
|
||||||
|
if( effects )
|
||||||
|
static_cast<EffectsHandlerImpl*>(effects)->reloadEffect( name );
|
||||||
|
}
|
||||||
|
|
||||||
void Workspace::slotActivateAttentionWindow()
|
void Workspace::slotActivateAttentionWindow()
|
||||||
{
|
{
|
||||||
if( attention_chain.count() > 0 )
|
if( attention_chain.count() > 0 )
|
||||||
|
|
|
@ -220,6 +220,7 @@ class Workspace : public QObject, public KDecorationDefines
|
||||||
|
|
||||||
void loadEffect( const QString& name );
|
void loadEffect( const QString& name );
|
||||||
void toggleEffect( const QString& name );
|
void toggleEffect( const QString& name );
|
||||||
|
void reloadEffect( const QString& name );
|
||||||
|
|
||||||
void unloadEffect( const QString& name );
|
void unloadEffect( const QString& name );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue