author | benmeyer <benmeyer> | 2002-11-04 19:51:00 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-11-04 19:51:00 (UTC) |
commit | 3c2605811571b5c8ccfbe2bdb1a03ec7a9c9f1c1 (patch) (unidiff) | |
tree | a68d9539674c062eebb41bc041c4fd837ccee1ce /noncore/net/networksetup/mainwindowimp.h | |
parent | 8cc19ef032e1974adf6c7cd9aa899a83fa03cbb5 (diff) | |
download | opie-3c2605811571b5c8ccfbe2bdb1a03ec7a9c9f1c1.zip opie-3c2605811571b5c8ccfbe2bdb1a03ec7a9c9f1c1.tar.gz opie-3c2605811571b5c8ccfbe2bdb1a03ec7a9c9f1c1.tar.bz2 |
Now using kernel calls for interface information
Diffstat (limited to 'noncore/net/networksetup/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/mainwindowimp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/net/networksetup/mainwindowimp.h b/noncore/net/networksetup/mainwindowimp.h index e5284b4..382428c 100644 --- a/noncore/net/networksetup/mainwindowimp.h +++ b/noncore/net/networksetup/mainwindowimp.h | |||
@@ -1,52 +1,51 @@ | |||
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; |