diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:28:49 +0900 |
commit | bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe (patch) | |
tree | 8911427e76b2ea1dc7d98cf2a9a0f2da987802b5 /src/notefactory.cpp | |
parent | 7b0920cd4180823f7a42350d1bdb914d697f4b9c (diff) | |
download | basket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.tar.gz basket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/notefactory.cpp')
-rw-r--r-- | src/notefactory.cpp | 16 |
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 |