28 #include <kdelibs_export.h>
35 class KCModulePrivate;
81 enum Button {Help=1, Default=2, Apply=16,
92 KCModule(TQWidget *parent=0,
const char *name=0,
const TQStringList &args=TQStringList() );
94 KCModule(
KInstance *instance, TQWidget *parent=0,
const TQStringList &args=TQStringList() );
156 virtual void defaults();
178 virtual TQString quickHelp()
const;
217 TQString rootOnlyMsg()
const;
229 bool useRootOnlyMsg()
const;
237 const TQPtrList<KConfigDialogManager>& configs()
const;
257 void setQuickHelp(
const TQString& help );
293 void widgetChanged();
320 void setRootOnlyMsg(
const TQString& msg);
330 void setUseRootOnlyMsg(
bool on);
336 bool managedWidgetChangeState()
const;
343 void unmanagedWidgetChangeState(
bool);
349 virtual void virtual_hook(
int id,
void* data );
The base class for control center modules.
int buttons() const
Indicate which buttons will be used.
void setButtons(int btn)
Sets the buttons to display.
virtual void sysdefaults()
Set the configuration to system default values.
Button
An enumeration type for the buttons used by this module.
void changed(bool state)
Indicate that the state of the modules contents has changed.
void quickHelpChanged()
Indicate that the module's quickhelp has changed.