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 );
287 void changed(
bool state);
297 void quickHelpChanged();
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;
379 #endif //TDECMODULE_H
int buttons() const
Indicate which buttons will be used.
virtual void sysdefaults()
Set the configuration to system default values.
Button
An enumeration type for the buttons used by this module.
void setButtons(int btn)
Sets the buttons to display.
The base class for control center modules.