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

List:       kde-commits
Subject:    playground/base/attica/plasma/opendesktop
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2009-05-01 18:06:55
Message-ID: 1241201215.978987.25094.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 962199 by sebas:

Clean up headers a bit

 M  +3 -2      contactwidget.cpp  
 M  +2 -1      contactwidget.h  
 M  +3 -2      opendesktop.cpp  
 M  +5 -6      opendesktop.h  


--- trunk/playground/base/attica/plasma/opendesktop/contactwidget.cpp #962198:962199
@@ -39,6 +39,7 @@
 #include <Plasma/Theme>
 #include <Plasma/IconWidget>
 #include <Plasma/Label>
+#include <Plasma/Frame>
 
 // own
 #include "contactwidget.h"
@@ -114,7 +115,7 @@
     updateColors();
 
     int m = KIconLoader::SizeMedium;
-    
+
     m_layout = new QGraphicsGridLayout(this);
     m_layout->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
     m_layout->setColumnFixedWidth(0, int(m*1.2)); // This could probably be a bit more dynamic
@@ -135,7 +136,7 @@
     m_layout->addItem(m_nameLabel, 0, 1, 1, 1, Qt::AlignTop);
 
     int s = KIconLoader::SizeSmallMedium; // The size for the action icons
-    
+
     m_actions = new QGraphicsLinearLayout(m_layout);
     m_actions->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
 
--- trunk/playground/base/attica/plasma/opendesktop/contactwidget.h #962198:962199
@@ -25,8 +25,9 @@
 #include <QGraphicsLinearLayout>
 #include <QGraphicsWidget>
 
+#include <Plasma/PopupApplet>
 #include <Plasma/Frame>
-#include <Plasma/PopupApplet>
+#include <Plasma/DataEngine>
 
 namespace Plasma
 {
--- trunk/playground/base/attica/plasma/opendesktop/opendesktop.cpp #962198:962199
@@ -34,10 +34,11 @@
 #include <Plasma/Label>
 #include <Plasma/IconWidget>
 #include <Plasma/TabBar>
+#include <Plasma/PopupApplet>
+#include <Plasma/DataEngine>
+#include <Plasma/ScrollWidget>
 #include <Plasma/ToolTipManager>
 
-
-
 K_EXPORT_PLASMA_APPLET(opendesktop, OpenDesktop)
 
 using namespace Plasma;
--- trunk/playground/base/attica/plasma/opendesktop/opendesktop.h #962198:962199
@@ -24,10 +24,6 @@
 #include <QGraphicsLinearLayout>
 
 //Plasma
-#include <Plasma/PopupApplet>
-#include <Plasma/ToolTipManager>
-#include <Plasma/DataEngine>
-#include <Plasma/ScrollWidget>
 
 #include "contactwidget.h"
 #include "userwidget.h"
@@ -37,8 +33,11 @@
 //desktop view
 namespace Plasma
 {
+    class DataEngine;
     class IconWidget;
     class TabBar;
+    class PopupApplet;
+    class ScrollWidget;
 }
 class KConfigDialog;
 
@@ -88,11 +87,11 @@
         Plasma::TabBar* m_tabs;
 
         QGraphicsLinearLayout* m_layout;
-        
+
         // Personal tab
         UserWidget* m_userWidget;
         Plasma::DataEngine::Data m_ownData;
-        
+
         // Friends tab
         Plasma::ScrollWidget* m_friendsScroll;
         QGraphicsWidget* m_friendsWidget;
[prev in list] [next in list] [prev in thread] [next in thread] 

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