summaryrefslogtreecommitdiffstats
path: root/kate/app/kategrepdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-12 10:51:50 +0900
committerMichele Calgaro <[email protected]>2024-01-16 10:04:33 +0900
commit1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch)
treef9309bc873f0f7838ee21373c32d5fd388da79d9 /kate/app/kategrepdialog.cpp
parent55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff)
downloadtdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz
tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'kate/app/kategrepdialog.cpp')
-rw-r--r--kate/app/kategrepdialog.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kate/app/kategrepdialog.cpp b/kate/app/kategrepdialog.cpp
index c32043104..00bd1dcd6 100644
--- a/kate/app/kategrepdialog.cpp
+++ b/kate/app/kategrepdialog.cpp
@@ -262,16 +262,16 @@ GrepTool::GrepTool(TQWidget *parent, const char *name)
cmbFiles->installEventFilter( this );
cmbDir->comboBox()->installEventFilter( this );
- connect( cmbTemplate, TQT_SIGNAL(activated(int)),
- TQT_SLOT(templateActivated(int)) );
- connect( lbResult, TQT_SIGNAL(selected(const TQString&)),
- TQT_SLOT(itemSelected(const TQString&)) );
- connect( btnSearch, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotSearch()) );
- connect( btnClear, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotClear()) );
- connect( cmbPattern->lineEdit(), TQT_SIGNAL(textChanged ( const TQString & )),
- TQT_SLOT( patternTextChanged( const TQString & )));
+ connect( cmbTemplate, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(templateActivated(int)) );
+ connect( lbResult, TQ_SIGNAL(selected(const TQString&)),
+ TQ_SLOT(itemSelected(const TQString&)) );
+ connect( btnSearch, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotSearch()) );
+ connect( btnClear, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotClear()) );
+ connect( cmbPattern->lineEdit(), TQ_SIGNAL(textChanged ( const TQString & )),
+ TQ_SLOT( patternTextChanged( const TQString & )));
patternTextChanged( cmbPattern->lineEdit()->text());
}
@@ -389,12 +389,12 @@ void GrepTool::slotSearch()
*childproc << "/dev/null"; //trick to have grep always display the filename
*childproc << ";";
- connect( childproc, TQT_SIGNAL(processExited(TDEProcess *)),
- TQT_SLOT(childExited()) );
- connect( childproc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- TQT_SLOT(receivedOutput(TDEProcess *, char *, int)) );
- connect( childproc, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- TQT_SLOT(receivedErrOutput(TDEProcess *, char *, int)) );
+ connect( childproc, TQ_SIGNAL(processExited(TDEProcess *)),
+ TQ_SLOT(childExited()) );
+ connect( childproc, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ TQ_SLOT(receivedOutput(TDEProcess *, char *, int)) );
+ connect( childproc, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ TQ_SLOT(receivedErrOutput(TDEProcess *, char *, int)) );
// actually it should be checked whether the process was started successfully
lbResult->setCursor( TQCursor(TQt::WaitCursor) );