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

ANetNodeInstance Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/networksettings2/netnode.h>

Inheritance diagram for ANetNodeInstance:

Inheritance graph
[legend]
Collaboration diagram for ANetNodeInstance:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ANetNodeInstance (ANetNode *NN)
virtual ~ANetNodeInstance (void)
int done (void)
void setDone (int D)
void setModified (bool M)
bool isModified (void)
ANetNodeInstancenextNode ()
ANetNodenodeClass (void)
void initialize (void)
void setAttribute (QString &Attr, QString &Value)
void saveAttributes (QTextStream &TS)
void setNew (bool IsN)
bool isNew (void)
QStringdescription (void)
void setDescription (const QString &S)
const QString pixmapName (void)
const char ** provides (void)
const char ** needs (void)
void setNetworkSetup (NetworkSetup *NC)
NetworkSetupnetworkSetup (void)
virtual bool openFile (SystemFile &, QStringList &)
virtual bool hasDataForFile (SystemFile &S)
virtual short generateFileEmbedded (SystemFile &SF, long DevNr)
virtual short generateFile (SystemFile &SF, long DevNr)
virtual bool triggeredBy (const QString &)
virtual RuntimeInforuntime (void)=0
virtual QWidget * edit (QWidget *parent)=0
virtual QString acceptable (void)=0
virtual void commit (void)=0
virtual void * data (void)=0

Protected Member Functions

virtual void setSpecificAttribute (QString &, QString &)=0
virtual void saveSpecificAttribute (QTextStream &)=0

Protected Attributes

ANetNodeNodeType
NetworkSetupTheNetworkSetup
QString Description
bool IsModified
bool IsNew
int Done

Static Protected Attributes

static long InstanceCounter = -1

Constructor & Destructor Documentation

ANetNodeInstance::ANetNodeInstance ANetNode NN  )  [inline]
 

Definition at line 203 of file netnode.h.

References IsModified, IsNew, NodeType, and TRUE.

virtual ANetNodeInstance::~ANetNodeInstance void   )  [inline, virtual]
 

Definition at line 205 of file netnode.h.


Member Function Documentation

virtual QString ANetNodeInstance::acceptable void   )  [pure virtual]
 

Implemented in ABluetoothBNEP, ABluetoothRFCOMM, ACable, AGPRSDevice, AIRDA, ALanCard, AModem, ANetwork, ErrorNNI, APPP, AProfile, AUSB, AVPN, and AWLan.

Referenced by EditNetworkSetup::accept().

virtual void ANetNodeInstance::commit void   )  [pure virtual]
 

Implemented in ABluetoothBNEP, ABluetoothRFCOMM, ACable, AGPRSDevice, AIRDA, ALanCard, AModem, ANetwork, ErrorNNI, APPP, AProfile, AUSB, AVPN, and AWLan.

Referenced by EditNetworkSetup::accept().

virtual void* ANetNodeInstance::data void   )  [pure virtual]
 

Implemented in ABluetoothBNEP, ABluetoothRFCOMM, ACable, AGPRSDevice, AIRDA, ALanCard, AModem, ANetwork, ErrorNNI, APPP, AProfile, AUSB, AVPN, and AWLan.

QString& ANetNodeInstance::description void   )  [inline]
 

Reimplemented in AProfile.

Definition at line 238 of file netnode.h.

References Description.

int ANetNodeInstance::done void   )  [inline]
 

Definition at line 207 of file netnode.h.

References Done.

virtual QWidget* ANetNodeInstance::edit QWidget *  parent  )  [pure virtual]
 

Implemented in ABluetoothBNEP, ABluetoothRFCOMM, ACable, AGPRSDevice, AIRDA, ALanCard, AModem, ANetwork, ErrorNNI, APPP, AProfile, AUSB, AVPN, and AWLan.

Referenced by EditNetworkSetup::SLOT_AlterTab().

virtual short ANetNodeInstance::generateFile SystemFile SF,
long  DevNr
[inline, virtual]
 

