Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h index 2ebf304..49f3eea 100644 --- a/noncore/settings/networksettings/mainwindowimp.h +++ b/noncore/settings/networksettings/mainwindowimp.h | |||
@@ -1,69 +1,69 @@ | |||
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 | 12 | #ifdef QWS |
13 | class QLibrary; | 13 | class QLibrary; |
14 | #else | 14 | #else |
15 | class KLibrary; | 15 | class KLibrary; |
16 | class KLibLoader; | 16 | class KLibLoader; |
17 | #define QLibrary KLibrary | 17 | #define QLibrary KLibrary |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | 20 | ||
21 | class MainWindowImp : public MainWindow { | 21 | class MainWindowImp : public MainWindow { |
22 | Q_OBJECT | 22 | Q_OBJECT |
23 | 23 | ||
24 | public: | 24 | public: |
25 | MainWindowImp(QWidget *parent=0, const char *name=0); | 25 | MainWindowImp(QWidget *parent=0, const char *name=0); |
26 | ~MainWindowImp(); | 26 | ~MainWindowImp(); |
27 | 27 | ||
28 | private slots: | 28 | private slots: |
29 | void getAllInterfaces(); | 29 | void getAllInterfaces(); |
30 | 30 | ||
31 | void addClicked(); | 31 | void addClicked(); |
32 | void removeClicked(); | 32 | void removeClicked(); |
33 | void configureClicked(); | 33 | void configureClicked(); |
34 | void informationClicked(); | 34 | void informationClicked(); |
35 | 35 | ||
36 | void addProfile(); | 36 | void addProfile(); |
37 | void removeProfile(); | 37 | void removeProfile(); |
38 | void changeProfile(); | 38 | void changeProfile(); |
39 | 39 | ||
40 | void updateInterface(Interface *i); | 40 | void updateInterface(Interface *i); |
41 | void newProfileChanged(const QString& newText); | 41 | void newProfileChanged(const QString& newText); |
42 | 42 | ||
43 | private: | 43 | private: |
44 | void loadModules(const QString &path); | 44 | void loadModules(const QString &path); |
45 | 45 | ||
46 | Module* loadPlugin(const QString &pluginFileName, | 46 | Module* loadPlugin(const QString &pluginFileName, |
47 | const QString &resolveString = "create_plugin"); | 47 | const QString &resolveString = "create_plugin"); |
48 | 48 | ||
49 | // For our local list of names | 49 | // For our local list of names |
50 | QMap<QString, Interface*> interfaceNames; | 50 | QMap<QString, Interface*> interfaceNames; |
51 | 51 | ||
52 | QMap<Module*, QLibrary*> libraries; | 52 | QMap<Module*, QLibrary*> libraries; |
53 | QMap<Interface*, QListViewItem*> items; | 53 | QMap<Interface*, QListViewItem*> items; |
54 | QMap<QListViewItem*, Interface*> interfaceItems; | 54 | QMap<QListViewItem*, Interface*> interfaceItems; |
55 | 55 | ||
56 | QMap<KProcess*, QString> threads; | 56 | QMap<KProcess*, QString> threads; |
57 | QStringList profiles; | 57 | QStringList profiles; |
58 | 58 | ||
59 | bool advancedUserMode; | 59 | bool advancedUserMode; |
60 | QString scheme; | 60 | QString scheme; |
61 | #ifndef QTE_VERSION | 61 | #ifndef QWS |
62 | KLibLoader *loader; | 62 | KLibLoader *loader; |
63 | #endif | 63 | #endif |
64 | }; | 64 | }; |
65 | 65 | ||
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | // mainwindowimp.h | 68 | // mainwindowimp.h |
69 | 69 | ||