diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 10:04:33 +0900 |
commit | 1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch) | |
tree | f9309bc873f0f7838ee21373c32d5fd388da79d9 /khelpcenter/searchengine.cpp | |
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 <[email protected]>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'khelpcenter/searchengine.cpp')
-rw-r--r-- | khelpcenter/searchengine.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/khelpcenter/searchengine.cpp b/khelpcenter/searchengine.cpp index 07aa81535..6dde748a9 100644 --- a/khelpcenter/searchengine.cpp +++ b/khelpcenter/searchengine.cpp @@ -97,10 +97,10 @@ void SearchTraverser::connectHandler( SearchHandler *handler ) int count = 0; if ( it != mConnectCount.end() ) count = *it; if ( count == 0 ) { - connect( handler, TQT_SIGNAL( searchError( SearchHandler *, DocEntry *, const TQString & ) ), - TQT_SLOT( showSearchError( SearchHandler *, DocEntry *, const TQString & ) ) ); - connect( handler, TQT_SIGNAL( searchFinished( SearchHandler *, DocEntry *, const TQString & ) ), - TQT_SLOT( showSearchResult( SearchHandler *, DocEntry *, const TQString & ) ) ); + connect( handler, TQ_SIGNAL( searchError( SearchHandler *, DocEntry *, const TQString & ) ), + TQ_SLOT( showSearchError( SearchHandler *, DocEntry *, const TQString & ) ) ); + connect( handler, TQ_SIGNAL( searchFinished( SearchHandler *, DocEntry *, const TQString & ) ), + TQ_SLOT( showSearchResult( SearchHandler *, DocEntry *, const TQString & ) ) ); } mConnectCount[ handler ] = ++count; } @@ -116,10 +116,10 @@ void SearchTraverser::disconnectHandler( SearchHandler *handler ) int count = *it; --count; if ( count == 0 ) { - disconnect( handler, TQT_SIGNAL( searchError( SearchHandler *, DocEntry *, const TQString & ) ), - this, TQT_SLOT( showSearchError( SearchHandler *, DocEntry *, const TQString & ) ) ); - disconnect( handler, TQT_SIGNAL( searchFinished( SearchHandler *, DocEntry *, const TQString & ) ), - this, TQT_SLOT( showSearchResult( SearchHandler *, DocEntry *, const TQString & ) ) ); + disconnect( handler, TQ_SIGNAL( searchError( SearchHandler *, DocEntry *, const TQString & ) ), + this, TQ_SLOT( showSearchError( SearchHandler *, DocEntry *, const TQString & ) ) ); + disconnect( handler, TQ_SIGNAL( searchFinished( SearchHandler *, DocEntry *, const TQString & ) ), + this, TQ_SLOT( showSearchResult( SearchHandler *, DocEntry *, const TQString & ) ) ); } mConnectCount[ handler ] = count; } @@ -352,12 +352,12 @@ bool SearchEngine::search( TQString words, TQString method, int matches, *mProc << arg.utf8(); } - connect( mProc, TQT_SIGNAL( receivedStdout( TDEProcess *, char *, int ) ), - TQT_SLOT( searchStdout( TDEProcess *, char *, int ) ) ); - connect( mProc, TQT_SIGNAL( receivedStderr( TDEProcess *, char *, int ) ), - TQT_SLOT( searchStderr( TDEProcess *, char *, int ) ) ); - connect( mProc, TQT_SIGNAL( processExited( TDEProcess * ) ), - TQT_SLOT( searchExited( TDEProcess * ) ) ); + connect( mProc, TQ_SIGNAL( receivedStdout( TDEProcess *, char *, int ) ), + TQ_SLOT( searchStdout( TDEProcess *, char *, int ) ) ); + connect( mProc, TQ_SIGNAL( receivedStderr( TDEProcess *, char *, int ) ), + TQ_SLOT( searchStderr( TDEProcess *, char *, int ) ) ); + connect( mProc, TQ_SIGNAL( processExited( TDEProcess * ) ), + TQ_SLOT( searchExited( TDEProcess * ) ) ); mSearchRunning = true; mSearchResult = ""; |