Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h index 451835b..f211d6e 100644 --- a/noncore/settings/networksettings/mainwindowimp.h +++ b/noncore/settings/networksettings/mainwindowimp.h | |||
@@ -2,49 +2,50 @@ | |||
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 | class QCopChannel; | 12 | class QCopChannel; |
13 | #ifdef QWS | 13 | #ifdef QWS |
14 | class QLibrary; | 14 | class QLibrary; |
15 | #else | 15 | #else |
16 | class KLibrary; | 16 | class KLibrary; |
17 | class KLibLoader; | 17 | class KLibLoader; |
18 | #define QLibrary KLibrary | 18 | #define QLibrary KLibrary |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | 21 | ||
22 | class MainWindowImp : public MainWindow { | 22 | class MainWindowImp : public MainWindow { |
23 | Q_OBJECT | 23 | Q_OBJECT |
24 | 24 | ||
25 | public: | 25 | public: |
26 | MainWindowImp(QWidget *parent=0, const char *name=0); | 26 | static QString appName() { return QString::fromLatin1("networksettings"); } |
27 | MainWindowImp(QWidget *parent=0, const char *name=0, WFlags fl = 0); | ||
27 | ~MainWindowImp(); | 28 | ~MainWindowImp(); |
28 | 29 | ||
29 | QCopChannel *channel; | 30 | QCopChannel *channel; |
30 | 31 | ||
31 | private slots: | 32 | private slots: |
32 | void getAllInterfaces(); | 33 | void getAllInterfaces(); |
33 | 34 | ||
34 | void addClicked(); | 35 | void addClicked(); |
35 | void removeClicked(); | 36 | void removeClicked(); |
36 | void configureClicked(); | 37 | void configureClicked(); |
37 | void informationClicked(); | 38 | void informationClicked(); |
38 | 39 | ||
39 | void addProfile(); | 40 | void addProfile(); |
40 | void removeProfile(); | 41 | void removeProfile(); |
41 | void changeProfile(); | 42 | void changeProfile(); |
42 | 43 | ||
43 | void updateInterface(Interface *i); | 44 | void updateInterface(Interface *i); |
44 | void newProfileChanged(const QString& newText); | 45 | void newProfileChanged(const QString& newText); |
45 | 46 | ||
46 | void receive (const QCString &, const QByteArray &); | 47 | void receive (const QCString &, const QByteArray &); |
47 | 48 | ||
48 | private: | 49 | private: |
49 | void makeChannel(); | 50 | void makeChannel(); |
50 | void loadModules(const QString &path); | 51 | void loadModules(const QString &path); |