enable installation, add stub to add applet programatically

This commit is contained in:
Sebastian Kügler 2013-02-14 03:39:29 +01:00
parent 86d7c96a28
commit e26434648a
2 changed files with 7 additions and 0 deletions

View File

@ -52,3 +52,4 @@ install(TARGETS testplasma2 ${INSTALL_TARGETS_DEFAULT_ARGS})
add_subdirectory(qmlpackages)
installPackage(testcontainment org.kde.testcontainment)
installPackage(testapplet org.kde.testapplet)
installPackage(testcomponentsapplet org.kde.testcomponentsapplet)

View File

@ -56,6 +56,12 @@ void DesktopCorona::loadDefaultLayout()
Plasma::Applet *appl = cont->addApplet("org.kde.testapplet");
qDebug() << "Containment:" << cont << cont->title();
qDebug() << "Applet:" << appl->title() << appl;
/*
Plasma::Applet *cappl = cont->addApplet("org.kde.testcomponentsapplet");
qDebug() << "Applet:" << cappl->title() << cappl->icon();
*/
}
void DesktopCorona::checkScreens(bool signalWhenExists)