author | benmeyer <benmeyer> | 2002-09-30 14:26:33 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-09-30 14:26:33 (UTC) |
commit | 9965bd5c49ff2f22d640d132ac343fdec97b3fb4 (patch) (unidiff) | |
tree | 45e8f1d1bf414530b637692ba43b730110611856 /noncore/settings/networksettings/mainwindowimp.h | |
parent | 5db3af80f392f8f063f53cbbad67bbe7c5c6eb6d (diff) | |
download | opie-9965bd5c49ff2f22d640d132ac343fdec97b3fb4.zip opie-9965bd5c49ff2f22d640d132ac343fdec97b3fb4.tar.gz opie-9965bd5c49ff2f22d640d132ac343fdec97b3fb4.tar.bz2 |
Initial commit
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h new file mode 100644 index 0000000..95ec2a1 --- a/dev/null +++ b/noncore/settings/networksettings/mainwindowimp.h | |||
@@ -0,0 +1,53 @@ | |||
1 | #ifndef MAINWINOWIMP_H | ||
2 | #define MAINWINOWIMP_H | ||
3 | |||
4 | #include "mainwindow.h" | ||
5 | #include "module.h" | ||
6 | #include "interface.h" | ||
7 | #include "kprocess.h" | ||
8 | #include <qmap.h> | ||
9 | |||
10 | class QLibrary; | ||
11 | |||
12 | class MainWindowImp : public MainWindow { | ||
13 | Q_OBJECT | ||
14 | |||
15 | public: | ||
16 | MainWindowImp(QWidget *parent=0, const char *name=0); | ||
17 | ~MainWindowImp(); | ||
18 | |||
19 | private slots: | ||
20 | void addClicked(); | ||
21 | void removeClicked(); | ||
22 | void configureClicked(); | ||
23 | void informationClicked(); | ||
24 | |||
25 | void jobDone(KProcess *process); | ||
26 | void getInterfaceList(); | ||
27 | |||
28 | void addProfile(); | ||
29 | void removeProfile(); | ||
30 | |||
31 | void updateInterface(Interface *i); | ||
32 | |||
33 | private: | ||
34 | void loadModules(QString path); | ||
35 | |||
36 | Module* loadPlugin(QString pluginFileName, | ||
37 | QString resolveString = "create_plugin"); | ||
38 | |||
39 | // For our local list of names | ||
40 | QMap<QString, Interface*> interfaceNames; | ||
41 | |||
42 | QMap<Module*, QLibrary*> libraries; | ||
43 | QMap<Interface*, Module*> modules; | ||
44 | QMap<Interface*, QListViewItem*> items; | ||
45 | QMap<QListViewItem*, Interface*> interfaceItems; | ||
46 | |||
47 | QMap<KProcess*, QString> threads; | ||
48 | }; | ||
49 | |||
50 | #endif | ||
51 | |||
52 | // mainwindowimp.h | ||
53 | |||