Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
QtUiApplication Class Reference

#include </tmp/quassel/src/qtui/qtuiapplication.h>

Inheritance diagram for QtUiApplication:
Collaboration diagram for QtUiApplication:

Public Member Functions

 QtUiApplication (int &, char **)
 ~QtUiApplication ()
virtual bool init ()
void resumeSessionIfPossible ()
virtual void commitData (QSessionManager &manager)
virtual void saveState (QSessionManager &manager)
bool isAboutToQuit () const

Protected Member Functions

virtual void quit ()
void setRunMode (RunMode mode)
void setDataDirPaths (const QStringList &paths)
QStringList findDataDirPaths () const
void disableCrashhandler ()

Private Attributes

bool _aboutToQuit

Detailed Description

Definition at line 41 of file qtuiapplication.h.

Constructor & Destructor Documentation

QtUiApplication ( int &  argc,
char **  argv 

Definition at line 37 of file qtuiapplication.cpp.

References Client::logMessage().

Definition at line 165 of file qtuiapplication.cpp.

References Client::destroy().

Member Function Documentation

void commitData ( QSessionManager &  manager)

Definition at line 177 of file qtuiapplication.cpp.

References _aboutToQuit.

void saveState ( QSessionManager &  manager)
bool isAboutToQuit ( ) const

Definition at line 56 of file qtuiapplication.h.

References _aboutToQuit.

Referenced by MainWin::closeEvent().

void quit ( )

Reimplemented from Quassel.

Definition at line 171 of file qtuiapplication.cpp.

References QtUi::mainWindow(), and MainWin::quit().

void setRunMode ( RunMode  mode)
void setDataDirPaths ( const QStringList &  paths)

Definition at line 181 of file quassel.h.

References Quassel::_dataDirPaths.

QStringList findDataDirPaths ( ) const

Definition at line 431 of file quassel.cpp.

void disableCrashhandler ( )

Member Data Documentation

bool _aboutToQuit

Definition at line 62 of file qtuiapplication.h.

Referenced by commitData(), and isAboutToQuit().

The documentation for this class was generated from the following files: