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