summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/mainwindowimp.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.h3
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
8class Module; 8class Module;
9class Interface; 9class Interface;
10class QLibrary; 10class QLibrary;
11class KProcess; 11class KProcess;
12class QCopChannel; 12class QCopChannel;
13#ifdef QWS 13#ifdef QWS
14class QLibrary; 14class QLibrary;
15#else 15#else
16class KLibrary; 16class KLibrary;
17class KLibLoader; 17class KLibLoader;
18#define QLibrary KLibrary 18#define QLibrary KLibrary
19#endif 19#endif
20 20
21 21
22class MainWindowImp : public MainWindow { 22class MainWindowImp : public MainWindow {
23 Q_OBJECT 23 Q_OBJECT
24 24
25public: 25public:
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
31private slots: 32private 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
48private: 49private:
49 void makeChannel(); 50 void makeChannel();
50 void loadModules(const QString &path); 51 void loadModules(const QString &path);