diff options
Diffstat (limited to 'kexi/main/startup')
-rw-r--r-- | kexi/main/startup/KexiStartupFileDialog.cpp | 4 | ||||
-rw-r--r-- | kexi/main/startup/KexiStartupFileDialog_win.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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<TQPushButton*>(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<TQLineEdit*>(l->first()); delete l; |