note about subclass property at left hand
This commit is contained in:
parent
308f59bc68
commit
e2ee69bf08
@ -56,6 +56,9 @@ DeclarativeAppletScript::DeclarativeAppletScript(QObject *parent, const QVariant
|
|||||||
m_interface(0)
|
m_interface(0)
|
||||||
{
|
{
|
||||||
//qmlRegisterType<AppletInterface>();
|
//qmlRegisterType<AppletInterface>();
|
||||||
|
//FIXME: use this if/when will be possible to have properties of attached items subclasses on the left hand of expressions
|
||||||
|
/*qmlRegisterUncreatableType<AppletLoader>("org.kde.plasma.plasmoid", 2, 0, "Plasmoid",
|
||||||
|
QLatin1String("Do not create objects of type Plasmoid"));*/
|
||||||
qmlRegisterUncreatableType<AppletInterface>("org.kde.plasma.plasmoid", 2, 0, "Plasmoid",
|
qmlRegisterUncreatableType<AppletInterface>("org.kde.plasma.plasmoid", 2, 0, "Plasmoid",
|
||||||
QLatin1String("Do not create objects of type Plasmoid"));
|
QLatin1String("Do not create objects of type Plasmoid"));
|
||||||
qmlRegisterUncreatableType<ContainmentInterface>("org.kde.plasma.plasmoid", 2, 0, "Containment",
|
qmlRegisterUncreatableType<ContainmentInterface>("org.kde.plasma.plasmoid", 2, 0, "Containment",
|
||||||
|
Loading…
Reference in New Issue
Block a user