From e9d5585a3efa2fafce1a10dccc411ad2315732de Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Jan 2024 19:46:19 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/part/remoteLister.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/part/remoteLister.cpp') diff --git a/src/part/remoteLister.cpp b/src/part/remoteLister.cpp index b57fcfd..dc2d04f 100644 --- a/src/part/remoteLister.cpp +++ b/src/part/remoteLister.cpp @@ -70,9 +70,9 @@ namespace Filelight setShowingDotFiles( true ); //stupid KDirLister API function names setMainWindow( parent ); - //use TQT_SIGNAL(result(TDEIO::Job*)) instead and then use Job::error() - connect( this, TQT_SIGNAL(completed()), TQT_SLOT(completed()) ); - connect( this, TQT_SIGNAL(canceled()), TQT_SLOT(canceled()) ); + //use TQ_SIGNAL(result(TDEIO::Job*)) instead and then use Job::error() + connect( this, TQ_SIGNAL(completed()), TQ_SLOT(completed()) ); + connect( this, TQ_SIGNAL(canceled()), TQ_SLOT(canceled()) ); //we do this non-recursively - it is the only way! openURL( url ); @@ -97,7 +97,7 @@ namespace Filelight //as usual KDE documentation didn't suggest I needed to do this at all //I had to figure it out myself // -- avoid crash - TQTimer::singleShot( 0, this, TQT_SLOT(_completed()) ); + TQTimer::singleShot( 0, this, TQ_SLOT(_completed()) ); } void @@ -105,7 +105,7 @@ namespace Filelight { debug() << "canceled: " << url().prettyURL() << endl; - TQTimer::singleShot( 0, this, TQT_SLOT(_completed()) ); + TQTimer::singleShot( 0, this, TQ_SLOT(_completed()) ); } void -- cgit v1.2.1