KDEUI
KTipDatabase Class Reference
#include <ktip.h>
Public Member Functions | |
KTipDatabase (const QString &tipFile=QString()) | |
KTipDatabase (const QStringList &tipFiles) | |
~KTipDatabase () | |
void | nextTip () |
void | prevTip () |
QString | tip () const |
Detailed Description
A database for tips-of-the-day.
This class provides convenient access to a database containing tips of the day. The database is stored in a XML file and parsed when a KTipDatabase object is created.
Once the file is read in, you can access the tips to display them in the tip of the day dialog.
The state of the tipdialog is saved to the applications's config file in the group "TipOfDay" with a bool entry "RunOnStart". Check this value if you want to allow the user to enable/disable the tipdialog in the application's configuration dialog.
Constructor & Destructor Documentation
|
explicit |
Member Function Documentation
void KTipDatabase::nextTip | ( | ) |
void KTipDatabase::prevTip | ( | ) |
QString KTipDatabase::tip | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.