Diffstat (limited to 'noncore/settings/tabmanager/tabmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/tabmanager/tabmanager.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/noncore/settings/tabmanager/tabmanager.h b/noncore/settings/tabmanager/tabmanager.h index 2700fe7..39865b0 100644 --- a/noncore/settings/tabmanager/tabmanager.h +++ b/noncore/settings/tabmanager/tabmanager.h | |||
@@ -1,67 +1,39 @@ | |||
1 | /* | ||
2 | |||
3 | =. This file is part of the OPIE Project | ||
4 | .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This library is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This library is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | ||
18 | ..}^=.= = ; Library General Public License for more | ||
19 | ++= -. .` .: details. | ||
20 | : = ...= . :.=- | ||
21 | -. .:....=;==+<; You should have received a copy of the GNU | ||
22 | -_. . . )=. = Library General Public License along with | ||
23 | -- :-=` this library; see the file COPYING.LIB. | ||
24 | If not, write to the Free Software Foundation, | ||
25 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
27 | |||
28 | */ | ||
29 | #ifndef TABMANAGER_H | 1 | #ifndef TABMANAGER_H |
30 | #define TABMANAGER_H | 2 | #define TABMANAGER_H |
31 | 3 | ||
32 | #include "tabmanagerbase.h" | 4 | #include "tabmanagerbase.h" |
33 | #include <qmap.h> | 5 | #include <qmap.h> |
34 | #include <qevent.h> | 6 | #include <qevent.h> |
35 | 7 | ||
36 | class QListViewItem; | 8 | class QListViewItem; |
37 | 9 | ||
38 | class TabManager : public TabManagerBase { | 10 | class TabManager : public TabManagerBase { |
39 | Q_OBJECT | 11 | Q_OBJECT |
40 | 12 | ||
41 | public: | 13 | public: |
42 | TabManager( QWidget* parent = 0, const char* name = 0); | 14 | TabManager( QWidget* parent = 0, const char* name = 0); |
43 | ~TabManager(); | 15 | ~TabManager(); |
44 | bool changed; | 16 | bool changed; |
45 | 17 | ||
46 | public slots: | 18 | public slots: |
47 | void newFolder(); | 19 | void newFolder(); |
48 | void newApplication(); | 20 | void newApplication(); |
49 | void removeItem(); | 21 | void removeItem(); |
50 | void editCurrentItem(); | 22 | void editCurrentItem(); |
51 | 23 | ||
52 | private slots: | 24 | private slots: |
53 | void moveApplication(QListViewItem *, QListViewItem *); | 25 | void moveApplication(QListViewItem *, QListViewItem *); |
54 | void editItem(QListViewItem * item); | 26 | void editItem(QListViewItem * item); |
55 | 27 | ||
56 | protected: | 28 | protected: |
57 | void rescanFolder(QString directory, QListViewItem* parent=NULL); | 29 | void rescanFolder(QString directory, QListViewItem* parent=NULL); |
58 | QMap<QListViewItem *, QString> itemList; | 30 | QMap<QListViewItem *, QString> itemList; |
59 | bool findInstalledApplication(QString desktopFile, QString &installedAppFile); | 31 | bool findInstalledApplication(QString desktopFile, QString &installedAppFile); |
60 | void swapInstalledLocation( QString installedAppFile, QString desktopFile, QString newLocation ); | 32 | void swapInstalledLocation( QString installedAppFile, QString desktopFile, QString newLocation ); |
61 | 33 | ||
62 | }; | 34 | }; |
63 | 35 | ||
64 | #endif | 36 | #endif |
65 | 37 | ||
66 | // tabmanager.h | 38 | // tabmanager.h |
67 | 39 | ||