Diffstat (limited to 'noncore/settings/networksettings/mainwindow/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindow/mainwindowimp.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/mainwindow/mainwindowimp.h b/noncore/settings/networksettings/mainwindow/mainwindowimp.h index f211d6e..da1bb8f 100644 --- a/noncore/settings/networksettings/mainwindow/mainwindowimp.h +++ b/noncore/settings/networksettings/mainwindow/mainwindowimp.h | |||
@@ -17,8 +17,13 @@ class KLibrary; | |||
17 | class KLibLoader; | 17 | class KLibLoader; |
18 | #define QLibrary KLibrary | 18 | #define QLibrary KLibrary |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | namespace Opie { | ||
22 | namespace Core { | ||
23 | class OProcess; | ||
24 | } | ||
25 | } | ||
21 | 26 | ||
22 | class MainWindowImp : public MainWindow { | 27 | class MainWindowImp : public MainWindow { |
23 | Q_OBJECT | 28 | Q_OBJECT |
24 | 29 | ||
@@ -45,14 +50,19 @@ private slots: | |||
45 | void newProfileChanged(const QString& newText); | 50 | void newProfileChanged(const QString& newText); |
46 | 51 | ||
47 | void receive (const QCString &, const QByteArray &); | 52 | void receive (const QCString &, const QByteArray &); |
48 | 53 | ||
54 | protected slots: | ||
55 | virtual void setHostname(); | ||
56 | virtual void slotHostname(Opie::Core::OProcess *proc, char *buffer, int buflen); | ||
57 | |||
49 | private: | 58 | private: |
50 | void makeChannel(); | 59 | void makeChannel(); |
51 | void loadModules(const QString &path); | 60 | void loadModules(const QString &path); |
61 | void initHostname(); | ||
52 | 62 | ||
53 | Module* loadPlugin(const QString &pluginFileName, | 63 | Module* loadPlugin(const QString &pluginFileName, |
54 | const QString &resolveString = "create_plugin"); | 64 | const QString &resolveString = "create_plugin"); |
55 | 65 | ||
56 | // For our local list of names | 66 | // For our local list of names |
57 | QMap<QString, Interface*> interfaceNames; | 67 | QMap<QString, Interface*> interfaceNames; |
58 | 68 | ||
@@ -65,8 +75,9 @@ private: | |||
65 | QStringList profiles; | 75 | QStringList profiles; |
66 | 76 | ||
67 | bool advancedUserMode; | 77 | bool advancedUserMode; |
68 | QString scheme; | 78 | QString scheme; |
79 | QString _procTemp; | ||
69 | #ifndef QWS | 80 | #ifndef QWS |
70 | KLibLoader *loader; | 81 | KLibLoader *loader; |
71 | #endif | 82 | #endif |
72 | }; | 83 | }; |