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

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasma/widgets
From:       Marco Martin <notmart () gmail ! com>
Date:       2008-08-20 18:14:20
Message-ID: 1219256060.844477.4595.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 850051 by mart:

whoops, PLASMA_EXPORT 
and remove some settings that belongs more to the applet that uses it


 M  +4 -2      treeview.cpp  
 M  +6 -1      treeview.h  


--- trunk/KDE/kdebase/workspace/libs/plasma/widgets/treeview.cpp #850050:850051
@@ -27,6 +27,8 @@
 
 #include "private/style.h"
 
+namespace Plasma
+{
 
 class TreeViewPrivate
 {
@@ -47,9 +49,7 @@
     QTreeView* native = new QTreeView;
     setWidget(native);
     native->setAttribute(Qt::WA_NoSystemBackground);
-    native->viewport()->setAutoFillBackground(false);
     native->setFrameStyle(QFrame::NoFrame);
-    native->setIconSize(QSize(KIconLoader::SizeSmallMedium, KIconLoader::SizeSmallMedium));
 
     Plasma::Style *style = new Plasma::Style();
     native->verticalScrollBar()->setStyle(style);
@@ -86,5 +86,7 @@
     return static_cast<QTreeView*>(widget());
 }
 
+};
+
 #include <treeview.moc>
 
--- trunk/KDE/kdebase/workspace/libs/plasma/widgets/treeview.h #850050:850051
@@ -23,13 +23,17 @@
 
 #include <QtGui/QGraphicsProxyWidget>
 
+#include <plasma/plasma_export.h>
+
 class QTreeView;
 class QAbstractItemModel;
 
+namespace Plasma
+{
 
 class TreeViewPrivate;
 
-class TreeView : public QGraphicsProxyWidget
+class PLASMA_EXPORT TreeView : public QGraphicsProxyWidget
 {
     Q_OBJECT
 
@@ -75,4 +79,5 @@
     TreeViewPrivate * const d;
 };
 
+};
 #endif // multiple inclusion guard
[prev in list] [next in list] [prev in thread] [next in thread] 

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