28 #include <tdelibs_export.h>
35 class TDECModulePrivate;
81 enum Button {Help=1, Default=2, Apply=16,
92 TDECModule(TQWidget *parent=0,
const char *name=0,
const TQStringList &args=TQStringList() );
156 virtual void defaults();
178 virtual TQString quickHelp()
const;
188 virtual TQString handbookDocPath()
const;
197 virtual TQString handbookSection()
const;
236 TQString rootOnlyMsg()
const;
248 bool useRootOnlyMsg()
const;
256 const TQPtrList<TDEConfigDialogManager>& configs()
const;
276 void setQuickHelp(
const TQString& help );
312 void widgetChanged();
339 void setRootOnlyMsg(
const TQString& msg);
349 void setUseRootOnlyMsg(
bool on);
355 bool managedWidgetChangeState()
const;
362 void unmanagedWidgetChangeState(
bool);
368 virtual void virtual_hook(
int id,
void* data );
370 TDECModulePrivate *d;
The base class for control center modules.
Button
An enumeration type for the buttons used by this module.
virtual void sysdefaults()
Set the configuration to system default values.
int buttons() const
Indicate which buttons will be used.
void setButtons(int btn)
Sets the buttons to display.
void changed(bool state)
Indicate that the state of the modules contents has changed.
void quickHelpChanged()
Indicate that the module's quickhelp has changed.