summaryrefslogtreecommitdiffstats
path: root/libkdepim/kcmdesignerfields.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kcmdesignerfields.cpp')
-rw-r--r--libkdepim/kcmdesignerfields.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libkdepim/kcmdesignerfields.cpp b/libkdepim/kcmdesignerfields.cpp
index 159356934..bda4aa7d0 100644
--- a/libkdepim/kcmdesignerfields.cpp
+++ b/libkdepim/kcmdesignerfields.cpp
@@ -70,16 +70,16 @@ class PageItem : public QCheckListItem
TQImage img = pm.convertToImage().smoothScale( 300, 300, TQImage::ScaleMin );
mPreview = img;
- TQObjectList *list = wdg->queryList( "TQWidget" );
+ TQObjectList *list = wdg->queryList( TQWIDGET_OBJECT_NAME_STRING );
TQObjectListIt it( *list );
TQMap<TQString, TQString> allowedTypes;
- allowedTypes.insert( "TQLineEdit", i18n( "Text" ) );
- allowedTypes.insert( "TQTextEdit", i18n( "Text" ) );
- allowedTypes.insert( "TQSpinBox", i18n( "Numeric Value" ) );
- allowedTypes.insert( "TQCheckBox", i18n( "Boolean" ) );
- allowedTypes.insert( "TQComboBox", i18n( "Selection" ) );
- allowedTypes.insert( "QDateTimeEdit", i18n( "Date & Time" ) );
+ allowedTypes.insert( TQLINEEDIT_OBJECT_NAME_STRING, i18n( "Text" ) );
+ allowedTypes.insert( TQTEXTEDIT_OBJECT_NAME_STRING, i18n( "Text" ) );
+ allowedTypes.insert( TQSPINBOX_OBJECT_NAME_STRING, i18n( "Numeric Value" ) );
+ allowedTypes.insert( TQCHECKBOX_OBJECT_NAME_STRING, i18n( "Boolean" ) );
+ allowedTypes.insert( TQCOMBOBOX_OBJECT_NAME_STRING, i18n( "Selection" ) );
+ allowedTypes.insert( TQDATETIMEEDIT_OBJECT_NAME_STRING, i18n( "Date & Time" ) );
allowedTypes.insert( "KLineEdit", i18n( "Text" ) );
allowedTypes.insert( "KDateTimeWidget", i18n( "Date & Time" ) );
allowedTypes.insert( "KDatePicker", i18n( "Date" ) );