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)
virtual

Definition at line 177 of file qtuiapplication.cpp.

References _aboutToQuit.

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

Definition at line 56 of file qtuiapplication.h.

References _aboutToQuit.

Referenced by MainWin::closeEvent().

void quit ( )
protectedvirtual

Reimplemented from Quassel.

Definition at line 171 of file qtuiapplication.cpp.

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

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

Definition at line 181 of file quassel.h.

References Quassel::_dataDirPaths.

QStringList findDataDirPaths ( ) const
protectedinherited

Definition at line 431 of file quassel.cpp.

void disableCrashhandler ( )
inlineprotectedinherited

Member Data Documentation

bool _aboutToQuit
private

Definition at line 62 of file qtuiapplication.h.

Referenced by commitData(), and isAboutToQuit().


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