From 37ad15ad2c77711db7c9c4bbd62d5a1cb5749abc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 7 Feb 2024 11:07:16 +0900 Subject: Replace Q_SIGNALS and Q_SLOTS Signed-off-by: Michele Calgaro --- languages/ada/addclassdlg.ui | 4 ++-- languages/ada/configproblemreporter.ui | 4 ++-- languages/cpp/addattributedialogbase.ui | 4 ++-- languages/cpp/addmethoddialogbase.ui | 4 ++-- languages/cpp/app_templates/khello2/widgetbase.ui | 4 ++-- languages/cpp/app_templates/kmake/mainview.ui | 4 ++-- languages/cpp/app_templates/kscons_kxt/QUICKSTART | 2 +- languages/cpp/app_templates/kscons_tdemdi/QUICKSTART | 2 +- languages/cpp/ccconfigwidgetbase.ui | 4 ++-- languages/cpp/classgeneratorconfigbase.ui | 4 ++-- languages/cpp/configproblemreporter.ui | 4 ++-- languages/cpp/cppnewclassdlgbase.ui | 4 ++-- languages/cpp/creategettersetter.ui | 4 ++-- languages/cpp/createpcsdialogbase.ui | 4 ++-- languages/cpp/debugger/debuggertracingdialogbase.ui | 4 ++-- languages/cpp/doc/qt-kdev3.toc | 2 +- languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui | 4 ++-- languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui | 8 ++++---- languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui | 8 ++++---- languages/cpp/subclassingdlgbase.ui | 4 ++-- languages/java/configproblemreporter.ui | 4 ++-- languages/kjssupport/subclassingdlgbase.ui | 4 ++-- languages/lib/debugger/Mainpage.dox | 2 +- languages/lib/designer_integration/implementationwidgetbase.ui | 4 ++-- languages/pascal/configproblemreporter.ui | 4 ++-- languages/php/phpconfigwidgetbase.ui | 4 ++-- languages/python/app_templates/pyqt/templates-ui-mainwin | 4 ++-- languages/ruby/app_templates/kapp/app.rb | 2 +- languages/ruby/app_templates/kapp/appview.rb | 6 +++--- languages/ruby/app_templates/kxt/app.rb | 2 +- languages/ruby/app_templates/kxt/appview.rb | 6 +++--- languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb | 2 +- languages/sql/sqlconfigwidget.ui | 8 ++++---- 33 files changed, 67 insertions(+), 67 deletions(-) (limited to 'languages') diff --git a/languages/ada/addclassdlg.ui b/languages/ada/addclassdlg.ui index 046b06ab..94006be8 100644 --- a/languages/ada/addclassdlg.ui +++ b/languages/ada/addclassdlg.ui @@ -420,9 +420,9 @@ PushButton2 PushButton3 - + Public_toggled( bool ) - + keditlistbox.h kcombobox.h diff --git a/languages/ada/configproblemreporter.ui b/languages/ada/configproblemreporter.ui index f2e03383..32a9b13d 100644 --- a/languages/ada/configproblemreporter.ui +++ b/languages/ada/configproblemreporter.ui @@ -78,12 +78,12 @@ kdialog.h configproblemreporter.ui.h - + init() destroy() accept() bgParserCheckbox_toggled( bool b ) - + diff --git a/languages/cpp/addattributedialogbase.ui b/languages/cpp/addattributedialogbase.ui index 793d26b4..86ee3f25 100644 --- a/languages/cpp/addattributedialogbase.ui +++ b/languages/cpp/addattributedialogbase.ui @@ -353,14 +353,14 @@ buttonOk buttonCancel - + init() destroy() addAttribute() deleteCurrentAttribute() currentChanged(TQListViewItem*) updateGUI() - + diff --git a/languages/cpp/addmethoddialogbase.ui b/languages/cpp/addmethoddialogbase.ui index b4af8a5e..83af7489 100644 --- a/languages/cpp/addmethoddialogbase.ui +++ b/languages/cpp/addmethoddialogbase.ui @@ -436,7 +436,7 @@ buttonOk buttonCancel - + init() destroy() addMethod() @@ -444,7 +444,7 @@ currentChanged(TQListViewItem*) updateGUI() browseImplementationFile() - + diff --git a/languages/cpp/app_templates/khello2/widgetbase.ui b/languages/cpp/app_templates/khello2/widgetbase.ui index 365f4cf2..90cac0c6 100644 --- a/languages/cpp/app_templates/khello2/widgetbase.ui +++ b/languages/cpp/app_templates/khello2/widgetbase.ui @@ -45,8 +45,8 @@ button_clicked() - + button_clicked() - + diff --git a/languages/cpp/app_templates/kmake/mainview.ui b/languages/cpp/app_templates/kmake/mainview.ui index 194d8ffe..a5481dd2 100644 --- a/languages/cpp/app_templates/kmake/mainview.ui +++ b/languages/cpp/app_templates/kmake/mainview.ui @@ -69,8 +69,8 @@ slotHelloButtonClicked() - + slotHelloButtonClicked() - + diff --git a/languages/cpp/app_templates/kscons_kxt/QUICKSTART b/languages/cpp/app_templates/kscons_kxt/QUICKSTART index 4d23ce93..7036e4cb 100644 --- a/languages/cpp/app_templates/kscons_kxt/QUICKSTART +++ b/languages/cpp/app_templates/kscons_kxt/QUICKSTART @@ -64,7 +64,7 @@ To make scons run (much) faster, consult ./addons/README in bksys MOC PROCESSING In qt programs, when a header 'foo.h' contains a class that has -Q_SIGNALS and Q_SLOTS, then 'foo.h' must contain the macro TQ_OBJECT +signals and slots, then 'foo.h' must contain the macro TQ_OBJECT in order to compile. foo_moc.cpp is usually generated, and is used to produce foo_moc.o which is linked with the program or the library. diff --git a/languages/cpp/app_templates/kscons_tdemdi/QUICKSTART b/languages/cpp/app_templates/kscons_tdemdi/QUICKSTART index 4d23ce93..7036e4cb 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/QUICKSTART +++ b/languages/cpp/app_templates/kscons_tdemdi/QUICKSTART @@ -64,7 +64,7 @@ To make scons run (much) faster, consult ./addons/README in bksys MOC PROCESSING In qt programs, when a header 'foo.h' contains a class that has -Q_SIGNALS and Q_SLOTS, then 'foo.h' must contain the macro TQ_OBJECT +signals and slots, then 'foo.h' must contain the macro TQ_OBJECT in order to compile. foo_moc.cpp is usually generated, and is used to produce foo_moc.o which is linked with the program or the library. diff --git a/languages/cpp/ccconfigwidgetbase.ui b/languages/cpp/ccconfigwidgetbase.ui index 49b6c553..294deadc 100644 --- a/languages/cpp/ccconfigwidgetbase.ui +++ b/languages/cpp/ccconfigwidgetbase.ui @@ -1655,7 +1655,7 @@ you right click on a variable in a header file. newPCSButton advancedOptions - + implementationFile() interfaceFile() slotAddPPPath() @@ -1676,7 +1676,7 @@ you right click on a variable in a header file. isQMakeExecutable(const TQString&) isValidQtDir(const TQString&) openPluginPaths() - + diff --git a/languages/cpp/classgeneratorconfigbase.ui b/languages/cpp/classgeneratorconfigbase.ui index a047fca3..a0c7f964 100644 --- a/languages/cpp/classgeneratorconfigbase.ui +++ b/languages/cpp/classgeneratorconfigbase.ui @@ -253,9 +253,9 @@ kdialog.h - + templateTypeChanged(int type) - + diff --git a/languages/cpp/configproblemreporter.ui b/languages/cpp/configproblemreporter.ui index d752d715..9085a377 100644 --- a/languages/cpp/configproblemreporter.ui +++ b/languages/cpp/configproblemreporter.ui @@ -176,14 +176,14 @@ If disabled, the parser will typically only run when the file is saved. CppSupportPart* m_part; - + init() destroy() setPart( CppSupportPart * part ) accept() bgParserCheckbox_toggled( bool b ) setDelayLabel( int delay ) - + diff --git a/languages/cpp/cppnewclassdlgbase.ui b/languages/cpp/cppnewclassdlgbase.ui index 6cef7a20..4f827821 100644 --- a/languages/cpp/cppnewclassdlgbase.ui +++ b/languages/cpp/cppnewclassdlgbase.ui @@ -1236,7 +1236,7 @@ Namespace1::Namespace2::...::NamespaceN gen_config constructors_cpp_edit - + updateClassStore() access_view_mouseButtonPressed( int button, TQListViewItem * item, const TQPoint & p, int c ) classNameChanged( const TQString & text ) @@ -1278,7 +1278,7 @@ Namespace1::Namespace2::...::NamespaceN scopeboxActivated( int ) classNamespaceChanged( const TQString & ) headeronly_box_stateChanged(int val) - + diff --git a/languages/cpp/creategettersetter.ui b/languages/cpp/creategettersetter.ui index fcd6e684..1080ffc3 100644 --- a/languages/cpp/creategettersetter.ui +++ b/languages/cpp/creategettersetter.ui @@ -219,9 +219,9 @@ m_btnCancel m_btnOk - + slotInlineChanged() - + klineedit.h diff --git a/languages/cpp/createpcsdialogbase.ui b/languages/cpp/createpcsdialogbase.ui index a128e877..14e859b0 100644 --- a/languages/cpp/createpcsdialogbase.ui +++ b/languages/cpp/createpcsdialogbase.ui @@ -159,10 +159,10 @@ class TQListViewItem; - + slotSelected(const TQString&) slotSelectionChanged(TQListViewItem*) - + klineedit.h diff --git a/languages/cpp/debugger/debuggertracingdialogbase.ui b/languages/cpp/debugger/debuggertracingdialogbase.ui index b6e01791..4f42b213 100644 --- a/languages/cpp/debugger/debuggertracingdialogbase.ui +++ b/languages/cpp/debugger/debuggertracingdialogbase.ui @@ -130,9 +130,9 @@ If custom format string is not enabled, names and values of all expressions will reject() - + enableOrDisable() - + klineedit.h diff --git a/languages/cpp/doc/qt-kdev3.toc b/languages/cpp/doc/qt-kdev3.toc index ff9826cd..4675d7c2 100644 --- a/languages/cpp/doc/qt-kdev3.toc +++ b/languages/cpp/doc/qt-kdev3.toc @@ -16,7 +16,7 @@ - + diff --git a/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui index 7fc72d0e..5d1ff666 100644 --- a/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui +++ b/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui @@ -55,9 +55,9 @@ - + enabled(int) - + klineedit.h diff --git a/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui index efba8920..af41060e 100644 --- a/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui +++ b/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui @@ -125,12 +125,12 @@ Only the selected entry will be used class TQListBoxItem; - + enabled(int) - - + + slotSelectionChanged(TQListBoxItem*) - + kcombobox.h diff --git a/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui index 8ac0d2db..7253be6d 100644 --- a/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui +++ b/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui @@ -118,12 +118,12 @@ Only the selected entry will be used class TQListBoxItem; - + enabled(int) - - + + slotSelectionChanged(TQListBoxItem*) - + kurlrequester.h diff --git a/languages/cpp/subclassingdlgbase.ui b/languages/cpp/subclassingdlgbase.ui index 67dcd97f..1b41e69e 100644 --- a/languages/cpp/subclassingdlgbase.ui +++ b/languages/cpp/subclassingdlgbase.ui @@ -233,9 +233,9 @@ onChangedClassName() - + onChangedClassName() - + diff --git a/languages/java/configproblemreporter.ui b/languages/java/configproblemreporter.ui index 9bea48d7..c253e1d4 100644 --- a/languages/java/configproblemreporter.ui +++ b/languages/java/configproblemreporter.ui @@ -234,7 +234,7 @@ pushButton5 pushButton6 - + init() destroy() accept() @@ -244,7 +244,7 @@ removeSpecialHeader() moveUpSpecialHeader() moveDownSpecialHeader() - + diff --git a/languages/kjssupport/subclassingdlgbase.ui b/languages/kjssupport/subclassingdlgbase.ui index 23ec7b34..250da264 100644 --- a/languages/kjssupport/subclassingdlgbase.ui +++ b/languages/kjssupport/subclassingdlgbase.ui @@ -245,9 +245,9 @@ kdialog.h - + onChangedClassName() - + diff --git a/languages/lib/debugger/Mainpage.dox b/languages/lib/debugger/Mainpage.dox index 9a804a36..c0e6b077 100644 --- a/languages/lib/debugger/Mainpage.dox +++ b/languages/lib/debugger/Mainpage.dox @@ -12,7 +12,7 @@ This library contains classes to implement debugger support for a programming la Each debugger support plugin must interact with an editor to set breakpoints, jump to execution points, etc. This kind of interaction is implemented in @ref Debugger class. Your debugger support plugin just need to create -an instance of @ref Debugger class and connect its Q_SIGNALS, for example: +an instance of @ref Debugger class and connect its signals, for example: @code m_debugger = new Debugger( partController() ); diff --git a/languages/lib/designer_integration/implementationwidgetbase.ui b/languages/lib/designer_integration/implementationwidgetbase.ui index d2780bc1..45cebd8e 100644 --- a/languages/lib/designer_integration/implementationwidgetbase.ui +++ b/languages/lib/designer_integration/implementationwidgetbase.ui @@ -257,9 +257,9 @@ okButton cancelButton - + classNameChanged(const TQString &) - + klineedit.h diff --git a/languages/pascal/configproblemreporter.ui b/languages/pascal/configproblemreporter.ui index 020557a1..3ba64c82 100644 --- a/languages/pascal/configproblemreporter.ui +++ b/languages/pascal/configproblemreporter.ui @@ -77,12 +77,12 @@ kdialog.h - + init() destroy() accept() bgParserCheckbox_toggled( bool b ) - + diff --git a/languages/php/phpconfigwidgetbase.ui b/languages/php/phpconfigwidgetbase.ui index 09124bf8..4213cca5 100644 --- a/languages/php/phpconfigwidgetbase.ui +++ b/languages/php/phpconfigwidgetbase.ui @@ -544,12 +544,12 @@ the internal web browser. Please make sure that the webserver was compiled with zend_edit zend_button - + slotAboutClicked() slotPHPExeButtonClicked() slotPHPIniButtonClicked() slotZendButtonClicked() - + diff --git a/languages/python/app_templates/pyqt/templates-ui-mainwin b/languages/python/app_templates/pyqt/templates-ui-mainwin index 5ce4dec8..62d6d51a 100644 --- a/languages/python/app_templates/pyqt/templates-ui-mainwin +++ b/languages/python/app_templates/pyqt/templates-ui-mainwin @@ -400,7 +400,7 @@ helpAbout() - + fileNew() fileOpen() fileSave() @@ -416,6 +416,6 @@ helpIndex() helpContents() helpAbout() - + diff --git a/languages/ruby/app_templates/kapp/app.rb b/languages/ruby/app_templates/kapp/app.rb index 8d135b19..f5b9927e 100644 --- a/languages/ruby/app_templates/kapp/app.rb +++ b/languages/ruby/app_templates/kapp/app.rb @@ -9,7 +9,7 @@ class %{APPNAMESC} < KDE::MainWindow - Q_SLOTS 'fileNew()', + slots 'fileNew()', 'fileOpen()', 'fileSave()', 'fileSaveAs()', diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb index b81155b0..7ee8133f 100644 --- a/languages/ruby/app_templates/kapp/appview.rb +++ b/languages/ruby/app_templates/kapp/appview.rb @@ -15,14 +15,14 @@ class %{APPNAMESC}View < TQt::Widget # # Use this signal to change the content of the statusbar # - Q_SIGNALS 'signalChangeStatusbar(const TQString&)' + signals 'signalChangeStatusbar(const TQString&)' # # Use this signal to change the content of the caption # - Q_SIGNALS 'signalChangeCaption(const TQString&)' + signals 'signalChangeCaption(const TQString&)' - Q_SLOTS 'slotOnURL(const TQString&)', + slots 'slotOnURL(const TQString&)', 'slotSetTitle(const TQString&)' def initialize(parent) diff --git a/languages/ruby/app_templates/kxt/app.rb b/languages/ruby/app_templates/kxt/app.rb index f7a18399..4ffcfe51 100644 --- a/languages/ruby/app_templates/kxt/app.rb +++ b/languages/ruby/app_templates/kxt/app.rb @@ -9,7 +9,7 @@ class %{APPNAMESC} < KDE::MainWindow - Q_SLOTS 'fileNew()', + slots 'fileNew()', 'optionsPreferences()', 'newToolbarConfig()', 'changeStatusbar(const TQString&)', diff --git a/languages/ruby/app_templates/kxt/appview.rb b/languages/ruby/app_templates/kxt/appview.rb index 4f63037f..2557b9da 100644 --- a/languages/ruby/app_templates/kxt/appview.rb +++ b/languages/ruby/app_templates/kxt/appview.rb @@ -15,14 +15,14 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base # # Use this signal to change the content of the statusbar # - Q_SIGNALS 'signalChangeStatusbar(const TQString&)' + signals 'signalChangeStatusbar(const TQString&)' # # Use this signal to change the content of the caption # - Q_SIGNALS 'signalChangeCaption(const TQString&)' + signals 'signalChangeCaption(const TQString&)' - Q_SLOTS 'switchColors()', + slots 'switchColors()', 'settingsChanged()' def initialize(parent) diff --git a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb index 1f399323..ceae4ad1 100644 --- a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb +++ b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb @@ -1,6 +1,6 @@ class %{APPNAMESC} < TQt::MainWindow - Q_SLOTS 'newDoc()', + slots 'newDoc()', 'choose()', 'load( const TQString& )', 'save()', diff --git a/languages/sql/sqlconfigwidget.ui b/languages/sql/sqlconfigwidget.ui index cfa61833..81e20b78 100644 --- a/languages/sql/sqlconfigwidget.ui +++ b/languages/sql/sqlconfigwidget.ui @@ -164,10 +164,10 @@ TQDomDocument* doc; bool changed; - + newConfigSaved() - - + + init() valueChanged( int, int ) removeDb() @@ -176,7 +176,7 @@ accept() setProjectDom( TQDomDocument * doc ) loadConfig() - + -- cgit v1.2.1