summaryrefslogtreecommitdiffstats
path: root/vcs/perforce/perforcepart.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 /vcs/perforce/perforcepart.cpp
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
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 f92666b6..72672b1e 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 <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kprocess.h>
#include <tdemessagebox.h>
#include <tdeapplication.h>
@@ -25,21 +25,21 @@
#include <kurl.h>
#include <tdeparts/part.h>
-#include "kdevpartcontroller.h"
-#include "kdevcore.h"
-#include "kdevmakefrontend.h"
-#include "kdevdifffrontend.h"
-#include "kdevplugininfo.h"
+#include "tdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevmakefrontend.h"
+#include "tdevdifffrontend.h"
+#include "tdevplugininfo.h"
#include "commitdlg.h"
#include "execcommand.h"
-static const KDevPluginInfo data("kdevperforce");
+static const TDevPluginInfo data("tdevperforce");
-typedef KDevGenericFactory<PerforcePart> PerforceFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevperforce, PerforceFactory( data ) )
+typedef TDevGenericFactory<PerforcePart> PerforceFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevperforce, PerforceFactory( data ) )
PerforcePart::PerforcePart( TQObject *parent, const char *name, const TQStringList & )
- : KDevVersionControl( &data, parent, name ? name : "PerforcePart" )
+ : TDevVersionControl( &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 (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("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 (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand("", command);
}
@@ -208,7 +208,7 @@ void PerforcePart::update( const TQString& filename )
command += " && p4 sync ";
command += name;
- if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("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 (KDevDiffFrontend *diffFrontend = extension<KDevDiffFrontend>("TDevelop/DiffFrontend"))
+ if (TDevDiffFrontend *diffFrontend = extension<TDevDiffFrontend>("TDevelop/DiffFrontend"))
diffFrontend->showDiff( strippedDiff );
}