summaryrefslogtreecommitdiffstats
path: root/languages/cpp/backgroundparser.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /languages/cpp/backgroundparser.cpp
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'languages/cpp/backgroundparser.cpp')
-rw-r--r--languages/cpp/backgroundparser.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/languages/cpp/backgroundparser.cpp b/languages/cpp/backgroundparser.cpp
index 730a090f..51311dac 100644
--- a/languages/cpp/backgroundparser.cpp
+++ b/languages/cpp/backgroundparser.cpp
@@ -15,8 +15,8 @@
#include "codeinformationrepository.h"
#include "cppcodecompletion.h"
#include "ast_utils.h"
-#include "kdevdeepcopy.h"
-#include "kdevdriver.h"
+#include "tdevdeepcopy.h"
+#include "tdevdriver.h"
#include <tqmutex.h>
@@ -25,8 +25,8 @@
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
-#include <kdevpartcontroller.h>
-#include <kdevproject.h>
+#include <tdevpartcontroller.h>
+#include <tdevproject.h>
#include <kurl.h>
#include <kdebug.h>
@@ -39,9 +39,9 @@
#include <tqdatastream.h>
-class BackgroundKDevDriver : public KDevDriver {
+class BackgroundTDevDriver : public TDevDriver {
public:
- BackgroundKDevDriver( CppSupportPart* cppSupport, BackgroundParser* bp ) : KDevDriver( cppSupport, false ), m_backgroundParser(bp) {
+ BackgroundTDevDriver( CppSupportPart* cppSupport, BackgroundParser* bp ) : TDevDriver( cppSupport, false ), m_backgroundParser(bp) {
}
virtual void fileParsed( ParsedFile& fileName );
virtual void addDependence( const TQString& fileName, const Dependence& dep );
@@ -255,7 +255,7 @@ BackgroundParser::BackgroundParser( CppSupportPart* part, TQWaitCondition* consu
: m_consumed( consumed ), m_cppSupport( part ), m_close( false ), m_saveMemory( false )
{
m_fileList = new SynchronizedFileList();
- m_driver = new BackgroundKDevDriver( m_cppSupport, this );
+ m_driver = new BackgroundTDevDriver( m_cppSupport, this );
m_driver->setSourceProvider( new KDevSourceProvider( m_cppSupport, m_mutex ) );
TQString conf_file_name = m_cppSupport->specialHeaderName();
@@ -347,14 +347,14 @@ void BackgroundParser::removeFile( const TQString& fileName )
m_isEmpty.wakeAll();
}
-void BackgroundKDevDriver::addDependence( const TQString& fileName, const Dependence& dep ) {
+void BackgroundTDevDriver::addDependence( const TQString& fileName, const Dependence& dep ) {
//give waiting threads a chance to perform their actions
m_backgroundParser->m_mutex.unlock();
m_backgroundParser->m_mutex.lock();
- KDevDriver::addDependence( fileName, dep );
+ TDevDriver::addDependence( fileName, dep );
}
-void BackgroundKDevDriver::fileParsed( ParsedFile& fileName ) {
+void BackgroundTDevDriver::fileParsed( ParsedFile& fileName ) {
m_backgroundParser->fileParsed( fileName );
}