summaryrefslogtreecommitdiffstats
path: root/src/gvcore/slideshow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-30 16:28:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:26:22 +0900
commitf476b77d1dda2e0e45cdf065b1907215c90fccd6 (patch)
treedec65915640fe8ca8f67f9c490575d939b89d5df /src/gvcore/slideshow.cpp
parent5eb453b778dba31ee1c5956ca9c9d6483c1cd620 (diff)
downloadgwenview-f476b77d.tar.gz
gwenview-f476b77d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 97ea83f8b23cc80320874b97b671c736a83c378a)
Diffstat (limited to 'src/gvcore/slideshow.cpp')
-rw-r--r--src/gvcore/slideshow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gvcore/slideshow.cpp b/src/gvcore/slideshow.cpp
index 6e3db94..e8867ad 100644
--- a/src/gvcore/slideshow.cpp
+++ b/src/gvcore/slideshow.cpp
@@ -50,10 +50,10 @@ namespace Gwenview {
SlideShow::SlideShow(Document* document)
: mDocument(document), mStarted(false), mPrefetch( NULL ) {
mTimer=new TQTimer(this);
- connect(mTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(slotTimeout()) );
- connect(mDocument, TQT_SIGNAL(loaded(const KURL&)),
- this, TQT_SLOT(slotLoaded()) );
+ connect(mTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(slotTimeout()) );
+ connect(mDocument, TQ_SIGNAL(loaded(const KURL&)),
+ this, TQ_SLOT(slotLoaded()) );
}
SlideShow::~SlideShow() {
@@ -173,8 +173,8 @@ void SlideShow::prefetch() {
if( !mPriorityURL.isEmpty()) Cache::instance()->setPriorityURL( mPriorityURL, false );
mPriorityURL = *it;
Cache::instance()->setPriorityURL( mPriorityURL, true ); // make sure it will stay in the cache
- connect( mPrefetch, TQT_SIGNAL( urlKindDetermined()), TQT_SLOT( slotUrlKindDetermined()));
- connect( mPrefetch, TQT_SIGNAL( imageLoaded( bool )), TQT_SLOT( prefetchDone()));
+ connect( mPrefetch, TQ_SIGNAL( urlKindDetermined()), TQ_SLOT( slotUrlKindDetermined()));
+ connect( mPrefetch, TQ_SIGNAL( imageLoaded( bool )), TQ_SLOT( prefetchDone()));
if (mPrefetch->urlKind()==MimeTypeUtils::KIND_FILE) {
// Prefetch is already done, and this is not a raster image