Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h deleted file mode 100644 index f211d6e..0000000 --- a/noncore/settings/networksettings/mainwindowimp.h +++ b/dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | #ifndef MAINWINOWIMP_H | ||
2 | #define MAINWINOWIMP_H | ||
3 | |||
4 | #include "mainwindow.h" | ||
5 | #include <qmap.h> | ||
6 | #include <qstringlist.h> | ||
7 | |||
8 | class Module; | ||
9 | class Interface; | ||
10 | class QLibrary; | ||
11 | class KProcess; | ||
12 | class QCopChannel; | ||
13 | #ifdef QWS | ||
14 | class QLibrary; | ||
15 | #else | ||
16 | class KLibrary; | ||
17 | class KLibLoader; | ||
18 | #define QLibrary KLibrary | ||
19 | #endif | ||
20 | |||
21 | |||
22 | class MainWindowImp : public MainWindow { | ||
23 | Q_OBJECT | ||
24 | |||
25 | public: | ||
26 | static QString appName() { return QString::fromLatin1("networksettings"); } | ||
27 | MainWindowImp(QWidget *parent=0, const char *name=0, WFlags fl = 0); | ||
28 | ~MainWindowImp(); | ||
29 | |||
30 | QCopChannel *channel; | ||
31 | |||
32 | private slots: | ||
33 | void getAllInterfaces(); | ||
34 | |||
35 | void addClicked(); | ||
36 | void removeClicked(); | ||
37 | void configureClicked(); | ||
38 | void informationClicked(); | ||
39 | |||
40 | void addProfile(); | ||
41 | void removeProfile(); | ||
42 | void changeProfile(); | ||
43 | |||
44 | void updateInterface(Interface *i); | ||
45 | void newProfileChanged(const QString& newText); | ||
46 | |||
47 | void receive (const QCString &, const QByteArray &); | ||
48 | |||
49 | private: | ||
50 | void makeChannel(); | ||
51 | void loadModules(const QString &path); | ||
52 | |||
53 | Module* loadPlugin(const QString &pluginFileName, | ||
54 | const QString &resolveString = "create_plugin"); | ||
55 | |||
56 | // For our local list of names | ||
57 | QMap<QString, Interface*> interfaceNames; | ||
58 | |||
59 | QMap<Module*, QLibrary*> libraries; | ||
60 | QMap<Interface*, QListViewItem*> items; | ||
61 | QMap<QListViewItem*, Interface*> interfaceItems; | ||
62 | QStringList m_handledIfaces; | ||
63 | |||
64 | QMap<KProcess*, QString> threads; | ||
65 | QStringList profiles; | ||
66 | |||
67 | bool advancedUserMode; | ||
68 | QString scheme; | ||
69 | #ifndef QWS | ||
70 | KLibLoader *loader; | ||
71 | #endif | ||
72 | }; | ||
73 | |||
74 | #endif // MAINWINOWIMP_H | ||
75 | |||