summaryrefslogtreecommitdiffstats
path: root/src/notefactory.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:28:49 +0900
committerMichele Calgaro <[email protected]>2024-01-06 19:52:52 +0900
commit31622296062e9eaafb3429eb84f8780fab22e597 (patch)
tree7220cbbc37f829f7139b672ae1d2a74cfb7a6d36 /src/notefactory.cpp
parent50245e3df9d78cdd42e9551fb32a3ea032434b0e (diff)
downloadbasket-31622296062e9eaafb3429eb84f8780fab22e597.tar.gz
basket-31622296062e9eaafb3429eb84f8780fab22e597.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe)
Diffstat (limited to 'src/notefactory.cpp')
-rw-r--r--src/notefactory.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/notefactory.cpp b/src/notefactory.cpp
index 7195640..350c9a0 100644
--- a/src/notefactory.cpp
+++ b/src/notefactory.cpp
@@ -689,14 +689,14 @@ Note* NoteFactory::copyFileAndLoad(const KURL &url, Basket *parent)
// TDEIO::CopyJob *copyJob = TDEIO::copy(url, KURL(fullPath));
-// parent->connect( copyJob, TQT_SIGNAL(copyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)),
-// parent, TQT_SLOT(slotCopyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)) );
+// parent->connect( copyJob, TQ_SIGNAL(copyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)),
+// parent, TQ_SLOT(slotCopyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)) );
TDEIO::FileCopyJob *copyJob = new TDEIO::FileCopyJob(
url, KURL(fullPath), 0666, /*move=*/false,
/*overwrite=*/true, /*resume=*/true, /*showProgress=*/true );
- parent->connect( copyJob, TQT_SIGNAL(result(TDEIO::Job *)),
- parent, TQT_SLOT(slotCopyingDone2(TDEIO::Job *)) );
+ parent->connect( copyJob, TQ_SIGNAL(result(TDEIO::Job *)),
+ parent, TQ_SLOT(slotCopyingDone2(TDEIO::Job *)) );
NoteType::Id type = typeForURL(url, parent); // Use the type of the original file because the target doesn't exist yet
@@ -717,14 +717,14 @@ Note* NoteFactory::moveFileAndLoad(const KURL &url, Basket *parent)
// TDEIO::CopyJob *copyJob = TDEIO::move(url, KURL(fullPath));
-// parent->connect( copyJob, TQT_SIGNAL(copyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)),
-// parent, TQT_SLOT(slotCopyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)) );
+// parent->connect( copyJob, TQ_SIGNAL(copyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)),
+// parent, TQ_SLOT(slotCopyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)) );
TDEIO::FileCopyJob *copyJob = new TDEIO::FileCopyJob(
url, KURL(fullPath), 0666, /*move=*/true,
/*overwrite=*/true, /*resume=*/true, /*showProgress=*/true );
- parent->connect( copyJob, TQT_SIGNAL(result(TDEIO::Job *)),
- parent, TQT_SLOT(slotCopyingDone2(TDEIO::Job *)) );
+ parent->connect( copyJob, TQ_SIGNAL(result(TDEIO::Job *)),
+ parent, TQ_SLOT(slotCopyingDone2(TDEIO::Job *)) );
NoteType::Id type = typeForURL(url, parent); // Use the type of the original file because the target doesn't exist yet