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