Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ThemeHolder Class Reference

This class holds themes. More...

#include <theme_holder.h>

List of all members.

Static Public Methods

void load ()
int numberOfThemes ()
int indexFromName (QString const &name)
Themetheme (int index)

Static Private Methods

void getThemes (QStringList const &files)

Static Private Attributes

std::vector< Theme *> s_themes
bool s_initialized


Detailed Description

This class holds themes.

Author:
Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
Version:
0.1


Member Function Documentation

void ThemeHolder::getThemes QStringList const & files [static, private]
 

Loads the themes from the given theme-files.

Parameters:
files   The files from which to load the themes.

int ThemeHolder::indexFromName QString const & name [static]
 

Returns the index of the theme with the given name or -1 if it does not exists.

Parameters:
name   The name of the theme.

void ThemeHolder::load [static]
 

Loads the themes.

int ThemeHolder::numberOfThemes [static]
 

Returns the number of themes.

Theme* ThemeHolder::theme int index [static]
 

Returns a pointer to the given theme.

Parameters:
index   The index of the theme.


Member Data Documentation

bool ThemeHolder::s_initialized [static, private]
 

If true, load was called.

std::vector<Theme *> ThemeHolder::s_themes [static, private]
 

The themes.


The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:13 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001