From 691489dddc259e7d7c463bde3347d7cea780d54f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Jan 2024 10:34:09 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/freshklam.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/freshklam.cpp') 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<start(KProcIO::NotifyOnExit); versionproc->closeWhenDone(); -- cgit v1.2.3