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