[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2010-08-24 20:38:35
Message-ID: 20100824203835.B9443AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1167529 by aseigo:
give init() a nicer default implmementation by calling reloadConfiguration
M +2 -0 abstractrunner.cpp
M +5 -0 abstractrunner.h
--- trunk/KDE/kdelibs/plasma/abstractrunner.cpp #1167528:1167529
@@ -351,6 +351,8 @@
d->setupScriptSupport();
d->script->init();
}
+
+ reloadConfiguration();
}
DataEngine *AbstractRunner::dataEngine(const QString &name) const
--- trunk/KDE/kdelibs/plasma/abstractrunner.h #1167528:1167529
@@ -439,6 +439,11 @@
Q_INVOKABLE DataEngine *dataEngine(const QString &name) const;
protected Q_SLOTS:
+ /**
+ * Reimplement this slot to run any initialization routines on first load.
+ * By default, it calls reloadConfiguration(); for scripted Runners this
+ * method also sets up the ScriptEngine.
+ */
void init();
/**
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic