diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:34:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:59:57 +0900 |
commit | 2375c3f5609f85c421e9acdc6e6626f4e82e83ef (patch) | |
tree | 52dac0bf9ba459130a410ddccab61aad6fad1838 /src/freshklam.cpp | |
parent | e2e86ddaad28f879105df56542c178eed5991915 (diff) | |
download | klamav-2375c3f5609f85c421e9acdc6e6626f4e82e83ef.tar.gz klamav-2375c3f5609f85c421e9acdc6e6626f4e82e83ef.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 691489dddc259e7d7c463bde3347d7cea780d54f)
Diffstat (limited to 'src/freshklam.cpp')
-rw-r--r-- | src/freshklam.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/freshklam.cpp b/src/freshklam.cpp index 0501f25..3d19996 100644 --- a/src/freshklam.cpp +++ b/src/freshklam.cpp @@ -389,10 +389,10 @@ void Freshklam::slotSearch() childproc->start(TDEProcess::NotifyOnExit, TDEProcess::Stdout); - connect( childproc, SIGNAL(processExited(TDEProcess *)), - SLOT(childExited()) ); - connect( childproc, SIGNAL(receivedStdout(TDEProcess *, char *, int)), - SLOT(receivedOutput(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)) ); tdemain->EnableFreshklam->setEnabled(FALSE); tdemain->DisableFreshklam->setEnabled(TRUE); @@ -664,8 +664,8 @@ void Freshklam::initCheckBoxes(){ check_combo->setEnabled(false); } - connect( daemon_box, SIGNAL(toggled(bool)), SLOT(handleChecks()) ); - connect( check_combo, SIGNAL(activated(int)), SLOT(handleChecks()) ); + connect( daemon_box, TQ_SIGNAL(toggled(bool)), TQ_SLOT(handleChecks()) ); + connect( check_combo, TQ_SIGNAL(activated(int)), TQ_SLOT(handleChecks()) ); if (daemon_box->isChecked()) slotSearch(); @@ -850,10 +850,10 @@ Freshklam::getCurrentVersionOfClamAV( ) *versionproc<<suCommand; - connect( versionproc, SIGNAL(readReady(KProcIO *)), - SLOT(readVersionLine(KProcIO *)) ); - connect( versionproc, SIGNAL(processExited(TDEProcess *)), - SLOT(versionExited()) ); + connect( versionproc, TQ_SIGNAL(readReady(KProcIO *)), + TQ_SLOT(readVersionLine(KProcIO *)) ); + connect( versionproc, TQ_SIGNAL(processExited(TDEProcess *)), + TQ_SLOT(versionExited()) ); versionproc->start(KProcIO::NotifyOnExit); versionproc->closeWhenDone(); |