diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /tderesources/carddav/resource.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tderesources/carddav/resource.cpp')
-rw-r--r-- | tderesources/carddav/resource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tderesources/carddav/resource.cpp b/tderesources/carddav/resource.cpp index 69eb98e4a..ddd6928e9 100644 --- a/tderesources/carddav/resource.cpp +++ b/tderesources/carddav/resource.cpp @@ -197,7 +197,7 @@ bool ResourceCardDav::doSave() { clearChanges(); if (mWriteRetryTimer != NULL) { if (mWriteRetryTimer->isActive() == false) { - disconnect( mWriteRetryTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(doSave()) ); + disconnect( mWriteRetryTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(doSave()) ); delete mWriteRetryTimer; mWriteRetryTimer = NULL; } @@ -256,8 +256,8 @@ void ResourceCardDav::init() { // creating jobs // TQt4 handles this quite differently, as shown below, // whereas TQt3 needs events (see ::event()) -// connect(mLoader, TQT_SIGNAL(finished()), this, TQT_SLOT(loadFinished())); -// connect(mWriter, TQT_SIGNAL(finished()), this, TQT_SLOT(writingFinished())); +// connect(mLoader, TQ_SIGNAL(finished()), this, TQ_SLOT(loadFinished())); +// connect(mWriter, TQ_SIGNAL(finished()), this, TQ_SLOT(writingFinished())); setType("ResourceCardDav"); } @@ -609,7 +609,7 @@ bool ResourceCardDav::startWriting(const TQString& url) { if ((mLoader->running() == true) || (mLoadingQueue.isEmpty() == false) || (mWriter->running() == true) || (mWritingQueue.isEmpty() == false)) { if (mWriteRetryTimer == NULL) { mWriteRetryTimer = new TQTimer(this); - connect( mWriteRetryTimer, TQT_SIGNAL(timeout()), TQT_SLOT(doSave()) ); + connect( mWriteRetryTimer, TQ_SIGNAL(timeout()), TQ_SLOT(doSave()) ); } mWriteRetryTimer->start(1000, TRUE); return false; |