diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
commit | 79b21d47bce1ee428affc97534cd8b257232a871 (patch) | |
tree | 0df1fa0109d9f2bcef932eda8b5c25b2e06669ed /kfind/kquery.cpp | |
parent | 9a898d493f493adbc404f7223043c85f3817472b (diff) | |
download | tdebase-79b21d47bce1ee428affc97534cd8b257232a871.tar.gz tdebase-79b21d47bce1ee428affc97534cd8b257232a871.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kfind/kquery.cpp')
-rw-r--r-- | kfind/kquery.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kfind/kquery.cpp b/kfind/kquery.cpp index 4231f1aab..e6f8664fe 100644 --- a/kfind/kquery.cpp +++ b/kfind/kquery.cpp @@ -20,10 +20,10 @@ KQuery::KQuery(TQObject *parent, const char * name) { m_regexps.setAutoDelete(true); m_fileItems.setAutoDelete(true); - processLocate = new KProcess(this); - connect(processLocate,TQT_SIGNAL(receivedStdout(KProcess*, char*, int)),this,TQT_SLOT(slotreceivedSdtout(KProcess*,char*,int))); - connect(processLocate,TQT_SIGNAL(receivedStderr(KProcess*, char*, int)),this,TQT_SLOT(slotreceivedSdterr(KProcess*,char*,int))); - connect(processLocate,TQT_SIGNAL(processExited(KProcess*)),this,TQT_SLOT(slotendProcessLocate(KProcess*))); + processLocate = new TDEProcess(this); + connect(processLocate,TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),this,TQT_SLOT(slotreceivedSdtout(TDEProcess*,char*,int))); + connect(processLocate,TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),this,TQT_SLOT(slotreceivedSdterr(TDEProcess*,char*,int))); + connect(processLocate,TQT_SIGNAL(processExited(TDEProcess*)),this,TQT_SLOT(slotendProcessLocate(TDEProcess*))); // Files with these mime types can be ignored, even if // findFormatByFileContent() in some cases may claim that @@ -78,7 +78,7 @@ void KQuery::start() *processLocate << m_url.path(1).latin1(); bufferLocate=NULL; bufferLocateLength=0; - processLocate->start(KProcess::NotifyOnExit,KProcess::AllOutput); + processLocate->start(TDEProcess::NotifyOnExit,TDEProcess::AllOutput); return; } @@ -478,12 +478,12 @@ void KQuery::setUseFileIndex(bool useLocate) m_useLocate=useLocate; } -void KQuery::slotreceivedSdterr(KProcess* ,char* str,int) +void KQuery::slotreceivedSdterr(TDEProcess* ,char* str,int) { KMessageBox::error(NULL, TQString(str), i18n("Error while using locate")); } -void KQuery::slotreceivedSdtout(KProcess*,char* str,int l) +void KQuery::slotreceivedSdtout(TDEProcess*,char* str,int l) { int i; @@ -494,7 +494,7 @@ void KQuery::slotreceivedSdtout(KProcess*,char* str,int l) bufferLocate[bufferLocateLength-l+i]=str[i]; } -void KQuery::slotendProcessLocate(KProcess*) +void KQuery::slotendProcessLocate(TDEProcess*) { TQString qstr; TQStringList strlist; |