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

NetworkEdit Class Reference

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

List of all members.

Public Slots

void SLOT_NetmaskModified (const QString &S)
void SLOT_ShowCommand (QListBoxItem *LBI)
void SLOT_Add (void)
void SLOT_Remove (void)
void SLOT_Up (void)
void SLOT_Down (void)

Public Member Functions

 NetworkEdit (QWidget *parent)
QString acceptable (void)
bool commit (NetworkData &Data)
void showData (NetworkData &Data)

Private Member Functions

QListBox * getActiveLB (void)
bool updateList (QStringList &SL, QListBox *LB)
void populateList (QStringList &SL, QListBox *LB)


Constructor & Destructor Documentation

NetworkEdit::NetworkEdit QWidget *  parent  ) 
 

Definition at line 10 of file networkedit.cpp.

References NSResources.


Member Function Documentation

QString NetworkEdit::acceptable void   ) 
 

Definition at line 34 of file networkedit.cpp.

References tr, and validIP().

Referenced by ANetwork::acceptable().

bool NetworkEdit::commit NetworkData Data  ) 
 

Definition at line 68 of file networkedit.cpp.

References NetworkData::Broadcast, CBM, NetworkData::DNS1, NetworkData::DNS2, NetworkData::Gateway, NetworkData::Hostname, NetworkData::IPAddress, NetworkData::NetMask, NetworkData::PostDown_SL, NetworkData::PostUp_SL, NetworkData::PreDown_SL, NetworkData::PreUp_SL, NetworkData::SendHostname, TXTM, updateList(), and NetworkData::UseDHCP.

Referenced by ANetwork::commit().

QListBox * NetworkEdit::getActiveLB void   )  [private]
 

Definition at line 169 of file networkedit.cpp.

Referenced by SLOT_Add(), SLOT_Down(), SLOT_Remove(), and SLOT_Up().

void NetworkEdit::populateList QStringList SL,
QListBox *  LB
[private]
 

Definition at line 135 of file networkedit.cpp.

Referenced by showData().

void NetworkEdit::showData NetworkData Data  ) 
 

Definition at line 88 of file networkedit.cpp.

References NetworkData::Broadcast, NetworkData::DNS1, NetworkData::DNS2, NetworkData::Gateway, NetworkData::Hostname, NetworkData::IPAddress, NetworkData::NetMask, populateList(), NetworkData::PostDown_SL, NetworkData::PostUp_SL, NetworkData::PreDown_SL, NetworkData::PreUp_SL, NetworkData::SendHostname, and NetworkData::UseDHCP.

Referenced by ANetwork::edit().

void NetworkEdit::SLOT_Add void   )  [slot]
 

Definition at line 181 of file networkedit.cpp.

References getActiveLB().

void NetworkEdit::SLOT_Down void   )  [slot]
 

Definition at line 210 of file networkedit.cpp.

References getActiveLB(), and i.

void NetworkEdit::SLOT_NetmaskModified const QString S  )  [slot]
 

Definition at line 144 of file networkedit.cpp.

References QString::isEmpty(), NW, QStringList::split(), and validIP().

void NetworkEdit::SLOT_Remove void   )  [slot]
 

Definition at line 189 of file networkedit.cpp.

References getActiveLB(), and i.

void NetworkEdit::SLOT_ShowCommand QListBoxItem *  LBI  )  [slot]
 

Definition at line 222 of file networkedit.cpp.

void NetworkEdit::SLOT_Up void   )  [slot]
 

Definition at line 198 of file networkedit.cpp.

References getActiveLB(), and i.

bool NetworkEdit::updateList QStringList SL,
QListBox *  LB
[private]
 

Definition at line 105 of file networkedit.cpp.

References QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::count(), QValueList< T >::end(), QValueList< T >::findIndex(), and i.

Referenced by commit().


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