Reimplemented in AGPRSDevice, ANetwork, and APPP.

Definition at line 286 of file netnode.h.

References generateFile(), and nextNode().

Referenced by generateFile().

virtual short ANetNodeInstance::generateFileEmbedded SystemFile SF,
long  DevNr
[inline, virtual]
 

Reimplemented in ACable, AProfile, AUSB, and AWLan.

Definition at line 278 of file netnode.h.

References generateFileEmbedded(), and nextNode().

Referenced by AWLan::generateFileEmbedded(), AUSB::generateFileEmbedded(), AProfile::generateFileEmbedded(), generateFileEmbedded(), and ACable::generateFileEmbedded().

virtual bool ANetNodeInstance::hasDataForFile SystemFile S  )  [inline, virtual]
 

Reimplemented in AGPRSDevice, and ANetwork.

Definition at line 272 of file netnode.h.

References nodeClass().

void ANetNodeInstance::initialize void   ) 
 

Definition at line 105 of file netnode.cpp.

References InstanceCounter, QString::latin1(), N, NodeType, QString::prepend(), and QString::sprintf().

Referenced by TheNSResources::createNodeInstance(), and EditNetworkSetup::getTmpCollection().

bool ANetNodeInstance::isModified void   )  [inline]
 

Definition at line 215 of file netnode.h.

References IsModified.

Referenced by EditNetworkSetup::accept().

bool ANetNodeInstance::isNew void   )  [inline]
 

Definition at line 234 of file netnode.h.

References IsNew.

const char** ANetNodeInstance::needs void   )  [inline]
 

Definition at line 250 of file netnode.h.

References ANetNode::needs(), and NodeType.

NetworkSetup* ANetNodeInstance::networkSetup void   )  [inline]
 

Definition at line 255 of file netnode.h.

References TheNetworkSetup.

Referenced by APPP::generateFile(), ANetwork::generateFile(), AGPRSDevice::generateFile(), RuntimeInfo::networkSetup(), nextNode(), APPP::openFile(), AGPRSDevice::openFile(), ProfileEdit::ProfileEdit(), ProfileEdit::SLOT_Refresh(), ProfileEdit::SLOT_ResetODO(), and WLanEdit::WLanEdit().

ANetNodeInstance * ANetNodeInstance::nextNode  ) 
 

Definition at line 128 of file netnode.cpp.

References networkSetup().

Referenced by generateFile(), and generateFileEmbedded().

ANetNode* ANetNodeInstance::nodeClass void   )  [inline]
 

Definition at line 221 of file netnode.h.

References NodeType.

Referenced by NetworkSettingsData::generateSettings(), EditNetworkSetup::getTmpCollection(), NetworkSetup::getToplevel(), hasDataForFile(), LanCardEdit::populateList(), NetworkSettingsData::saveSettings(), EditNetworkSetup::setNetworkSetup(), EditNetworkSetup::SLOT_AlterTab(), LanCardEdit::SLOT_RemoveUnknown(), and LanCardEdit::SLOT_ScanCards().

virtual bool ANetNodeInstance::openFile SystemFile ,
QStringList
[inline, virtual]
 

Reimplemented in AGPRSDevice, and APPP.

Definition at line 267 of file netnode.h.

Referenced by ANetNode::openFile().

const QString ANetNodeInstance::pixmapName void   )  [inline]
 

Definition at line 244 of file netnode.h.

References NodeType, and ANetNode::pixmapName().

const char** ANetNodeInstance::provides void   )  [inline]
 

Definition at line 247 of file netnode.h.

References NodeType, and ANetNode::provides().

virtual RuntimeInfo* ANetNodeInstance::runtime void   )  [pure virtual]
 

Implemented in ABluetoothBNEP, ABluetoothRFCOMM, ACable, AGPRSDevice, AIRDA, ALanCard, AModem, ANetwork, ErrorNNI, APPP, AProfile, AUSB, AVPN, and AWLan.

