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

networksettings.h

Go to the documentation of this file.
00001 #include "nsdata.h"
00002 #include "networksettingsGUI.h"
00003 #include "resources.h"
00004 
00005 class ANetNode;
00006 class ANetNodeInstance;
00007 class QTimer;
00008 class QListBoxItem;
00009 class QEvent;
00010 
00011 namespace Opie { 
00012 
00013   namespace Ui { 
00014 
00015     class OLedBox; 
00016 
00017   };
00018 
00019 };
00020 
00021 class NetworkSettings : public NetworkSettingsGUI {
00022 
00023       Q_OBJECT
00024 
00025 public :
00026 
00027       NetworkSettings( QWidget *parent=0, 
00028                        const char *name=0, 
00029                        WFlags fl = 0 );
00030       virtual ~NetworkSettings( void );
00031 
00032       static QString appName( void ) 
00033         { return QString::fromLatin1("networksettings"); }
00034 
00035 public slots :
00036 
00037       void SLOT_AddNode( void );
00038       void SLOT_DeleteNode( void );
00039       void SLOT_ShowNode( QListBoxItem * );
00040       void SLOT_EditNode( QListBoxItem * );
00041       void SLOT_CheckState( void );
00042 
00043       void SLOT_Up( void );
00044       void SLOT_Down( void );
00045       void SLOT_Disable( bool );
00046 
00047       void SLOT_GenerateConfig( void );
00048       void SLOT_RefreshStates( void );
00049       void SLOT_QCopMessage( const QCString&,const QByteArray& );
00050       void SLOT_ToProfile( void );
00051       void SLOT_ToMessages( void );
00052       void SLOT_CmdMessage( const QString & S );
00053 
00054 private :
00055 
00056       void updateProfileState( QListBoxItem * it );
00057       QTimer * UpdateTimer;
00058       NetworkSettingsData NSD;
00059       /*
00060 
00061           no leds : not present, unknown, unchecked or disabled
00062           (1) down : hardware present but inactive
00063           (2) available : hardware present and active
00064           (3) up : present active and connected
00065 
00066       */
00067       Opie::Ui::OLedBox * Leds[3];
00068 };

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