Noatun API Documentation

CModule Class Reference

Base class for a configuration sheet that is shown in preferences dialog. More...

#include <pref.h>

Inheritance diagram for CModule:

Inheritance graph
[legend]
List of all members.

Public Slots

virtual void save ()
virtual void reopen ()

Public Member Functions

 CModule (const QString &name, const QString &description, const QString &icon, QObject *parent=0)

Detailed Description

Base class for a configuration sheet that is shown in preferences dialog.

Create your GUI in constructor, reimplement reopen() and save() and you're all set.

Definition at line 55 of file pref.h.


Constructor & Destructor Documentation

CModule::CModule const QString &  name,
const QString &  description,
const QString &  icon,
QObject *  parent = 0
 

arguments are short and long descriptions for this module, respectively

parent is the object that is this modules virtual-parent. When that is deleted, this also will go away, automagically.


Member Function Documentation

virtual void CModule::reopen  )  [inline, virtual, slot]
 

reload all options (e.g., read config files)

Definition at line 79 of file pref.h.

virtual void CModule::save  )  [inline, virtual, slot]
 

save all your options, and apply them

Definition at line 75 of file pref.h.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 23:49:46 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003