summaryrefslogtreecommitdiff
path: root/noncore/settings/tabmanager/tablistview.h
Unidiff
Diffstat (limited to 'noncore/settings/tabmanager/tablistview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/tabmanager/tablistview.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/noncore/settings/tabmanager/tablistview.h b/noncore/settings/tabmanager/tablistview.h
index dfd88f7..54b87b6 100644
--- a/noncore/settings/tabmanager/tablistview.h
+++ b/noncore/settings/tabmanager/tablistview.h
@@ -3,2 +3,6 @@
3 3
4/* OPIE */
5#include <opie2/odebug.h>
6
7/* QT */
4#include <qlistview.h> 8#include <qlistview.h>
@@ -7,5 +11,5 @@
7 11
8class TabListView : public QListView { 12class TabListView : public QListView {
9 Q_OBJECT 13 Q_OBJECT
10 14
11signals: 15signals:
@@ -21,3 +25,3 @@ protected:
21 void contentsMouseReleaseEvent(QMouseEvent* ){ 25 void contentsMouseReleaseEvent(QMouseEvent* ){
22 QListViewItem *newGroup = this->currentItem(); 26 QListViewItem *newGroup = this->currentItem();
23 // Make sure they are both real. 27 // Make sure they are both real.
@@ -28,3 +32,3 @@ protected:
28 return; 32 return;
29 33
30 // Ok we have two valid items. 34 // Ok we have two valid items.
@@ -32,3 +36,3 @@ protected:
32 newGroup = newGroup->parent(); 36 newGroup = newGroup->parent();
33 37
34 // Just in case the parent was null 38 // Just in case the parent was null
@@ -36,4 +40,4 @@ protected:
36 return; 40 return;
37 41
38 // If the new folder and buddies current parent are the same don't do anything. 42 // If the new folder and buddies current parent are the same don't do anything.
39 if (newGroup != currentSelectedItem->parent()) 43 if (newGroup != currentSelectedItem->parent())
@@ -48,6 +52,6 @@ private slots:
48 if(item == NULL) 52 if(item == NULL)
49 qDebug("Item is NULL"); 53 odebug << "Item is NULL" << oendl;
50 return; 54 return;
51 } 55 }
52 56
53 currentSelectedItem = item; 57 currentSelectedItem = item;
@@ -64,2 +68,2 @@ private:
64#endif 68#endif
65 69