summaryrefslogtreecommitdiffstats
path: root/src/gvcore/document.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/document.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/document.cpp')
-rw-r--r--src/gvcore/document.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gvcore/document.cpp b/src/gvcore/document.cpp
index c718e1d..9174a0f 100644
--- a/src/gvcore/document.cpp
+++ b/src/gvcore/document.cpp
@@ -124,10 +124,10 @@ Document::Document(TQObject* parent)
static Gwenview::XCursorFormatType sXCursorFormatType;
}
- connect( this, TQT_SIGNAL( loading()),
- this, TQT_SLOT( slotLoading()));
- connect( this, TQT_SIGNAL( loaded(const KURL&)),
- this, TQT_SLOT( slotLoaded()));
+ connect( this, TQ_SIGNAL( loading()),
+ this, TQ_SLOT( slotLoading()));
+ connect( this, TQ_SIGNAL( loaded(const KURL&)),
+ this, TQ_SLOT( slotLoaded()));
}
@@ -196,8 +196,8 @@ void Document::setURL(const KURL& paramURL) {
d->mURL = localURL; // this may be fixed after stat() is complete, but set at least something
d->mStatJob = TDEIO::stat( localURL, !localURL.isLocalFile() );
d->mStatJob->setWindow(TDEApplication::kApplication()->mainWidget());
- connect( d->mStatJob, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotStatResult (TDEIO::Job *) ) );
+ connect( d->mStatJob, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotStatResult (TDEIO::Job *) ) );
}
@@ -560,12 +560,12 @@ void Document::switchToImpl(DocumentImpl* impl) {
delete d->mImpl;
d->mImpl=impl;
- connect(d->mImpl, TQT_SIGNAL(finished(bool)),
- this, TQT_SLOT(slotFinished(bool)) );
- connect(d->mImpl, TQT_SIGNAL(sizeUpdated()),
- this, TQT_SIGNAL(sizeUpdated()) );
- connect(d->mImpl, TQT_SIGNAL(rectUpdated(const TQRect&)),
- this, TQT_SIGNAL(rectUpdated(const TQRect&)) );
+ connect(d->mImpl, TQ_SIGNAL(finished(bool)),
+ this, TQ_SLOT(slotFinished(bool)) );
+ connect(d->mImpl, TQ_SIGNAL(sizeUpdated()),
+ this, TQ_SIGNAL(sizeUpdated()) );
+ connect(d->mImpl, TQ_SIGNAL(rectUpdated(const TQRect&)),
+ this, TQ_SIGNAL(rectUpdated(const TQRect&)) );
d->mImpl->init();
}