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

FirstUse Class Reference

#include </home/clem/local/src/opie/core/launcher/firstuse.h>

Collaboration diagram for FirstUse:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FirstUse (QWidget *parent=0, const char *name=0, WFlags=0)
 ~FirstUse ()
bool restartNeeded () const

Private Slots

void message (const QCString &, const QByteArray &)
void calcMaxWindowRect ()
void nextDialog ()
void previousDialog ()
void terminated (int, const QString &)
void newQcopChannel (const QString &)

Private Member Functions

void paintEvent (QPaintEvent *)
void mouseReleaseEvent (QMouseEvent *)
void keyPressEvent (QKeyEvent *e)
void loadPixmaps ()
void reloadLanguages ()
void drawText (QPainter &p, const QString &text)
void updateButtons ()

Private Attributes

QPixmap splash
QPixmap buttons
InputMethodsinputMethods
QPushButton * back
QPushButton * next
int controlHeight
QString lang
QTranslator * transApp
QTranslator * transLib
bool needCalibrate
DocumentListdocList
AppLauncherappLauncher
QWidget * taskBar
int currApp
int waitForExit
bool waitingForLaunch
bool needRestart
bool m_calHandler: 1
QFont defaultFont

Constructor & Destructor Documentation

FirstUse::FirstUse QWidget *  parent = 0,
const char *  name = 0,
WFlags  = 0
 

Definition at line 95 of file firstuse.cpp.

References ServerApplication::allowRestart, settingsTable_t::app, app, appLauncher, back, calcMaxWindowRect(), controlHeight, defaultFont, docList, settingsTable_t::enabled, QFile::exists(), FALSE, height, i, inputMethods, lang, loadPixmaps(), m_calHandler, message(), needCalibrate, newQcopChannel(), next, nextDialog(), odebug, oendl, previousDialog(), FontManager::Proportional, qApp, QPEApplication::qpeDir(), Config::readEntry(), Config::setGroup(), QWSServer::setScreenSaverIntervals(), taskBar, terminated(), tr, TRUE, FontManager::unicodeFont(), width, and Opie::MM::x.

FirstUse::~FirstUse  ) 
 

Definition at line 199 of file firstuse.cpp.

References ServerApplication::allowRestart, appLauncher, docList, taskBar, and TRUE.


Member Function Documentation

void FirstUse::calcMaxWindowRect  )  [private, slot]
 

Definition at line 207 of file firstuse.cpp.

References controlHeight, inputMethods, InputMethods::inputRect(), and qApp.

Referenced by FirstUse().

void FirstUse::drawText QPainter &  p,
const QString text
[private]
 

Definition at line 458 of file firstuse.cpp.

References height, and width.

Referenced by paintEvent().

void FirstUse::keyPressEvent QKeyEvent *  e  )  [private]
 

Definition at line 494 of file firstuse.cpp.

References currApp.

void FirstUse::loadPixmaps  )  [private]
 

Definition at line 450 of file firstuse.cpp.

References height, splash, and width.

Referenced by FirstUse(), and reloadLanguages().

void FirstUse::message const QCString ,
const QByteArray
[private, slot]
 

Definition at line 314 of file firstuse.cpp.

References IO_ReadOnly, stream, and t.

Referenced by FirstUse().

void FirstUse::mouseReleaseEvent QMouseEvent *   )  [private]
 

Definition at line 501 of file firstuse.cpp.

References currApp, m_calHandler, needCalibrate, and nextDialog().

void FirstUse::newQcopChannel const QString  )  [private, slot]
 

Definition at line 356 of file firstuse.cpp.

References settingsTable_t::app, app, back, currApp, FALSE, QString::length(), next, odebug, oendl, updateButtons(), and waitingForLaunch.

Referenced by FirstUse().

void FirstUse::nextDialog  )  [private, slot]
 

Definition at line 231 of file firstuse.cpp.

References ServerApplication::allowRestart, settingsTable_t::app, app, appLauncher, currApp, FALSE, AppLauncher::isRunning(), odebug, oendl, qApp, Config::setGroup(), start, TRUE, updateButtons(), waitForExit, waitingForLaunch, and Config::writeEntry().

Referenced by FirstUse(), mouseReleaseEvent(), and terminated().

void FirstUse::paintEvent QPaintEvent *   )  [private]
 

Definition at line 435 of file firstuse.cpp.

References app, currApp, drawText(), p, splash, tr, and waitingForLaunch.

void FirstUse::previousDialog  )  [private, slot]
 

Definition at line 284 of file firstuse.cpp.

