From 657dd888c8a6bdc820669c441d9e1647b2ed0be1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 1 Jan 2024 17:47:34 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 27fd576acbb8b9453dadd7d1ae949396eef8fc12) --- libktorrent/util/autorotatelogjob.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libktorrent/util/autorotatelogjob.cpp') diff --git a/libktorrent/util/autorotatelogjob.cpp b/libktorrent/util/autorotatelogjob.cpp index dd1424b..30752a4 100644 --- a/libktorrent/util/autorotatelogjob.cpp +++ b/libktorrent/util/autorotatelogjob.cpp @@ -51,7 +51,7 @@ namespace bt if (bt::Exists(prev)) // if file exists start the move job { TDEIO::Job* sj = TDEIO::file_move(KURL::fromPathOrURL(prev),KURL::fromPathOrURL(curr),-1,true,false,false); - connect(sj,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(moveJobDone(TDEIO::Job* ))); + connect(sj,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(moveJobDone(TDEIO::Job* ))); return; } else @@ -65,7 +65,7 @@ namespace bt // move current log to 1 and zip it bt::Move(file,file + "-1",true); TDEIO::Job* sj = TDEIO::file_move(KURL::fromPathOrURL(file),KURL::fromPathOrURL(file + "-1"),-1,true,false,false); - connect(sj,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(moveJobDone(TDEIO::Job* ))); + connect(sj,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(moveJobDone(TDEIO::Job* ))); } else { -- cgit v1.2.1