summaryrefslogtreecommitdiffstats
path: root/vcs/perforce/perforcepart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcs/perforce/perforcepart.cpp')
-rw-r--r--vcs/perforce/perforcepart.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/vcs/perforce/perforcepart.cpp b/vcs/perforce/perforcepart.cpp
index 72672b1e..f92666b6 100644
--- a/vcs/perforce/perforcepart.cpp
+++ b/vcs/perforce/perforcepart.cpp
@@ -17,7 +17,7 @@
#include <tqregexp.h>
#include <tdepopupmenu.h>
#include <kdebug.h>
-#include <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <kprocess.h>
#include <tdemessagebox.h>
#include <tdeapplication.h>
@@ -25,21 +25,21 @@
#include <kurl.h>
#include <tdeparts/part.h>
-#include "tdevpartcontroller.h"
-#include "tdevcore.h"
-#include "tdevmakefrontend.h"
-#include "tdevdifffrontend.h"
-#include "tdevplugininfo.h"
+#include "kdevpartcontroller.h"
+#include "kdevcore.h"
+#include "kdevmakefrontend.h"
+#include "kdevdifffrontend.h"
+#include "kdevplugininfo.h"
#include "commitdlg.h"
#include "execcommand.h"
-static const TDevPluginInfo data("tdevperforce");
+static const KDevPluginInfo data("kdevperforce");
-typedef TDevGenericFactory<PerforcePart> PerforceFactory;
-K_EXPORT_COMPONENT_FACTORY( libtdevperforce, PerforceFactory( data ) )
+typedef KDevGenericFactory<PerforcePart> PerforceFactory;
+K_EXPORT_COMPONENT_FACTORY( libkdevperforce, PerforceFactory( data ) )
PerforcePart::PerforcePart( TQObject *parent, const char *name, const TQStringList & )
- : TDevVersionControl( &data, parent, name ? name : "PerforcePart" )
+ : KDevVersionControl( &data, parent, name ? name : "PerforcePart" )
{
setInstance(PerforceFactory::instance());
setupActions();
@@ -140,7 +140,7 @@ void PerforcePart::execCommand( const TQString& cmd, const TQString& filename )
command += " && p4 " + cmd + " ";
command += name;
- if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir, command);
}
@@ -183,7 +183,7 @@ void PerforcePart::commit( const TQString& filename )
TQString command("echo " + message);
command += " | p4 submit -i";
- if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand("", command);
}
@@ -208,7 +208,7 @@ void PerforcePart::update( const TQString& filename )
command += " && p4 sync ";
command += name;
- if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir, command);
}
@@ -277,7 +277,7 @@ void PerforcePart::slotDiffFinished( const TQString& diff, const TQString& err )
TQString strippedDiff = diff;
strippedDiff.replace( rx, "--- \\2\n+++ \\2\n" );
- if (TDevDiffFrontend *diffFrontend = extension<TDevDiffFrontend>("TDevelop/DiffFrontend"))
+ if (KDevDiffFrontend *diffFrontend = extension<KDevDiffFrontend>("TDevelop/DiffFrontend"))
diffFrontend->showDiff( strippedDiff );
}