diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 10:04:33 +0900 |
commit | 1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch) | |
tree | f9309bc873f0f7838ee21373c32d5fd388da79d9 /tqt3integration | |
parent | 55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff) | |
download | tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'tqt3integration')
-rw-r--r-- | tqt3integration/libtqttde/tqttde.cpp | 2 | ||||
-rw-r--r-- | tqt3integration/module/module.cpp | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tqt3integration/libtqttde/tqttde.cpp b/tqt3integration/libtqttde/tqttde.cpp index 3647db8a2..45b0a8b96 100644 --- a/tqt3integration/libtqttde/tqttde.cpp +++ b/tqt3integration/libtqttde/tqttde.cpp @@ -90,7 +90,7 @@ static DCOPClient* dcopClient() if( !tqApp->inherits( "TDEApplication" )) // KApp takes care of input blocking { static tqttde_EventLoop* loop = new tqttde_EventLoop; - TQObject::connect( dcop, TQT_SIGNAL( blockUserInput( bool )), loop, TQT_SLOT( block( bool ))); + TQObject::connect( dcop, TQ_SIGNAL( blockUserInput( bool )), loop, TQ_SLOT( block( bool ))); } } return dcop; diff --git a/tqt3integration/module/module.cpp b/tqt3integration/module/module.cpp index e397105b1..9a7d8f6e3 100644 --- a/tqt3integration/module/module.cpp +++ b/tqt3integration/module/module.cpp @@ -93,7 +93,7 @@ void* Module::getOpenFileNames( const TQString& filter, TQString workingDirector dlg->setMode(( multiple ? KFile::Files : KFile::File ) | KFile::LocalOnly ); dlg->setPlainCaption( caption.isNull() ? i18n("Open") : caption ); // TODO dlg->ops->clearHistory(); - connect( dlg, TQT_SIGNAL( dialogDone( int )), TQT_SLOT( dialogDone( int ))); + connect( dlg, TQ_SIGNAL( dialogDone( int )), TQ_SLOT( dialogDone( int ))); dlg->show(); return dlg; } @@ -117,7 +117,7 @@ void* Module::getSaveFileName( const TQString& initialSelection, const TQString& prepareDialog( dlg, parent, wmclass1, wmclass2 ); dlg->setOperationMode( KFileDialog::Saving ); dlg->setPlainCaption( caption.isNull() ? i18n("Save As") : caption ); - connect( dlg, TQT_SIGNAL( dialogDone( int )), TQT_SLOT( dialogDone( int ))); + connect( dlg, TQ_SIGNAL( dialogDone( int )), TQ_SLOT( dialogDone( int ))); dlg->show(); return dlg; } @@ -130,7 +130,7 @@ void* Module::getExistingDirectory( const TQString& initialDirectory, long paren name.isEmpty() ? name : "kdirselect dialog", false ); prepareDialog( dlg, parent, wmclass1, wmclass2 ); dlg->setPlainCaption( caption.isNull() ? i18n( "Select Folder" ) : caption ); - connect( dlg, TQT_SIGNAL( dialogDone( int )), TQT_SLOT( dialogDone( int ))); + connect( dlg, TQ_SIGNAL( dialogDone( int )), TQ_SLOT( dialogDone( int ))); dlg->show(); return dlg; } @@ -144,7 +144,7 @@ void* Module::getColor( const TQColor& color, long parent, const TQCString& name dlg->setColor( color ); prepareDialog( dlg, parent, wmclass1, wmclass2 ); dlg->setPlainCaption( i18n( "Select Color" )); - connect( dlg, TQT_SIGNAL( dialogDone( int )), TQT_SLOT( dialogDone( int ))); + connect( dlg, TQ_SIGNAL( dialogDone( int )), TQ_SLOT( dialogDone( int ))); dlg->show(); return dlg; } @@ -156,7 +156,7 @@ void* Module::getFont( bool /*ok*/, const TQFont& def, long parent, const TQCStr dlg->setFont( def, false ); prepareDialog( dlg, parent, wmclass1, wmclass2 ); dlg->setPlainCaption( i18n( "Select Font" )); - connect( dlg, TQT_SIGNAL( dialogDone( int )), TQT_SLOT( dialogDone( int ))); + connect( dlg, TQ_SIGNAL( dialogDone( int )), TQ_SLOT( dialogDone( int ))); dlg->show(); return dlg; } @@ -245,7 +245,7 @@ void* Module::messageBox1( int type, long parent, const TQString& caption, const &checkboxResult, KMessageBox::Notify | KMessageBox::NoExec); prepareDialog( dialog, parent, wmclass1, wmclass2 ); dialog->setPlainCaption( caption ); - connect( dialog, TQT_SIGNAL( dialogDone( int )), TQT_SLOT( dialogDone( int ))); + connect( dialog, TQ_SIGNAL( dialogDone( int )), TQ_SLOT( dialogDone( int ))); btns b; b.buttons[ 0 ] = buttons[ 0 ]; b.buttons[ 1 ] = buttons[ 1 ]; @@ -277,7 +277,7 @@ void* Module::messageBox2( int type, long parent, const TQString& caption, const &checkboxResult, KMessageBox::Notify | KMessageBox::NoExec); prepareDialog( dialog, parent, wmclass1, wmclass2 ); dialog->setPlainCaption( caption ); - connect( dialog, TQT_SIGNAL( dialogDone( int )), TQT_SLOT( dialogDone( int ))); + connect( dialog, TQ_SIGNAL( dialogDone( int )), TQ_SLOT( dialogDone( int ))); dialog->show(); return dialog; } |