From 20e4a19b0d7cc800d57be50c56d69023adae4046 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 21:42:08 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- kexi/main/startup/KexiStartupFileDialog.cpp | 4 ++-- kexi/main/startup/KexiStartupFileDialog_win.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kexi/main/startup') diff --git a/kexi/main/startup/KexiStartupFileDialog.cpp b/kexi/main/startup/KexiStartupFileDialog.cpp index defa2e06..8f445737 100644 --- a/kexi/main/startup/KexiStartupFileDialog.cpp +++ b/kexi/main/startup/KexiStartupFileDialog.cpp @@ -55,7 +55,7 @@ KexiStartupFileDialog::KexiStartupFileDialog( //dirty hack to customize filedialog view: { - TQObjectList *l = queryList( TQPUSHBUTTON_OBJECT_NAME_STRING ); + TQObjectList *l = queryList( "TQPushButton" ); TQObjectListIt it( *l ); TQObject *obj; while ( (obj = it.current()) != 0 ) { @@ -65,7 +65,7 @@ KexiStartupFileDialog::KexiStartupFileDialog( delete l; } { - TQObjectList *l = queryList(TQWIDGET_OBJECT_NAME_STRING); + TQObjectList *l = queryList("TQWidget"); TQObjectListIt it( *l ); TQObject *obj; while ( (obj = it.current()) != 0 ) { diff --git a/kexi/main/startup/KexiStartupFileDialog_win.cpp b/kexi/main/startup/KexiStartupFileDialog_win.cpp index 1432ac3c..aac7b271 100644 --- a/kexi/main/startup/KexiStartupFileDialog_win.cpp +++ b/kexi/main/startup/KexiStartupFileDialog_win.cpp @@ -61,10 +61,10 @@ KexiStartupFileDialogBase::KexiStartupFileDialogBase( init(_dirName, filter, parent); //find "OK" button - TQObjectList *l = queryList( TQPUSHBUTTON_OBJECT_NAME_STRING, "OK", false ); + TQObjectList *l = queryList( "TQPushButton", "OK", false ); m_okBtn = dynamic_cast(l->first()); delete l; - l = queryList( TQLINEEDIT_OBJECT_NAME_STRING, "name/filter editor", false ); + l = queryList( "TQLineEdit", "name/filter editor", false ); m_lineEdit = dynamic_cast(l->first()); delete l; -- cgit v1.2.1