diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-20 17:21:59 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 21:40:22 +0900 |
| commit | 2f64e55b006125b1110fcdb05df19909159cee71 (patch) | |
| tree | 113f02dbb3164ef83f2b7cec5e26adb6b5dc97f3 /tdefilereplace/tdefilereplacepart.cpp | |
| parent | 1feaed7cc0457e3cdafe0c0ce8119ae6ec618cb8 (diff) | |
| download | tdeutils-2f64e55b006125b1110fcdb05df19909159cee71.tar.gz tdeutils-2f64e55b006125b1110fcdb05df19909159cee71.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefilereplace/tdefilereplacepart.cpp')
| -rw-r--r-- | tdefilereplace/tdefilereplacepart.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tdefilereplace/tdefilereplacepart.cpp b/tdefilereplace/tdefilereplacepart.cpp index ce98154..4686894 100644 --- a/tdefilereplace/tdefilereplacepart.cpp +++ b/tdefilereplace/tdefilereplacepart.cpp @@ -143,7 +143,7 @@ void TDEFileReplacePart::slotSearchingOperation() m_view->showSemaphore("yellow"); - kapp->processEvents(); + tdeApp->processEvents(); //disabling and enabling sorting... don't ask me why, but it works! rv->setSorting(0); @@ -377,7 +377,7 @@ void TDEFileReplacePart::showAboutApplication() void TDEFileReplacePart::appHelpActivated() { - kapp->invokeHelp(TQString(), "tdefilereplace"); + tdeApp->invokeHelp(TQString(), "tdefilereplace"); } void TDEFileReplacePart::reportBug() @@ -493,7 +493,7 @@ void TDEFileReplacePart::initGUI() actionCollection()->setHighlightingEnabled(true); - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); QCStringList appList = client->registeredApplications(); bool quantaFound = false; for(QCStringList::Iterator it = appList.begin(); it != appList.end(); ++it) @@ -904,7 +904,7 @@ void TDEFileReplacePart::fileReplace() // Avoids files that not match requirements if(!TDEFileReplaceLib::isAnAccessibleFile(d.canonicalPath(), fileName, m_option)) continue; - kapp->processEvents(); + tdeApp->processEvents(); if(m_option->m_backup) replaceAndBackup(d.canonicalPath(), fileName); else @@ -960,7 +960,7 @@ void TDEFileReplacePart::recursiveFileReplace(const TQString &directoryName, int TQFileInfo qi(filePath); m_view->displayScannedFiles(foldersNumber, filesNumber); - kapp->processEvents(); + tdeApp->processEvents(); // Replace recursively if "filePath" is a directory and we have not reached the max depth level if (qi.isDir()) @@ -1245,7 +1245,7 @@ void TDEFileReplacePart::fileSearch(const TQString& directoryName, const TQStrin TQFileInfo fileInfo(filePath+"/"+fileName); if(fileInfo.isDir()) continue; - kapp->processEvents(); + tdeApp->processEvents(); search(filePath, fileName); filesNumber++; m_view->displayScannedFiles(0, filesNumber); @@ -1297,7 +1297,7 @@ void TDEFileReplacePart::recursiveFileSearch(const TQString &directoryName, cons m_view->displayScannedFiles(foldersNumber, filesNumber); - kapp->processEvents(); + tdeApp->processEvents(); // Searchs recursively if "filePath" is a directory and we have not reached the max depth level if (fileInfo.isDir()) { |
