[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/applets/screen_control
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-11-16 22:29:36
Message-ID: 1258410576.979104.29881.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1050239 by aseigo:

this isn't the applet


 M  +1 -1      ScreenControl.cpp  
 M  +3 -2      ScreenControl.h  


--- trunk/playground/base/plasma/applets/screen_control/ScreenControl.cpp #1050238:1050239
@@ -26,7 +26,7 @@
 #include <KIcon>
 
 ScreenControl::ScreenControl(QGraphicsWidget *parent) :
-	Plasma::Applet(parent)
+	QGraphicsWidget(parent)
 {
     setMinimumSize(450,230);
 
--- trunk/playground/base/plasma/applets/screen_control/ScreenControl.h #1050238:1050239
@@ -20,12 +20,13 @@
 #ifndef SCREENCONTROL_H
 #define SCREENCONTROL_H
 
+#include <QGraphicsWidget>
+
 #include <plasma/applet.h>
 #include <kephal/configurations.h>
 #include <kephal/screens.h>
 #include <plasma/widgets/iconwidget.h>
 
-class QGraphicsWidget;
 class QGraphicsLinearLayout;
 class OutputFrame;
 
@@ -36,7 +37,7 @@
 }
 
 
-class ScreenControl : public Plasma::Applet
+class ScreenControl : public QGraphicsWidget
 {
     Q_OBJECT
 public:
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic