[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/plasma/scripting
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-01-06 3:02:24
Message-ID: 1231210944.487223.5246.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 906373 by aseigo:

provide access to config needs saving


 M  +7 -0      appletscript.cpp  
 M  +5 -0      appletscript.h  


--- trunk/KDE/kdelibs/plasma/scripting/appletscript.cpp #906372:906373
@@ -114,6 +114,13 @@
     }
 }
 
+void AppletScript::configNeedsSaving() const
+{
+    if (applet()) {
+        emit applet()->configNeedsSaving();
+    }
+}
+
 void AppletScript::showConfigurationInterface()
 {
 }
--- trunk/KDE/kdelibs/plasma/scripting/appletscript.h #906372:906373
@@ -127,6 +127,11 @@
      */
     void setFailedToLaunch(bool failed, const QString &reason = QString());
 
+    /**
+     * @see Applet
+     */
+    void configNeedsSaving() const;
+
 public Q_SLOTS:
 
     /**
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic