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

ProfileEdit Class Reference

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

Collaboration diagram for ProfileEdit:

Collaboration graph
[legend]
List of all members.

Public Slots

void SLOT_AutoRefresh (bool)
void SLOT_Refresh (void)
void SLOT_ResetODO (void)

Public Member Functions

 ProfileEdit (QWidget *parent, ANetNodeInstance *NNI)
QString acceptable (void)
bool commit (ProfileData &Data)
void showData (ProfileData &Data)

Private Attributes

QTimer RefreshTimer
ANetNodeInstanceNNI
RuntimeInfoDev
long RcvODO
long SndODO

Constructor & Destructor Documentation

ProfileEdit::ProfileEdit QWidget *  parent,
ANetNodeInstance NNI
 

Definition at line 15 of file profileedit.cpp.

References InterfaceInfo::Address, InterfaceInfo::BCastAddress, Dev, InterfaceInfo::DstAddress, InterfaceInfo::HasMulticast, II(), QString::isEmpty(), InterfaceInfo::IsPointToPoint, InterfaceInfo::IsUp, Log, InterfaceInfo::MACAddress, InterfaceInfo::Name, InterfaceInfo::Netmask, ANetNodeInstance::networkSetup(), NNI, QString::prepend(), RefreshTimer, ANetNodeInstance::runtime(), S, SLOT_Refresh(), SLOT_ResetODO(), and TRUE.


Member Function Documentation

QString ProfileEdit::acceptable void   ) 
 

Definition at line 64 of file profileedit.cpp.

Referenced by AProfile::acceptable().

bool ProfileEdit::commit ProfileData Data  ) 
 

Definition at line 77 of file profileedit.cpp.

References ProfileData::Automatic, CBM, ProfileData::Confirm, ProfileData::Description, ProfileData::Enabled, ProfileData::TriggerVPN, and TXTM.

Referenced by AProfile::commit().

void ProfileEdit::showData ProfileData Data  ) 
 

Definition at line 68 of file profileedit.cpp.

References ProfileData::Automatic, ProfileData::Confirm, ProfileData::Description, ProfileData::Enabled, and ProfileData::TriggerVPN.

Referenced by AProfile::edit().

void ProfileEdit::SLOT_AutoRefresh bool   )  [slot]
 

Definition at line 111 of file profileedit.cpp.

References RefreshTimer, and SLOT_Refresh().

void ProfileEdit::SLOT_Refresh void   )  [slot]
 

Definition at line 89 of file profileedit.cpp.

References InterfaceInfo::Collisions, II(), ANetNodeInstance::networkSetup(), NNI, NSResources, InterfaceInfo::RcvBytes, InterfaceInfo::RcvDropped, InterfaceInfo::RcvErrors, RcvODO, InterfaceInfo::RcvPackets, S, QString::setNum(), InterfaceInfo::SndBytes, InterfaceInfo::SndDropped, InterfaceInfo::SndErrors, SndODO, InterfaceInfo::SndPackets, and QString::toLong().

Referenced by ProfileEdit(), SLOT_AutoRefresh(), and SLOT_ResetODO().

void ProfileEdit::SLOT_ResetODO void   )  [slot]
 

Definition at line 120 of file profileedit.cpp.

References II(), ANetNodeInstance::networkSetup(), NNI, InterfaceInfo::RcvBytes, RcvODO, SLOT_Refresh(), InterfaceInfo::SndBytes, SndODO, and QString::toLong().

Referenced by ProfileEdit().


Member Data Documentation

RuntimeInfo* ProfileEdit::Dev [private]
 

Definition at line 29 of file profileedit.h.

Referenced by ProfileEdit().

ANetNodeInstance* ProfileEdit::NNI [private]
 

Definition at line 28 of file profileedit.h.

Referenced by ProfileEdit(), SLOT_Refresh(), and SLOT_ResetODO().

long ProfileEdit::RcvODO [private]
 

Definition at line 30 of file profileedit.h.

Referenced by SLOT_Refresh(), and SLOT_ResetODO().

QTimer ProfileEdit::RefreshTimer [private]
 

Definition at line 27 of file profileedit.h.

Referenced by ProfileEdit(), and SLOT_AutoRefresh().

long ProfileEdit::SndODO [private]
 

Definition at line 31 of file profileedit.h.

Referenced by SLOT_Refresh(), and SLOT_ResetODO().


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