enable installation, add stub to add applet programatically
This commit is contained in:
parent
86d7c96a28
commit
e26434648a
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user