[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/test
From: Shawn Starr <shawn.starr () rogers ! com>
Date: 2008-10-30 3:12:22
Message-ID: 1225336342.140138.19895.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 877704 by spstarr:
Switch to new API naming
M +2 -2 testapplet.cpp
M +2 -2 testapplet.h
--- trunk/playground/base/plasma/applets/test/testapplet.cpp #877703:877704
@@ -21,11 +21,11 @@
#include <QGraphicsLinearLayout>
-#include <plasma/widgets/icon.h>
+#include <plasma/widgets/iconwidget.h>
TestApplet::TestApplet(QObject *parent, const QVariantList &args)
: Plasma::Applet(parent, args)
- , m_icon( new Plasma::Icon("Foo", this) )
+ , m_icon( new Plasma::IconWidget("Foo", this) )
{
m_icon->setIcon("run-build");
m_icon->setOrientation(Qt::Horizontal);
--- trunk/playground/base/plasma/applets/test/testapplet.h #877703:877704
@@ -24,7 +24,7 @@
namespace Plasma
{
- class Icon;
+ class IconWidget;
} // namespace Plasma
class TestApplet : public Plasma::Applet
@@ -41,7 +41,7 @@
void buttonClicked();
private:
- Plasma::Icon* m_icon;
+ Plasma::IconWidget* m_icon;
};
K_EXPORT_PLASMA_APPLET(testapplet, TestApplet)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic