Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

nsdata.h

Go to the documentation of this file.
00001 #ifndef __NSDATA_H
00002 #define __NSDATA_H
00003 
00004 #include <netnode.h>
00005 
00006 class NetworkSettingsData {
00007 
00008 public :
00009 
00010       NetworkSettingsData( void );
00011       ~NetworkSettingsData( void );
00012 
00013       void loadSettings( void );
00014       QString saveSettings( void );
00015 
00016       QString generateSettings( void );
00017 
00018       bool isModified( void );
00019       inline void setModified( bool M ) 
00020         { ForceModified = M; }
00021 
00022       QList<NetworkSetup> collectPossible( const QString & Interface );
00023       // return TRUE if we need gui to decide
00024       bool canStart( const QString & Interface );
00025       // return TRUE if there are vpns that could be triggered
00026       // by this interface
00027       bool couldBeTriggered( const QString & Interface );
00028 
00029 private :
00030 
00031       QList<NetworkSetup> collectTriggered( const QString &Interface );
00032       bool createPath( const QStringList & SL );
00033       bool ForceModified;
00034 
00035       // collect strings in config file nobody wants
00036       QStringList LeftOvers;
00037 };
00038 
00039 #endif

Generated on Sat Nov 5 16:17:54 2005 for OPIE by  doxygen 1.4.2