#include <theme_file.h>
Public Methods | |
| ThemeFile (QString const &filename) | |
| bool | isValid () const |
| QRgb | readColor () |
| QString | readString () |
| QString | readString (QString const &expected) |
| QString | readString (QString const &expected1, QString const &expected2) |
| QString | readString (QString const &expected1, QString const &expected2, QString const &expected3) |
| int | readInt () |
| double | readDouble () |
| int | lineNr () const |
| QString const & | filename () const |
Private Attributes | |
| QString | m_filename |
| int | m_line_nr |
| QFile | m_file |
| QTextStream | m_stream |
|
|
Creates the object. The theme data is read from the given file.
|
|
|
Return the filename of the theme file.
|
|
|
Returns true, if the theme file is valid (could be opened).
|
|
|
Returns the actual line number.
|
|
|
Reads a color from a theme file.
|
|
|
Reads an double from the theme file.
|
|
|
Reads an integer from the theme file.
|
|
||||||||||||||||||||||
|
Reads a text string from the theme file.
|
|
|||||||||||||||
|
Reads a text string from the theme file.
|
|
|
Reads a text string from the theme file.
|
|
|
Reads a text string from the theme file.
|
|
|
The file to use.
|
|
|
The filename.
|
|
|
The actual line number.
|
|
|
The stream to use.
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001