tdeconfigdialogmanager.cpp
51 TDEConfigDialogManager::TDEConfigDialogManager(TQWidget *parent, TDEConfigSkeleton *conf, const char *name)
84 changedMap.insert(TQDATETIMEEDIT_OBJECT_NAME_STRING, TQT_SIGNAL(valueChanged(const TQDateTime &)));
91 changedMap.insert(TQTEXTBROWSER_OBJECT_NAME_STRING, TQT_SIGNAL(sourceChanged(const TQString &)));
184 TQMap<TQString, TQCString>::const_iterator changedIt = changedMap.find(childWidget->className());
197 kdWarning(178) << "Don't know how to monitor widget '" << childWidget->className() << "' for changes!" << endl;
218 kdWarning(178) << "A widget named '" << widgetName << "' was found but there is no setting named '" << configId << "'" << endl;
238 TQMap<TQString, TQCString>::const_iterator changedIt = changedMap.find(childWidget->className());
243 kdDebug(178) << "Widget '" << widgetName << "' (" << childWidget->className() << ") remains unmanaged." << endl;
void updateWidgetsDefault()
Traverse the specified widgets, sets the state of all known widgets according to the default state in...
Definition: tdeconfigdialogmanager.cpp:297
void setupWidget(TQWidget *widget, TDEConfigSkeletonItem *item)
Setup secondary widget properties.
Definition: tdeconfigdialogmanager.cpp:129
void updateWidgets()
Traverse the specified widgets, sets the state of all known widgets according to the state in the set...
Definition: tdeconfigdialogmanager.cpp:259
bool isDefault()
Returns whether the current state of the known widgets are the same as the default state in the confi...
Definition: tdeconfigdialogmanager.cpp:389
bool parseChildren(const TQWidget *widget, bool trackChanges)
Recursive function that finds all known children.
Definition: tdeconfigdialogmanager.cpp:153
virtual TQVariant maxValue() const
Return maximum value of item or invalid if not specified.
Definition: tdeconfigskeleton.h:191
bool hasChanged()
Returns whether the current state of the known widgets are different from the state in the config obj...
Definition: tdeconfigdialogmanager.cpp:365
TQMap< TQString, TQCString > changedMap
Map of the classes and the signals that they emit when changed.
Definition: tdeconfigdialogmanager.h:224
void setProperty(TQWidget *w, const TQVariant &v)
Set a property.
Definition: tdeconfigdialogmanager.cpp:333
TDEConfigSkeleton * m_conf
TDEConfigSkeleton object used to store settings.
Definition: tdeconfigdialogmanager.h:209
void settingsChanged()
One or more of the settings have been saved (such as when the user clicks on the Apply button).
virtual TQVariant minValue() const
Return minimum value of item or invalid if not specified.
Definition: tdeconfigskeleton.h:186
Class for handling preferences settings for an application.
Definition: tdeconfigskeleton.h:365
TDEConfigSkeletonItem * findItem(const TQString &name)
Lookup item by name.
Definition: tdeconfigskeleton.cpp:1204
void widgetModified()
If retrieveSettings() was told to track changes then if any known setting was changed this signal wil...
bool useDefaults(bool b)
Indicate whether this object should reflect the actual values or the default values.
Definition: tdeconfigskeleton.cpp:923
TQSqlPropertyMap * propertyMap
Pointer to the property map for easy access.
Definition: tdeconfigdialogmanager.h:219
void addWidget(TQWidget *widget)
Add additional widgets to manage.
Definition: tdeconfigdialogmanager.cpp:124
TDEConfigDialogManager(TQWidget *parent, TDEConfigSkeleton *conf, const char *name=0)
Constructor.
Definition: tdeconfigdialogmanager.cpp:51
void updateSettings()
Traverse the specified widgets, saving the settings of all known widgets in the settings object.
Definition: tdeconfigdialogmanager.cpp:304