Referenced by NetworkSetup::description(), NetworkNetNode::generateFile(), RuntimeInfo::nextNode(), ProfileEdit::ProfileEdit(), and WLanEdit::WLanEdit().

void ANetNodeInstance::saveAttributes QTextStream TS  ) 
 

Definition at line 123 of file netnode.cpp.

References Opie::Core::endl(), name, and saveSpecificAttribute().

Referenced by NetworkSettingsData::saveSettings().

virtual void ANetNodeInstance::saveSpecificAttribute QTextStream  )  [protected, pure virtual]
 

Implemented in ABluetoothBNEP, ABluetoothRFCOMM, ACable, AGPRSDevice, AIRDA, ALanCard, AModem, ANetwork, ErrorNNI, APPP, AProfile, AUSB, AVPN, and AWLan.

Referenced by saveAttributes().

void ANetNodeInstance::setAttribute QString Attr,
QString Value
 

Definition at line 115 of file netnode.cpp.

References QString::latin1(), and setSpecificAttribute().

Referenced by NetworkSettingsData::loadSettings().

void ANetNodeInstance::setDescription const QString S  )  [inline]
 

Definition at line 240 of file netnode.h.

References Description.

void ANetNodeInstance::setDone int  D  )  [inline]
 

Definition at line 209 of file netnode.h.

References Done.

void ANetNodeInstance::setModified bool  M  )  [inline]
 

Definition at line 213 of file netnode.h.

References IsModified.

Referenced by AWLan::commit(), AVPN::commit(), AUSB::commit(), AProfile::commit(), APPP::commit(), ANetwork::commit(), AModem::commit(), ALanCard::commit(), AIRDA::commit(), AGPRSDevice::commit(), ACable::commit(), ABluetoothRFCOMM::commit(), and ABluetoothBNEP::commit().

void ANetNodeInstance::setNetworkSetup NetworkSetup NC  )  [inline]
 

Definition at line 253 of file netnode.h.

References TheNetworkSetup.

void ANetNodeInstance::setNew bool  IsN  )  [inline]
 

Definition at line 232 of file netnode.h.

References IsNew.

Referenced by NetworkSettingsData::loadSettings().

virtual void ANetNodeInstance::setSpecificAttribute QString ,
QString
[protected, pure virtual]
 

Implemented in ABluetoothBNEP, ABluetoothRFCOMM, ACable, AGPRSDevice, AIRDA, ALanCard, AModem, ANetwork, ErrorNNI, APPP, AProfile, AUSB, AVPN, and AWLan.

Referenced by setAttribute().

virtual bool ANetNodeInstance::triggeredBy const QString  )  [inline, virtual]
 

Definition at line 294 of file netnode.h.


Member Data Documentation

QString ANetNodeInstance::Description [protected]
 

Definition at line 326 of file netnode.h.

Referenced by description(), and setDescription().

int ANetNodeInstance::Done [protected]
 

Definition at line 331 of file netnode.h.

Referenced by done(), and setDone().

long ANetNodeInstance::InstanceCounter = -1 [static, protected]
 

Definition at line 103 of file netnode.cpp.

Referenced by initialize().

bool ANetNodeInstance::IsModified [protected]
 

Definition at line 327 of file netnode.h.

Referenced by ANetNodeInstance(), isModified(), and setModified().

bool ANetNodeInstance::IsNew [protected]
 

Definition at line 330 of file netnode.h.

Referenced by ANetNodeInstance(), isNew(), and setNew().

ANetNode* ANetNodeInstance::NodeType [protected]
 

Definition at line 323 of file netnode.h.

Referenced by ANetNodeInstance(), initialize(), needs(), nodeClass(), pixmapName(), and provides().

NetworkSetup* ANetNodeInstance::TheNetworkSetup [protected]
 

Definition at line 325 of file netnode.h.

Referenced by networkSetup(), and setNetworkSetup().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:26:22 2005 for OPIE by  doxygen 1.4.2