move the icon demo to RootWidget so we have all our demos there =)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670534
This commit is contained in:
parent
5a7134ba21
commit
3ccb56568f
16
corona.cpp
16
corona.cpp
@ -34,10 +34,6 @@
|
||||
#include "widgets/vboxlayout.h"
|
||||
#include "karambamanager.h"
|
||||
|
||||
#ifdef ICON_DEMO
|
||||
#include "widgets/icon.h"
|
||||
#endif
|
||||
|
||||
#include "corona.h"
|
||||
|
||||
using namespace Plasma;
|
||||
@ -93,18 +89,6 @@ void Corona::init()
|
||||
setPalette(pal);*/
|
||||
//setViewport(new QGLWidget ( QGLFormat(QGL::StencilBuffer | QGL::AlphaChannel) ));
|
||||
|
||||
#ifdef ICON_DEMO
|
||||
Icon* icon = new Icon();
|
||||
icon->setIcon("plasmagik");
|
||||
icon->setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
|
||||
addItem(icon);
|
||||
|
||||
icon = new Icon();
|
||||
icon->setIcon("user-home");
|
||||
icon->setSize(64, 64);
|
||||
icon->setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
|
||||
addItem(icon);
|
||||
#endif
|
||||
/*
|
||||
KPluginInfo::List applets = Applet::knownApplets();
|
||||
kDebug() << "======= Applets =========" << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user