summaryrefslogtreecommitdiff
path: root/library/network.h
authorzecke <zecke>2002-09-10 12:09:49 (UTC)
committer zecke <zecke>2002-09-10 12:09:49 (UTC)
commit6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4 (patch) (unidiff)
tree6ebc93c6432f4ed9d00ef1448b6a047ef522a79a /library/network.h
parentd10cddb3c9ce75bc90b14add14bc133737fe35aa (diff)
downloadopie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.zip
opie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.tar.gz
opie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.tar.bz2
Qtopia1-6 merge
still to test bic changes to be resolved more changes to be made?
Diffstat (limited to 'library/network.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/network.h b/library/network.h
index cee67af..33699a2 100644
--- a/library/network.h
+++ b/library/network.h
@@ -1,52 +1,52 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef NETWORK_H 20#ifndef NETWORK_H
21#define NETWORK_H 21#define NETWORK_H
22 22
23#include <qstringlist.h> 23#include <qstringlist.h>
24class QListBox; 24class QListBox;
25class QObject; 25class QObject;
26class QWidget; 26class QWidget;
27struct NetworkInterface; 27struct NetworkInterface;
28class Config; 28class Config;
29 29
30class Network { 30class Network {
31public: 31public:
32 static void start(const QString& service=QString::null, const QString& password=QString::null); 32 static void start(const QString& service=QString::null, const QString& password=QString::null);
33 static void stop(); 33 static void stop();
34 34
35 static QString settingsDir(); 35 static QString settingsDir();
36 static QString serviceName(const QString& service); 36 static QString serviceName(const QString& service);
37 static QString serviceType(const QString& service); 37 static QString serviceType(const QString& service);
38 static bool serviceNeedsPassword(const QString& service); 38 static bool serviceNeedsPassword(const QString& service);
39 static void connectChoiceChange(QObject* receiver, const char* slot); 39 static void connectChoiceChange(QObject* receiver, const char* slot);
40 static QStringList choices(QListBox* = 0, const QString& dir=QString::null); 40 static QStringList choices(QListBox* = 0, const QString& dir=QString::null);
41 static void writeProxySettings( Config &cfg ); 41 static void writeProxySettings( Config &cfg );
42 42
43 static NetworkInterface* loadPlugin(const QString& type); 43 static NetworkInterface* loadPlugin(const QString& type);
44 44
45 static int addStateWidgets(QWidget* parent); 45 static int addStateWidgets(QWidget* parent);
46 46
47 // Server only 47 // Server only
48 static void createServer(QObject* parent); 48 static void createServer(QObject* parent);
49 static bool networkOnline(); 49 static bool networkOnline();
50}; 50};
51 51
52#endif 52#endif