export pluginName as a qproperty

export pluginName as a qproperty, useful for QML containments
This commit is contained in:
Marco Martin 2011-02-25 22:25:56 +01:00
parent b23b9664be
commit c56287f927

View File

@ -79,6 +79,7 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
Q_OBJECT
Q_PROPERTY(bool hasConfigurationInterface READ hasConfigurationInterface)
Q_PROPERTY(QString name READ name)
Q_PROPERTY(QString pluginName READ pluginName)
Q_PROPERTY(QString category READ category)
Q_PROPERTY(ImmutabilityType immutability READ immutability WRITE setImmutability)
Q_PROPERTY(bool hasFailedToLaunch READ hasFailedToLaunch WRITE setFailedToLaunch)