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

GUIUtils.h File Reference

#include <qstring.h>

Include dependency graph for GUIUtils.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TXTM(Data, Wdg, FL)
#define CBM(Data, Wdg, FL)
#define SBM(Data, Wdg, FL)
#define CIM(Data, Wdg, FL)
#define STXT(a, b)   b->setText( a );
#define SCB(a, b)   b->setChecked( a );
#define SSB(Data, Wdg)   Wdg->setValue( Data )

Functions

bool validIP (const QString &S)


Define Documentation

#define CBM Data,
Wdg,
FL   ) 
 

Value:

if( Wdg->isChecked() != Data) { \
      FL = 1; \
      Data = Wdg->isChecked(); \
    }

Definition at line 14 of file GUIUtils.h.

Referenced by WLanEdit::commit(), ProfileEdit::commit(), PPPIPEdit::commit(), PPPDNSEdit::commit(), NetworkEdit::commit(), LanCardEdit::commit(), GPRSEdit::commit(), and CableEdit::commit().

#define CIM Data,
Wdg,
FL   ) 
 

Value:

if( Wdg->currentItem() != Data) { \
      FL = 1; \
      Data = Wdg->currentItem(); \
    }

Definition at line 28 of file GUIUtils.h.

Referenced by WLanEdit::commit(), and CableEdit::commit().

#define SBM Data,
Wdg,
FL   ) 
 

Value:

if( Wdg->value() != Data) { \
      FL = 1; \
      Data = Wdg->value(); \
    }

Definition at line 21 of file GUIUtils.h.

Referenced by GPRSEdit::commit(), and CableEdit::commit().

#define SCB a,
 )     b->setChecked( a );
 

Definition at line 37 of file GUIUtils.h.

Referenced by GPRSEdit::showData().

#define SSB Data,
Wdg   )     Wdg->setValue( Data )
 

Definition at line 40 of file GUIUtils.h.

Referenced by GPRSEdit::showData().

#define STXT a,
 )     b->setText( a );
 

Definition at line 34 of file GUIUtils.h.

Referenced by PPPRunEdit::showData(), and GPRSEdit::showData().

#define TXTM Data,
Wdg,
FL   ) 
 

Value:

if( Wdg->text() != Data ) { \
        FL = 1; \
        Data = Wdg->text(); \
      }

Definition at line 7 of file GUIUtils.h.

Referenced by WLanEdit::commit(), ProfileEdit::commit(), PPPRunEdit::commit(), PPPIPEdit::commit(), PPPDNSEdit::commit(), PPPAuthEdit::commit(), NetworkEdit::commit(), GPRSEdit::commit(), and CableEdit::commit().


Function Documentation

bool validIP const QString S  ) 
 

Definition at line 4 of file GUIUtils.cpp.

References QValueList< T >::count(), i, QValueList< T >::isEmpty(), QStringList::split(), TRUE, and Opie::MM::x.

Referenced by NetworkEdit::acceptable(), PPPIPEdit::acceptable(), and NetworkEdit::SLOT_NetmaskModified().


Generated on Sat Nov 5 17:10:11 2005 for OPIE by  doxygen 1.4.2