summaryrefslogtreecommitdiffstats
path: root/src/partcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/partcontroller.cpp')
-rw-r--r--src/partcontroller.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/partcontroller.cpp b/src/partcontroller.cpp
index 21b78a8c..16bffcca 100644
--- a/src/partcontroller.cpp
+++ b/src/partcontroller.cpp
@@ -54,14 +54,14 @@
#include "documentationpart.h"
#include "ksavealldialog.h"
-#include "kdevproject.h"
+#include "tdevproject.h"
#include "urlutil.h"
#include "mimewarningdialog.h"
#include "domutil.h"
-#include "kdevjobtimer.h"
+#include "tdevjobtimer.h"
#include "designer.h"
-#include "kdevlanguagesupport.h"
+#include "tdevlanguagesupport.h"
#include "multibuffer.h"
#include "partcontroller.h"
@@ -90,7 +90,7 @@ struct ModificationData
PartController::PartController(TQWidget *parent)
- : KDevPartController(parent), _editorFactory(0L), m_currentActivePart(0), m_removingActivePart(false)
+ : TDevPartController(parent), _editorFactory(0L), m_currentActivePart(0), m_removingActivePart(false)
{
connect(this, TQT_SIGNAL(partRemoved(KParts::Part*)), this, TQT_SLOT(slotPartRemoved(KParts::Part* )) );
connect(this, TQT_SIGNAL(partAdded(KParts::Part*)), this, TQT_SLOT(slotPartAdded(KParts::Part* )) );
@@ -348,7 +348,7 @@ void PartController::editDocumentInternal( const KURL & inputUrl, int lineNum,
if ( !addToCurrentBuffer )
{
- if ( KDevLanguageSupport *lang =
+ if ( TDevLanguageSupport *lang =
API::getInstance()->languageSupport() )
{
// Let the language part override the addToCurrentBuffer flag
@@ -406,11 +406,11 @@ void PartController::editDocumentInternal( const KURL & inputUrl, int lineNum,
DesignerSetting = DomUtil::readEntry(*dom, "/kdevcppsupport/qt/designerintegration", DesignerSetting );
designerExec = DomUtil::readEntry(*dom, "/kdevcppsupport/qt/designer", designerExec );
}
- if ( DesignerSetting == "ExternalKDevDesigner" )
+ if ( DesignerSetting == "ExternalTDevDesigner" )
{
- designerExec = "kdevdesigner";
+ designerExec = "tdevdesigner";
}
- else if ( DesignerSetting == "EmbeddedKDevDesigner" )
+ else if ( DesignerSetting == "EmbeddedTDevDesigner" )
{
if ( KParts::ReadOnlyPart *designerPart = qtDesignerPart() )
{
@@ -419,12 +419,12 @@ void PartController::editDocumentInternal( const KURL & inputUrl, int lineNum,
designerPart->openURL(url);
return;
}
- else if ( KParts::Factory * KDevDesignerFactory = static_cast<KParts::Factory*>( KLibLoader::self()->factory( TQFile::encodeName( "libkdevdesignerpart" ) ) ) )
+ else if ( KParts::Factory * TDevDesignerFactory = static_cast<KParts::Factory*>( KLibLoader::self()->factory( TQFile::encodeName( "libtdevdesignerpart" ) ) ) )
{
- KParts::ReadWritePart * kdevpart = static_cast<KParts::ReadWritePart*>( KDevDesignerFactory->createPart( TopLevel::getInstance()->main(), 0, 0, 0, "KParts::ReadWritePart" ) );
- kdevpart->openURL( url );
+ KParts::ReadWritePart * tdevpart = static_cast<KParts::ReadWritePart*>( TDevDesignerFactory->createPart( TopLevel::getInstance()->main(), 0, 0, 0, "KParts::ReadWritePart" ) );
+ tdevpart->openURL( url );
addHistoryEntry();
- integratePart( kdevpart, url );
+ integratePart( tdevpart, url );
m_openRecentAction->addURL( url );
m_openRecentAction->saveEntries( kapp->config(), "RecentFiles" );
return;
@@ -1386,7 +1386,7 @@ void PartController::slotDocumentDirty( Kate::Document * d, bool isModified, uns
p->doc = doc;
p->isModified = isModified;
p->reason = reason;
- KDevJobTimer::singleShot( 0, this, TQT_SLOT(slotDocumentDirtyStepTwo(void*)), p );
+ TDevJobTimer::singleShot( 0, this, TQT_SLOT(slotDocumentDirtyStepTwo(void*)), p );
}
}