summaryrefslogtreecommitdiffstats
path: root/parts/diff/diffpart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/diff/diffpart.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/diff/diffpart.cpp')
-rw-r--r--parts/diff/diffpart.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/parts/diff/diffpart.cpp b/parts/diff/diffpart.cpp
index b48e8136..a0dbafdd 100644
--- a/parts/diff/diffpart.cpp
+++ b/parts/diff/diffpart.cpp
@@ -16,7 +16,7 @@
#include <tqpopupmenu.h>
#include <tdelocale.h>
-#include <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <tdeaction.h>
#include <tdefiledialog.h>
#include <kprocess.h>
@@ -28,24 +28,24 @@
#include <kdebug.h>
#include <kiconloader.h>
-#include "tdevcore.h"
-#include "tdevmainwindow.h"
-#include "tdevpartcontroller.h"
-#include "tdevplugininfo.h"
+#include "kdevcore.h"
+#include "kdevmainwindow.h"
+#include "kdevpartcontroller.h"
+#include "kdevplugininfo.h"
#include "diffdlg.h"
#include "diffwidget.h"
-static const TDevPluginInfo data("tdevdiff");
+static const KDevPluginInfo data("kdevdiff");
-typedef TDevGenericFactory<DiffPart> DiffFactory;
-K_EXPORT_COMPONENT_FACTORY( libtdevdiff, DiffFactory( data ) )
+typedef KDevGenericFactory<DiffPart> DiffFactory;
+K_EXPORT_COMPONENT_FACTORY( libkdevdiff, DiffFactory( data ) )
DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &)
- : TDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
+ : KDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
{
setInstance(DiffFactory::instance());
- setXMLFile("tdevdiff.rc");
+ setXMLFile("kdevdiff.rc");
diffWidget = new DiffWidget(this, 0, "diffWidget");
diffWidget->setIcon( SmallIcon("editcopy") );
@@ -83,7 +83,7 @@ static bool urlIsEqual(const KURL &a, const KURL &b)
return a == b;
}
-static KParts::ReadWritePart* partForURL(const KURL &url, TDevPartController* pc)
+static KParts::ReadWritePart* partForURL(const KURL &url, KDevPartController* pc)
{
if ( !pc )
return 0;