summaryrefslogtreecommitdiffstats
path: root/languages/csharp/csharpsupportpart.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 /languages/csharp/csharpsupportpart.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'languages/csharp/csharpsupportpart.cpp')
-rw-r--r--languages/csharp/csharpsupportpart.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/csharp/csharpsupportpart.cpp b/languages/csharp/csharpsupportpart.cpp
index d410441b..154ff911 100644
--- a/languages/csharp/csharpsupportpart.cpp
+++ b/languages/csharp/csharpsupportpart.cpp
@@ -19,24 +19,24 @@
#include <tdeaction.h>
#include <tdeapplication.h>
#include <kdebug.h>
-#include <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <kinputdialog.h>
#include <tdelocale.h>
#include <tqregexp.h>
#include <codemodel.h>
#include <tqprogressbar.h>
#include <kstatusbar.h>
-#include "tdevmainwindow.h"
+#include "kdevmainwindow.h"
#include <kprocess.h>
#include <stdlib.h>
#include <unistd.h>
-#include "tdevcore.h"
-#include "tdevproject.h"
-#include "tdevpartcontroller.h"
-#include "tdevplugininfo.h"
-#include "tdevappfrontend.h"
+#include "kdevcore.h"
+#include "kdevproject.h"
+#include "kdevpartcontroller.h"
+#include "kdevplugininfo.h"
+#include "kdevappfrontend.h"
//#include "classstore.h"
//#include "parsedclass.h"
//#include "parsedmethod.h"
@@ -44,16 +44,16 @@
#include "domutil.h"
//#include "programmingbycontract.h"
-typedef TDevGenericFactory<CSharpSupportPart> CSharpSupportFactory;
-static const TDevPluginInfo data("tdevcsharpsupport");
-K_EXPORT_COMPONENT_FACTORY( libtdevcsharpsupport, CSharpSupportFactory( data ) )
+typedef KDevGenericFactory<CSharpSupportPart> CSharpSupportFactory;
+static const KDevPluginInfo data("kdevcsharpsupport");
+K_EXPORT_COMPONENT_FACTORY( libkdevcsharpsupport, CSharpSupportFactory( data ) )
CSharpSupportPart::CSharpSupportPart(TQObject *parent, const char *name, const TQStringList &)
- : TDevLanguageSupport(&data, parent, name ? name : "CSharpSupportPart")
+ : KDevLanguageSupport(&data, parent, name ? name : "CSharpSupportPart")
{
setInstance(CSharpSupportFactory::instance());
- setXMLFile("tdevcsharpsupport.rc");
+ setXMLFile("kdevcsharpsupport.rc");
connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) );
connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) );
@@ -174,9 +174,9 @@ void CSharpSupportPart::savedFile(const KURL &fileName)
}
-TDevLanguageSupport::Features CSharpSupportPart::features()
+KDevLanguageSupport::Features CSharpSupportPart::features()
{
- return TDevLanguageSupport::Features(Classes | Functions | Variables | Namespaces | /*Scripts | */NewClass | AddMethod | AddAttribute /*| NewScript*/);
+ return KDevLanguageSupport::Features(Classes | Functions | Variables | Namespaces | /*Scripts | */NewClass | AddMethod | AddAttribute /*| NewScript*/);
// return Functions;
}
@@ -193,7 +193,7 @@ TQString CSharpSupportPart::interpreter()
void CSharpSupportPart::startApplication(const TQString &program)
{
bool inTerminal = DomUtil::readBoolEntry(*projectDom(), "/kdevcsharpsupport/run/terminal");
- if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend"))
+ if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(TQString(), program, inTerminal);
}