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

NetworkSettings Class Reference

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

Collaboration diagram for NetworkSettings:

Collaboration graph
[legend]
List of all members.

Public Slots

void SLOT_AddNode (void)
void SLOT_DeleteNode (void)
void SLOT_ShowNode (QListBoxItem *)
void SLOT_EditNode (QListBoxItem *)
void SLOT_CheckState (void)
void SLOT_Up (void)
void SLOT_Down (void)
void SLOT_Disable (bool)
void SLOT_GenerateConfig (void)
void SLOT_RefreshStates (void)
void SLOT_QCopMessage (const QCString &, const QByteArray &)
void SLOT_ToProfile (void)
void SLOT_ToMessages (void)
void SLOT_CmdMessage (const QString &S)

Public Member Functions

 NetworkSettings (QWidget *parent=0, const char *name=0, WFlags fl=0)
virtual ~NetworkSettings (void)

Static Public Member Functions

static QString appName (void)

Private Member Functions

void updateProfileState (QListBoxItem *it)

Private Attributes

QTimer * UpdateTimer
NetworkSettingsData NSD
Opie::Ui::OLedBoxLeds [3]

Constructor & Destructor Documentation

NetworkSettings::NetworkSettings QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 26 of file networksettings.cpp.

References Qt::AlignVCenter, QDictIterator< type >::current(), NetworkSetup::devicePixmap(), H(), Leds, NetworkSetup::name(), NSResources, qApp, QPEApplication::RightOnHold, QPEApplication::setStylusOperation(), SLOT_AddNode(), SLOT_CmdMessage(), SLOT_EditNode(), SLOT_QCopMessage(), SLOT_RefreshStates(), SLOT_ToProfile(), TRUE, and UpdateTimer.

NetworkSettings::~NetworkSettings void   )  [virtual]
 

Definition at line 109 of file networksettings.cpp.

References QString::append(), QString::insert(), QString::isEmpty(), NetworkSettingsData::isModified(), NSD, S, NetworkSettingsData::saveSettings(), NetworkSettingsData::setModified(), SLOT_GenerateConfig(), tr, and warning().


Member Function Documentation

static QString NetworkSettings::appName void   )  [inline, static]
 

Definition at line 32 of file networksettings.h.

References QString::fromLatin1().

void NetworkSettings::SLOT_AddNode void   )  [slot]
 

Definition at line 178 of file networksettings.cpp.

References SLOT_EditNode().

Referenced by NetworkSettings().

void NetworkSettings::SLOT_CheckState void   )  [slot]
 

Definition at line 326 of file networksettings.cpp.

References updateProfileState().

void NetworkSettings::SLOT_CmdMessage const QString S  )  [slot]
 

Definition at line 129 of file networksettings.cpp.

Referenced by NetworkSettings().

void NetworkSettings::SLOT_DeleteNode void   )  [slot]
 

Definition at line 182 of file networksettings.cpp.

References NSD, NSResources, NetworkSettingsData::setModified(), tr, and warning().

void NetworkSettings::SLOT_Disable bool   )  [slot]
 

Definition at line 351 of file networksettings.cpp.

References QString::append(), Disable, Enable, QString::insert(), QString::isEmpty(), Log, NSResources, NetworkSetup::setState(), NetworkSetup::state(), tr, updateProfileState(), and warning().

void NetworkSettings::SLOT_Down void   )  [slot]
 

Definition at line 433 of file networksettings.cpp.

References QString::append(), Available, Deactivate, Disabled, Down, QString::insert(), QString::isEmpty(), IsUp, Leds, Log, NetworkSetup::name(), NSResources, NetworkSetup::number(), Off, Opie::Ui::OLedBox::setColor(), NetworkSetup::setState(), NetworkSetup::state(), tr, Unavailable, Unchecked, Unknown, updateProfileState(), and warning().

void NetworkSettings::SLOT_EditNode QListBoxItem *   )  [slot]
 

Definition at line 199 of file networksettings.cpp.

References NetworkSetup::devicePixmap(), FALSE, NetworkSetup::isModified(), NetworkSetup::name(), EditNetworkSetup::networkSetup(), NSResources, NetworkSetup::reassign(), EditNetworkSetup::setNetworkSetup(), SLOT_RefreshStates(), tr, TRUE, UpdateTimer, and warning().

Referenced by NetworkSettings(), and SLOT_AddNode().

void NetworkSettings::SLOT_GenerateConfig void   )  [slot]
 

Definition at line 339 of file networksettings.cpp.

References QString::append(), NetworkSettingsData::generateSettings(), QString::insert(), QString::isEmpty(), NSD, S, tr, and warning().

Referenced by ~NetworkSettings().

void NetworkSettings::SLOT_QCopMessage const QCString ,
const QByteArray
[slot]
 

Definition at line 501 of file networksettings.cpp.

References IO_ReadOnly, and stream.

Referenced by NetworkSettings().

void NetworkSettings::SLOT_RefreshStates void   )  [slot]
 

Definition at line 135 of file networksettings.cpp.

References NSResources, NetworkSetup::state(), and updateProfileState().

Referenced by NetworkSettings(), and SLOT_EditNode().

void NetworkSettings::SLOT_ShowNode QListBoxItem *   )  [slot]
 

Definition at line 271 of file networksettings.cpp.

References Available, NetworkSetup::description(), Disabled, i, IsUp, Leds, NSResources, Off, Opie::Ui::OLedBox::setColor(), Opie::Ui::OLedBox::setOn(), NetworkSetup::state(), NetworkSetup::stateName(), tr, Unavailable, Unchecked, and Unknown.

Referenced by updateProfileState().

void NetworkSettings::SLOT_ToMessages void   )  [slot]
 

Definition at line 489 of file networksettings.cpp.

void NetworkSettings::SLOT_ToProfile void   )  [slot]
 

Definition at line 495 of file networksettings.cpp.

Referenced by NetworkSettings().

void NetworkSettings::SLOT_Up void   )  [slot]
 

Definition at line 377 of file networksettings.cpp.

References Activate, QString::append(), Available, Disabled, QString::insert(), QString::isEmpty(), IsUp, Leds, Log, NetworkSetup::name(), NSResources, Off, Opie::Ui::OLedBox::setColor(), Opie::Ui::OLedBox::setOn(), NetworkSetup::setState(), NetworkSetup::state(), tr, Unavailable, Unchecked, Unknown, Up, updateProfileState(), and warning().

void NetworkSettings::updateProfileState QListBoxItem *  it  )  [private]
 

Definition at line 333 of file networksettings.cpp.

References SLOT_ShowNode().

Referenced by SLOT_CheckState(), SLOT_Disable(), SLOT_Down(), SLOT_RefreshStates(), and SLOT_Up().


Member Data Documentation

Opie::Ui::OLedBox* NetworkSettings::Leds[3] [private]
 

Definition at line 67 of file networksettings.h.

Referenced by NetworkSettings(), SLOT_Down(), SLOT_ShowNode(), and SLOT_Up().

NetworkSettingsData NetworkSettings::NSD [private]
 

Definition at line 58 of file networksettings.h.

Referenced by SLOT_DeleteNode(), SLOT_GenerateConfig(), and ~NetworkSettings().

QTimer* NetworkSettings::UpdateTimer [private]
 

Definition at line 57 of file networksettings.h.

Referenced by NetworkSettings(), and SLOT_EditNode().


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