author | benmeyer <benmeyer> | 2003-04-09 00:18:15 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2003-04-09 00:18:15 (UTC) |
commit | cd2822e137e9a73aa2bf13f7f0dc67fda50a1879 (patch) (unidiff) | |
tree | 97febc8658a7212a01025b9e98904c9770aecf96 /noncore/settings/networksettings/mainwindowimp.h | |
parent | bbefacdb0099ebb8c80f40c56237c6adc18c9328 (diff) | |
download | opie-cd2822e137e9a73aa2bf13f7f0dc67fda50a1879.zip opie-cd2822e137e9a73aa2bf13f7f0dc67fda50a1879.tar.gz opie-cd2822e137e9a73aa2bf13f7f0dc67fda50a1879.tar.bz2 |
KDEafied and bugs fixes
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h index 4f09d6c..2ebf304 100644 --- a/noncore/settings/networksettings/mainwindowimp.h +++ b/noncore/settings/networksettings/mainwindowimp.h | |||
@@ -1,23 +1,31 @@ | |||
1 | #ifndef MAINWINOWIMP_H | 1 | #ifndef MAINWINOWIMP_H |
2 | #define MAINWINOWIMP_H | 2 | #define MAINWINOWIMP_H |
3 | 3 | ||
4 | #include "mainwindow.h" | 4 | #include "mainwindow.h" |
5 | #include <qmap.h> | 5 | #include <qmap.h> |
6 | #include <qstringlist.h> | 6 | #include <qstringlist.h> |
7 | 7 | ||
8 | class Module; | 8 | class Module; |
9 | class Interface; | 9 | class Interface; |
10 | class QLibrary; | 10 | class QLibrary; |
11 | class KProcess; | 11 | class KProcess; |
12 | #ifdef QTE_VERSION | ||
13 | class QLibrary; | ||
14 | #else | ||
15 | class KLibrary; | ||
16 | class KLibLoader; | ||
17 | #define QLibrary KLibrary | ||
18 | #endif | ||
19 | |||
12 | 20 | ||
13 | class MainWindowImp : public MainWindow { | 21 | class MainWindowImp : public MainWindow { |
14 | Q_OBJECT | 22 | Q_OBJECT |
15 | 23 | ||
16 | public: | 24 | public: |
17 | MainWindowImp(QWidget *parent=0, const char *name=0); | 25 | MainWindowImp(QWidget *parent=0, const char *name=0); |
18 | ~MainWindowImp(); | 26 | ~MainWindowImp(); |
19 | 27 | ||
20 | private slots: | 28 | private slots: |
21 | void getAllInterfaces(); | 29 | void getAllInterfaces(); |
22 | 30 | ||
23 | void addClicked(); | 31 | void addClicked(); |
@@ -41,18 +49,21 @@ private: | |||
41 | // For our local list of names | 49 | // For our local list of names |
42 | QMap<QString, Interface*> interfaceNames; | 50 | QMap<QString, Interface*> interfaceNames; |
43 | 51 | ||
44 | QMap<Module*, QLibrary*> libraries; | 52 | QMap<Module*, QLibrary*> libraries; |
45 | QMap<Interface*, QListViewItem*> items; | 53 | QMap<Interface*, QListViewItem*> items; |
46 | QMap<QListViewItem*, Interface*> interfaceItems; | 54 | QMap<QListViewItem*, Interface*> interfaceItems; |
47 | 55 | ||
48 | QMap<KProcess*, QString> threads; | 56 | QMap<KProcess*, QString> threads; |
49 | QStringList profiles; | 57 | QStringList profiles; |
50 | 58 | ||
51 | bool advancedUserMode; | 59 | bool advancedUserMode; |
52 | QString scheme; | 60 | QString scheme; |
61 | #ifndef QTE_VERSION | ||
62 | KLibLoader *loader; | ||
63 | #endif | ||
53 | }; | 64 | }; |
54 | 65 | ||
55 | #endif | 66 | #endif |
56 | 67 | ||
57 | // mainwindowimp.h | 68 | // mainwindowimp.h |
58 | 69 | ||