be more explicit about the signature .. i don't think it matters to
QObject::connect which normalizes away the const's and &s, but should help the copy 'n pasters a bit more =) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725150
This commit is contained in:
parent
93187d0a90
commit
677ed4a35a
@ -81,7 +81,7 @@ class PLASMA_EXPORT DataEngine : public QObject
|
||||
* Connects a source to an object for data updates. The object must
|
||||
* have a slot with the following signature:
|
||||
*
|
||||
* updated(QString sourceName, Plasma::DataEngine::Data data)
|
||||
* updated(const QString &sourceName, const Plasma::DataEngine::Data &data)
|
||||
*
|
||||
* The data is a QHash of QVariants keyed by QString names, allowing
|
||||
* one data source to provide sets of related data.
|
||||
|
Loading…
x
Reference in New Issue
Block a user