21 #ifndef TDECONFIGDIALOG_H
22 #define TDECONFIGDIALOG_H
27 #include <kdialogbase.h>
28 #include <tqasciidict.h>
79 void widgetModified();
85 void settingsChanged();
95 void settingsChanged(
const char *dialogName);
126 int dialogButtons = Default|Ok|Apply|Cancel|Help,
152 void addPage( TQWidget *page,
const TQString &itemName,
153 const TQString &pixmapName,
154 const TQString &header=TQString::null,
175 const TQString &itemName,
176 const TQString &pixmapName,
177 const TQString &header=TQString::null );
193 static bool showDialog(
const char* name );
207 virtual void updateSettings();
216 virtual void updateWidgets();
224 virtual void updateWidgetsDefault();
245 void updateButtons();
250 void settingsChangedSlot();
256 void addPageInternal(TQWidget *page,
const TQString &itemName,
257 const TQString &pixmapName,
const TQString &header);
269 static TQAsciiDict<TDEConfigDialog> openDialogs;
271 class TDEConfigDialogPrivate;
275 TDEConfigDialogPrivate *d;
278 #endif //TDECONFIGDIALOG_H
TQFrame * addPage(const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
Add a page to the dialog when the class is used in TreeList , IconList or Tabbed mode.
virtual bool isDefault()
Returns whether the current state of the dialog is the same as the default configuration.
Standard KDE configuration dialog class.
A dialog base class with standard buttons and predefined layouts.
virtual bool hasChanged()
Returns whether the current state of the dialog is different from the current configutation.