References app, settingsTable_t::app, currApp, odebug, oendl, start, TRUE, updateButtons(), waitForExit, and waitingForLaunch.

Referenced by FirstUse().

void FirstUse::reloadLanguages  )  [private]
 

Definition at line 374 of file firstuse.cpp.

References defaultFont, QString::isNull(), l, QString::latin1(), loadPixmaps(), oendl, owarn, FontManager::Proportional, qApp, QPEApplication::qpeDir(), Config::readEntry(), Config::setGroup(), transApp, transLib, TRUE, and FontManager::unicodeFont().

Referenced by terminated().

bool FirstUse::restartNeeded  )  const [inline]
 

Definition at line 38 of file firstuse.h.

References needRestart.

Referenced by firstUse().

void FirstUse::terminated int  ,
const QString
[private, slot]
 

Definition at line 327 of file firstuse.cpp.

References settingsTable_t::app, back, currApp, l, lang, needRestart, next, nextDialog(), odebug, oendl, Config::readEntry(), reloadLanguages(), Config::setGroup(), start, TRUE, updateButtons(), waitForExit, and waitingForLaunch.

Referenced by FirstUse().

void FirstUse::updateButtons  )  [private]
 

Definition at line 471 of file firstuse.cpp.

References app, back, currApp, i, next, taskBar, tr, and waitingForLaunch.

Referenced by newQcopChannel(), nextDialog(), previousDialog(), and terminated().


Member Data Documentation

AppLauncher* FirstUse::appLauncher [private]
 

Definition at line 75 of file firstuse.h.

Referenced by FirstUse(), nextDialog(), and ~FirstUse().

QPushButton* FirstUse::back [private]
 

Definition at line 65 of file firstuse.h.

Referenced by FirstUse(), newQcopChannel(), terminated(), and updateButtons().

QPixmap FirstUse::buttons [private]
 

Definition at line 62 of file firstuse.h.

int FirstUse::controlHeight [private]
 

Definition at line 67 of file firstuse.h.

Referenced by calcMaxWindowRect(), and FirstUse().

int FirstUse::currApp [private]
 

Definition at line 78 of file firstuse.h.

Referenced by keyPressEvent(), mouseReleaseEvent(), newQcopChannel(), nextDialog(), paintEvent(), previousDialog(), terminated(), and updateButtons().

QFont FirstUse::defaultFont [private]
 

Definition at line 84 of file firstuse.h.

Referenced by FirstUse(), and reloadLanguages().

DocumentList* FirstUse::docList [private]
 

Definition at line 74 of file firstuse.h.

Referenced by FirstUse(), and ~FirstUse().

InputMethods* FirstUse::inputMethods [private]
 

Definition at line 64 of file firstuse.h.

Referenced by calcMaxWindowRect(), and FirstUse().

QString FirstUse::lang [private]
 

Definition at line 69 of file firstuse.h.

Referenced by FirstUse(), and terminated().

bool FirstUse::m_calHandler [private]
 

Definition at line 82 of file firstuse.h.

Referenced by FirstUse(), and mouseReleaseEvent().

bool FirstUse::needCalibrate [private]
 

Definition at line 73 of file firstuse.h.

Referenced by FirstUse(), and mouseReleaseEvent().

bool FirstUse::needRestart [private]
 

Definition at line 81 of file firstuse.h.

Referenced by restartNeeded(), and terminated().

QPushButton* FirstUse::next [private]
 

Definition at line 66 of file firstuse.h.

Referenced by FirstUse(), newQcopChannel(), terminated(), and updateButtons().

QPixmap FirstUse::splash [private]
 

Definition at line 61 of file firstuse.h.

Referenced by loadPixmaps(), and paintEvent().

QWidget* FirstUse::taskBar [private]
 

Definition at line 76 of file firstuse.h.

Referenced by FirstUse(), updateButtons(), and ~FirstUse().

QTranslator* FirstUse::transApp [private]
 

Definition at line 70 of file firstuse.h.

Referenced by reloadLanguages().

QTranslator* FirstUse::transLib [private]
 

Definition at line 71 of file firstuse.h.

Referenced by reloadLanguages().

int FirstUse::waitForExit [private]
 

Definition at line 79 of file firstuse.h.

Referenced by nextDialog(), previousDialog(), and terminated().

bool FirstUse::waitingForLaunch [private]
 

Definition at line 80 of file firstuse.h.

Referenced by newQcopChannel(), nextDialog(), paintEvent(), previousDialog(), terminated(), and updateButtons().


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