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

DemoApp Class Reference

#include </home/clem/local/src/opie/examples/opiecore/onotifydemo/onotifydemo.h>

Inheritance diagram for DemoApp:

Inheritance graph
[legend]
Collaboration diagram for DemoApp:

Collaboration graph
[legend]
List of all members.

Public Slots

void chooseMethod (int method)
void updateDebugOutput ()
void emitInfoOutput ()
void emitWarningOutput ()
void emitErrorOutput ()
void emitFatalOutput ()
void emitTBOutput ()
void modifierClicked (int modifier)
void addSingle ()
void addMulti ()
void delTrigger ()
void unnamedTrigger ()
void namedTrigger (const QString &, unsigned int, const QString &)

Public Member Functions

 DemoApp (int argc, char **argv)
 DemoApp (int argc, char **argv)
void addTrigger (bool multi=false)

Private Attributes

QButtonGroup * g
int m
QLineEdit * e
Opie::Ui::OListViewl
QButtonGroup * g1
QButtonGroup * g2
Opie::Core::OFileNotificationType m

Constructor & Destructor Documentation

DemoApp::DemoApp int  argc,
char **  argv
[inline]
 

Definition at line 26 of file odebugdemo.cpp.

References chooseMethod(), e, emitErrorOutput(), emitFatalOutput(), emitInfoOutput(), emitTBOutput(), emitWarningOutput(), error(), fatal(), g, oApp, odebug, oendl, Opie::Core::OApplication::showMainWidget(), and updateDebugOutput().

DemoApp::DemoApp int  argc,
char **  argv
 


Member Function Documentation

void DemoApp::addMulti  )  [slot]
 

Definition at line 145 of file onotifydemo.cpp.

References addTrigger().

void DemoApp::addSingle  )  [slot]
 

Definition at line 144 of file onotifydemo.cpp.

References addTrigger().

void DemoApp::addTrigger bool  multi = false  ) 
 

Definition at line 82 of file onotifydemo.cpp.

References OFileSelector::ExtendedAll, OFileDialog::getOpenFileName(), QString::isEmpty(), l, m, namedTrigger(), odebug, oendl, unnamedTrigger(), warning(), Opie::Core::ODirNotification::watch(), and Opie::Core::OFileNotification::watch().

Referenced by addMulti(), and addSingle().

void DemoApp::chooseMethod int  method  )  [inline, slot]
 

Definition at line 89 of file odebugdemo.cpp.

References e, g, m, odebug, oendl, Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by DemoApp().

void DemoApp::delTrigger  )  [slot]
 

Definition at line 147 of file onotifydemo.cpp.

References l, odebug, oendl, and warning().

void DemoApp::emitErrorOutput  )  [inline, slot]
 

Definition at line 114 of file odebugdemo.cpp.

References oendl, and oerr.

Referenced by DemoApp().

void DemoApp::emitFatalOutput  )  [inline, slot]
 

Definition at line 118 of file odebugdemo.cpp.

References oendl, and ofatal.

Referenced by DemoApp().

void DemoApp::emitInfoOutput  )  [inline, slot]
 

Definition at line 106 of file odebugdemo.cpp.

References odebug, and oendl.

Referenced by DemoApp().

void DemoApp::emitTBOutput  )  [inline, slot]
 

Definition at line 122 of file odebugdemo.cpp.

References Opie::Core::odBacktrace(), and ofatal.

Referenced by DemoApp().

void DemoApp::emitWarningOutput  )  [inline, slot]
 

Definition at line 110 of file odebugdemo.cpp.

References oendl, and owarn.

Referenced by DemoApp().

void DemoApp::modifierClicked int  modifier  )  [slot]
 

Definition at line 143 of file onotifydemo.cpp.

References m.

void DemoApp::namedTrigger const QString ,
unsigned  int,
const QString
[slot]
 

Definition at line 167 of file onotifydemo.cpp.

References oendl, and owarn.

Referenced by addTrigger().

void DemoApp::unnamedTrigger  )  [slot]
 

Definition at line 162 of file onotifydemo.cpp.

References oendl, and owarn.

Referenced by addTrigger().

void DemoApp::updateDebugOutput  )  [inline, slot]
 

Definition at line 99 of file odebugdemo.cpp.

References e, g, QString::number(), Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by DemoApp().


Member Data Documentation

QLineEdit* DemoApp::e [private]
 

Definition at line 130 of file odebugdemo.cpp.

Referenced by chooseMethod(), DemoApp(), and updateDebugOutput().

QButtonGroup* DemoApp::g [private]
 

Definition at line 128 of file odebugdemo.cpp.

Referenced by chooseMethod(), DemoApp(), and updateDebugOutput().

QButtonGroup* DemoApp::g1 [private]
 

Definition at line 27 of file onotifydemo.h.

QButtonGroup* DemoApp::g2 [private]
 

Definition at line 28 of file onotifydemo.h.

Opie::Ui::OListView* DemoApp::l [private]
 

Definition at line 26 of file onotifydemo.h.

Referenced by addTrigger(), and delTrigger().

Opie::Core::OFileNotificationType DemoApp::m [private]
 

Definition at line 29 of file onotifydemo.h.

int DemoApp::m [private]
 

Definition at line 129 of file odebugdemo.cpp.

Referenced by addTrigger(), chooseMethod(), and modifierClicked().


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