From b8cc513c5e875739c6790da651f6a3f47ed8f657 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 11:39:51 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- parts/filecreate/file-templates/ui | 2 +- parts/filecreate/file-templates/ui-confdialog | 18 +++++++++--------- parts/filecreate/file-templates/ui-dialog | 2 +- parts/filecreate/file-templates/ui-dialog-qt4 | 2 +- parts/filecreate/file-templates/ui-dialogb | 10 +++++----- parts/filecreate/file-templates/ui-dialogb-qt4 | 10 +++++----- parts/filecreate/file-templates/ui-dialogr | 10 +++++----- parts/filecreate/file-templates/ui-dialogr-qt4 | 10 +++++----- parts/filecreate/file-templates/ui-mainwin | 2 +- parts/filecreate/file-templates/ui-mainwin-qt4 | 6 +++--- parts/filecreate/file-templates/ui-tabdialog | 16 ++++++++-------- parts/filecreate/file-templates/ui-widget | 2 +- parts/filecreate/file-templates/ui-widget-qt4 | 2 +- parts/filecreate/file-templates/ui-wizard | 4 ++-- parts/fileselector/tdeactionselector.cpp | 2 +- parts/konsole/konsoleviewwidget.cpp | 2 +- parts/partexplorer/partexplorerform.cpp | 2 +- 17 files changed, 51 insertions(+), 51 deletions(-) (limited to 'parts') diff --git a/parts/filecreate/file-templates/ui b/parts/filecreate/file-templates/ui index 670a758b..5f42faf0 100644 --- a/parts/filecreate/file-templates/ui +++ b/parts/filecreate/file-templates/ui @@ -1,6 +1,6 @@ Form1 - + Form1 diff --git a/parts/filecreate/file-templates/ui-confdialog b/parts/filecreate/file-templates/ui-confdialog index ff2dd7f4..5429e04f 100644 --- a/parts/filecreate/file-templates/ui-confdialog +++ b/parts/filecreate/file-templates/ui-confdialog @@ -1,6 +1,6 @@ MyDialog1 - + MyDialog1 @@ -28,7 +28,7 @@ 6 - + New Item @@ -46,11 +46,11 @@ - + tabWidget - + Widget2 @@ -58,7 +58,7 @@ Tab - + Widget3 @@ -67,7 +67,7 @@ - + Layout1 @@ -81,7 +81,7 @@ 6 - + buttonHelp @@ -112,7 +112,7 @@ - + buttonOk @@ -126,7 +126,7 @@ true - + buttonCancel diff --git a/parts/filecreate/file-templates/ui-dialog b/parts/filecreate/file-templates/ui-dialog index 92e9bfff..16eb3a67 100644 --- a/parts/filecreate/file-templates/ui-dialog +++ b/parts/filecreate/file-templates/ui-dialog @@ -1,6 +1,6 @@ Form1 - + Form1 diff --git a/parts/filecreate/file-templates/ui-dialog-qt4 b/parts/filecreate/file-templates/ui-dialog-qt4 index b2096e86..876a7527 100644 --- a/parts/filecreate/file-templates/ui-dialog-qt4 +++ b/parts/filecreate/file-templates/ui-dialog-qt4 @@ -3,7 +3,7 @@ Dialog - + 0 diff --git a/parts/filecreate/file-templates/ui-dialogb b/parts/filecreate/file-templates/ui-dialogb index c29cbd15..f771fe9a 100644 --- a/parts/filecreate/file-templates/ui-dialogb +++ b/parts/filecreate/file-templates/ui-dialogb @@ -1,6 +1,6 @@ MyDialog1 - + MyDialog1 @@ -18,7 +18,7 @@ true - + Layout1 @@ -40,7 +40,7 @@ 6 - + buttonHelp @@ -71,7 +71,7 @@ - + buttonOk @@ -85,7 +85,7 @@ true - + buttonCancel diff --git a/parts/filecreate/file-templates/ui-dialogb-qt4 b/parts/filecreate/file-templates/ui-dialogb-qt4 index 33167acc..a0717aa7 100644 --- a/parts/filecreate/file-templates/ui-dialogb-qt4 +++ b/parts/filecreate/file-templates/ui-dialogb-qt4 @@ -3,7 +3,7 @@ Dialog - + 0 @@ -15,7 +15,7 @@ Dialog - + 20 @@ -24,7 +24,7 @@ 33 - + 0 @@ -45,14 +45,14 @@ - + OK - + Cancel diff --git a/parts/filecreate/file-templates/ui-dialogr b/parts/filecreate/file-templates/ui-dialogr index 884f8c22..bc0e217b 100644 --- a/parts/filecreate/file-templates/ui-dialogr +++ b/parts/filecreate/file-templates/ui-dialogr @@ -1,6 +1,6 @@ MyDialog1 - + MyDialog1 @@ -18,7 +18,7 @@ true - + Layout5 @@ -40,7 +40,7 @@ 6 - + buttonOk @@ -54,7 +54,7 @@ true - + buttonCancel @@ -65,7 +65,7 @@ true - + buttonHelp diff --git a/parts/filecreate/file-templates/ui-dialogr-qt4 b/parts/filecreate/file-templates/ui-dialogr-qt4 index d047e11c..b3547907 100644 --- a/parts/filecreate/file-templates/ui-dialogr-qt4 +++ b/parts/filecreate/file-templates/ui-dialogr-qt4 @@ -3,7 +3,7 @@ Dialog - + 0 @@ -15,7 +15,7 @@ Dialog - + 300 @@ -24,7 +24,7 @@ 106 - + 0 @@ -32,14 +32,14 @@ 6 - + OK - + Cancel diff --git a/parts/filecreate/file-templates/ui-mainwin b/parts/filecreate/file-templates/ui-mainwin index d8eff427..5ce4dec8 100644 --- a/parts/filecreate/file-templates/ui-mainwin +++ b/parts/filecreate/file-templates/ui-mainwin @@ -1,6 +1,6 @@ Form1 - + Form1 diff --git a/parts/filecreate/file-templates/ui-mainwin-qt4 b/parts/filecreate/file-templates/ui-mainwin-qt4 index a444cfa3..9d4dbd5d 100644 --- a/parts/filecreate/file-templates/ui-mainwin-qt4 +++ b/parts/filecreate/file-templates/ui-mainwin-qt4 @@ -3,7 +3,7 @@ MainWindow - + 0 @@ -15,8 +15,8 @@ MainWindow - - + + 0 diff --git a/parts/filecreate/file-templates/ui-tabdialog b/parts/filecreate/file-templates/ui-tabdialog index 4be4f92e..c87b78fb 100644 --- a/parts/filecreate/file-templates/ui-tabdialog +++ b/parts/filecreate/file-templates/ui-tabdialog @@ -1,6 +1,6 @@ MyDialog1 - + MyDialog1 @@ -28,11 +28,11 @@ 6 - + tabWidget - + Widget8 @@ -40,7 +40,7 @@ Tab - + Widget9 @@ -49,7 +49,7 @@ - + Layout1 @@ -63,7 +63,7 @@ 6 - + buttonHelp @@ -94,7 +94,7 @@ - + buttonOk @@ -108,7 +108,7 @@ true - + buttonCancel diff --git a/parts/filecreate/file-templates/ui-widget b/parts/filecreate/file-templates/ui-widget index 670a758b..5f42faf0 100644 --- a/parts/filecreate/file-templates/ui-widget +++ b/parts/filecreate/file-templates/ui-widget @@ -1,6 +1,6 @@ Form1 - + Form1 diff --git a/parts/filecreate/file-templates/ui-widget-qt4 b/parts/filecreate/file-templates/ui-widget-qt4 index d8b6e63c..6e11cf33 100644 --- a/parts/filecreate/file-templates/ui-widget-qt4 +++ b/parts/filecreate/file-templates/ui-widget-qt4 @@ -3,7 +3,7 @@ Form - + 0 diff --git a/parts/filecreate/file-templates/ui-wizard b/parts/filecreate/file-templates/ui-wizard index b942afb2..5fbb675a 100644 --- a/parts/filecreate/file-templates/ui-wizard +++ b/parts/filecreate/file-templates/ui-wizard @@ -1,6 +1,6 @@ Form1 - + Form1 @@ -15,7 +15,7 @@ Form1 - + page diff --git a/parts/fileselector/tdeactionselector.cpp b/parts/fileselector/tdeactionselector.cpp index 1c639477..283731c2 100644 --- a/parts/fileselector/tdeactionselector.cpp +++ b/parts/fileselector/tdeactionselector.cpp @@ -391,7 +391,7 @@ bool TDEActionSelector::eventFilter( TQObject *o, TQEvent *e ) } return true; } - else if ( o->inherits( TQLISTBOX_OBJECT_NAME_STRING ) ) + else if ( o->inherits( "TQListBox" ) ) { switch ( ((TQKeyEvent*)e)->key() ) { diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp index 7c21cab2..5bb04afe 100644 --- a/parts/konsole/konsoleviewwidget.cpp +++ b/parts/konsole/konsoleviewwidget.cpp @@ -62,7 +62,7 @@ void KonsoleViewWidget::activate() setFocusProxy(part->widget()); part->widget()->setFocus(); - if (part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING)) + if (part->widget()->inherits("TQFrame")) ((TQFrame*)part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); vbox->addWidget(part->widget()); diff --git a/parts/partexplorer/partexplorerform.cpp b/parts/partexplorer/partexplorerform.cpp index 76e4fc50..baf05bb2 100644 --- a/parts/partexplorer/partexplorerform.cpp +++ b/parts/partexplorer/partexplorerform.cpp @@ -212,7 +212,7 @@ void PartExplorerForm::fillServiceList( const TDETrader::OfferList &services ) TQVariant property = service->property( propertyName ); TQString propertyType = property.typeName(); TQString propertyValue; - if (propertyType == TQSTRINGLIST_OBJECT_NAME_STRING) { + if (propertyType == "TQStringList") { propertyValue = property.toStringList().join(", "); } else { -- cgit v1.2.1