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:
Aaron J. Seigo 2007-06-01 22:10:12 +00:00
parent 5a7134ba21
commit 3ccb56568f

View File

@ -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;