Diffstat (limited to 'noncore/settings/tabmanager/tabmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/tabmanager/tabmanager.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/settings/tabmanager/tabmanager.h b/noncore/settings/tabmanager/tabmanager.h index 39865b0..7f8a65e 100644 --- a/noncore/settings/tabmanager/tabmanager.h +++ b/noncore/settings/tabmanager/tabmanager.h | |||
@@ -1,23 +1,24 @@ | |||
1 | #ifndef TABMANAGER_H | 1 | #ifndef TABMANAGER_H |
2 | #define TABMANAGER_H | 2 | #define TABMANAGER_H |
3 | 3 | ||
4 | #include "tabmanagerbase.h" | 4 | #include "tabmanagerbase.h" |
5 | #include <qmap.h> | 5 | #include <qmap.h> |
6 | #include <qevent.h> | 6 | #include <qevent.h> |
7 | 7 | ||
8 | class QListViewItem; | 8 | class QListViewItem; |
9 | class AppEdit; | ||
9 | 10 | ||
10 | class TabManager : public TabManagerBase { | 11 | class TabManager : public TabManagerBase { |
11 | Q_OBJECT | 12 | Q_OBJECT |
12 | 13 | ||
13 | public: | 14 | public: |
14 | TabManager( QWidget* parent = 0, const char* name = 0); | 15 | TabManager( QWidget* parent = 0, const char* name = 0); |
15 | ~TabManager(); | 16 | ~TabManager(); |
16 | bool changed; | 17 | bool changed; |
17 | 18 | ||
18 | public slots: | 19 | public slots: |
19 | void newFolder(); | 20 | void newFolder(); |
20 | void newApplication(); | 21 | void newApplication(); |
21 | void removeItem(); | 22 | void removeItem(); |
22 | void editCurrentItem(); | 23 | void editCurrentItem(); |
23 | 24 | ||
@@ -25,15 +26,18 @@ private slots: | |||
25 | void moveApplication(QListViewItem *, QListViewItem *); | 26 | void moveApplication(QListViewItem *, QListViewItem *); |
26 | void editItem(QListViewItem * item); | 27 | void editItem(QListViewItem * item); |
27 | 28 | ||
28 | protected: | 29 | protected: |
29 | void rescanFolder(QString directory, QListViewItem* parent=NULL); | 30 | void rescanFolder(QString directory, QListViewItem* parent=NULL); |
30 | QMap<QListViewItem *, QString> itemList; | 31 | QMap<QListViewItem *, QString> itemList; |
31 | bool findInstalledApplication(QString desktopFile, QString &installedAppFile); | 32 | bool findInstalledApplication(QString desktopFile, QString &installedAppFile); |
32 | void swapInstalledLocation( QString installedAppFile, QString desktopFile, QString newLocation ); | 33 | void swapInstalledLocation( QString installedAppFile, QString desktopFile, QString newLocation ); |
33 | 34 | ||
35 | private: | ||
36 | AppEdit *application; | ||
37 | |||
34 | }; | 38 | }; |
35 | 39 | ||
36 | #endif | 40 | #endif |
37 | 41 | ||
38 | // tabmanager.h | 42 | // tabmanager.h |
39 | 43 | ||