summaryrefslogtreecommitdiffstats
path: root/kexi/main/startup
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:42:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:42:08 +0900
commit20e4a19b0d7cc800d57be50c56d69023adae4046 (patch)
tree522b0ae95b8f7e9ee59a3b405de24b2dd8180bc4 /kexi/main/startup
parentc2fdb394e63c0df50f1a38eace1077a9151374ce (diff)
downloadkoffice-20e4a19b0d7cc800d57be50c56d69023adae4046.tar.gz
koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.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>
Diffstat (limited to 'kexi/main/startup')
-rw-r--r--kexi/main/startup/KexiStartupFileDialog.cpp4
-rw-r--r--kexi/main/startup/KexiStartupFileDialog_win.cpp4
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;