diff options
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()) { |
