diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 11:31:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-13 10:03:28 +0900 |
commit | c56e9aa280a5c584f6fa229432efdad836044590 (patch) | |
tree | 7583173c146ac75bc2706c985bf51f0caf02a349 /libtdepim/kcmdesignerfields.cpp | |
parent | eec76c7b52e7810bf67e2fc79c69a5d4f7e876b0 (diff) | |
download | tdepim-c56e9aa280a5c584f6fa229432efdad836044590.tar.gz tdepim-c56e9aa280a5c584f6fa229432efdad836044590.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30555507108fe0b2b3f9ded9de37f38d4a1d9c50)
Diffstat (limited to 'libtdepim/kcmdesignerfields.cpp')
-rw-r--r-- | libtdepim/kcmdesignerfields.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libtdepim/kcmdesignerfields.cpp b/libtdepim/kcmdesignerfields.cpp index 9156452c1..02a985b7a 100644 --- a/libtdepim/kcmdesignerfields.cpp +++ b/libtdepim/kcmdesignerfields.cpp @@ -70,16 +70,16 @@ class PageItem : public TQCheckListItem TQImage img = pm.convertToImage().smoothScale( 300, 300, TQ_ScaleMin ); mPreview = img; - TQObjectList *list = wdg->queryList( TQWIDGET_OBJECT_NAME_STRING ); + TQObjectList *list = wdg->queryList( "TQWidget" ); TQObjectListIt it( *list ); TQMap<TQString, TQString> allowedTypes; - 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( "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( "TQDateTimeEdit", i18n( "Date & Time" ) ); allowedTypes.insert( "KLineEdit", i18n( "Text" ) ); allowedTypes.insert( "KDateTimeWidget", i18n( "Date & Time" ) ); allowedTypes.insert( "KDatePicker", i18n( "Date" ) ); |