summaryrefslogtreecommitdiffstats
path: root/languages/cpp/backgroundparser.cpp
diff options
context:
space:
mode:
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 51311dac..730a090f 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 "tdevdeepcopy.h"
-#include "tdevdriver.h"
+#include "kdevdeepcopy.h"
+#include "kdevdriver.h"
#include <tqmutex.h>
@@ -25,8 +25,8 @@
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
-#include <tdevpartcontroller.h>
-#include <tdevproject.h>
+#include <kdevpartcontroller.h>
+#include <kdevproject.h>
#include <kurl.h>
#include <kdebug.h>
@@ -39,9 +39,9 @@
#include <tqdatastream.h>
-class BackgroundTDevDriver : public TDevDriver {
+class BackgroundKDevDriver : public KDevDriver {
public:
- BackgroundTDevDriver( CppSupportPart* cppSupport, BackgroundParser* bp ) : TDevDriver( cppSupport, false ), m_backgroundParser(bp) {
+ BackgroundKDevDriver( CppSupportPart* cppSupport, BackgroundParser* bp ) : KDevDriver( 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 BackgroundTDevDriver( m_cppSupport, this );
+ m_driver = new BackgroundKDevDriver( 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 BackgroundTDevDriver::addDependence( const TQString& fileName, const Dependence& dep ) {
+void BackgroundKDevDriver::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();
- TDevDriver::addDependence( fileName, dep );
+ KDevDriver::addDependence( fileName, dep );
}
-void BackgroundTDevDriver::fileParsed( ParsedFile& fileName ) {
+void BackgroundKDevDriver::fileParsed( ParsedFile& fileName ) {
m_backgroundParser->fileParsed( fileName );
}