summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/ppp/ppp_NN.cpp
authorwimpie <wimpie>2005-01-11 22:10:59 (UTC)
committer wimpie <wimpie>2005-01-11 22:10:59 (UTC)
commitb0afa096730ac7893fcd25873f6fd09fcef32a95 (patch) (unidiff)
treefc462fb9413e104b777f9f6d1439f4147e6c1350 /noncore/settings/networksettings2/ppp/ppp_NN.cpp
parent96678694f8952f60d0a895cede2b621404b4bfb8 (diff)
downloadopie-b0afa096730ac7893fcd25873f6fd09fcef32a95.zip
opie-b0afa096730ac7893fcd25873f6fd09fcef32a95.tar.gz
opie-b0afa096730ac7893fcd25873f6fd09fcef32a95.tar.bz2
Changes now ok
this works again
Diffstat (limited to 'noncore/settings/networksettings2/ppp/ppp_NN.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/ppp/ppp_NN.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/ppp/ppp_NN.cpp b/noncore/settings/networksettings2/ppp/ppp_NN.cpp
index 884168c..6c1387d 100644
--- a/noncore/settings/networksettings2/ppp/ppp_NN.cpp
+++ b/noncore/settings/networksettings2/ppp/ppp_NN.cpp
@@ -1,48 +1,48 @@
1#include <qfile.h> 1#include <qfile.h>
2#include <resources.h> 2#include <resources.h>
3#include <qtextstream.h> 3#include <qtextstream.h>
4#include "ppp_NN.h" 4#include "ppp_NN.h"
5#include "ppp_NNI.h" 5#include "ppp_NNI.h"
6 6
7#include "netnodeinterface.h" 7#include "netnodeinterface.h"
8 8
9QStringList * PPPNetNode::ProperFiles = 0; 9QStringList * PPPNetNode::ProperFiles = 0;
10 10
11static const char * PPPNeeds[] = 11static const char * PPPNeeds[] =
12 { "modem", 12 { "modem",
13 0 13 0
14 }; 14 };
15 15
16static const char * PPPProvides[] = 16static const char * PPPProvides[] =
17 { "NetworkSetup", 17 { "connection",
18 0 18 0
19 }; 19 };
20 20
21/** 21/**
22 * Constructor, find all of the possible interfaces 22 * Constructor, find all of the possible interfaces
23 */ 23 */
24PPPNetNode::PPPNetNode() : ANetNode(tr("PPP NetworkSetup")) { 24PPPNetNode::PPPNetNode() : ANetNode(tr("PPP connection")) {
25 25
26 NSResources->addSystemFile( 26 NSResources->addSystemFile(
27 "pap-secrets", "/etc/ppp/pap-secrets", 0 ); 27 "pap-secrets", "/etc/ppp/pap-secrets", 0 );
28 NSResources->addSystemFile( 28 NSResources->addSystemFile(
29 "chap-secrets", "/etc/ppp/chap-secrets", 0 ); 29 "chap-secrets", "/etc/ppp/chap-secrets", 0 );
30} 30}
31 31
32/** 32/**
33 * Delete any interfaces that we own. 33 * Delete any interfaces that we own.
34 */ 34 */
35PPPNetNode::~PPPNetNode(){ 35PPPNetNode::~PPPNetNode(){
36} 36}
37 37
38const QString PPPNetNode::nodeDescription(){ 38const QString PPPNetNode::nodeDescription(){
39 return tr("\ 39 return tr("\
40<p>Sets up IP using PPP.</p>\ 40<p>Sets up IP using PPP.</p>\
41<p>Use this for dialup devices or serial setups</p>\ 41<p>Use this for dialup devices or serial setups</p>\
42" 42"
43); 43);
44} 44}
45 45
46ANetNodeInstance * PPPNetNode::createInstance( void ) { 46ANetNodeInstance * PPPNetNode::createInstance( void ) {
47 return new APPP( this ); 47 return new APPP( this );
48} 48}