diff options
Diffstat (limited to 'languages/bash/bashsupport_part.cpp')
-rw-r--r-- | languages/bash/bashsupport_part.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/bash/bashsupport_part.cpp b/languages/bash/bashsupport_part.cpp index 9f1be201..7cfd9889 100644 --- a/languages/bash/bashsupport_part.cpp +++ b/languages/bash/bashsupport_part.cpp @@ -14,7 +14,7 @@ #include <kiconloader.h> #include <tdelocale.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <kprocess.h> #include <kdebug.h> #include <tdeaction.h> @@ -22,25 +22,25 @@ #include <kdialogbase.h> -#include <kdevcore.h> -#include <kdevmainwindow.h> -#include <kdevlanguagesupport.h> -#include <kdevpartcontroller.h> -#include <kdevproject.h> -#include <kdevappfrontend.h> -#include <kdevplugininfo.h> +#include <tdevcore.h> +#include <tdevmainwindow.h> +#include <tdevlanguagesupport.h> +#include <tdevpartcontroller.h> +#include <tdevproject.h> +#include <tdevappfrontend.h> +#include <tdevplugininfo.h> #include <domutil.h> #include <codemodel.h> -typedef KDevGenericFactory<BashSupportPart> BashSupportFactory; -static const KDevPluginInfo data("kdevbashsupport"); -K_EXPORT_COMPONENT_FACTORY( libkdevbashsupport, BashSupportFactory( data ) ) +typedef TDevGenericFactory<BashSupportPart> BashSupportFactory; +static const TDevPluginInfo data("tdevbashsupport"); +K_EXPORT_COMPONENT_FACTORY( libtdevbashsupport, BashSupportFactory( data ) ) BashSupportPart::BashSupportPart(TQObject *parent, const char *name, const TQStringList& ) -: KDevLanguageSupport (&data, parent, name ? name : "BashSupportPart" ) +: TDevLanguageSupport (&data, parent, name ? name : "BashSupportPart" ) { setInstance(BashSupportFactory::instance()); - setXMLFile("kdevbashsupport.rc"); + setXMLFile("tdevbashsupport.rc"); TDEAction *action; action = new TDEAction( i18n("&Run"), "exec",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" ); @@ -182,12 +182,12 @@ void BashSupportPart::savedFile(const KURL &fileName) void BashSupportPart::startApplication(const TQString &program) { kdDebug() << "starting application" << program << endl; - if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend")) + if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend")) appFrontend->startAppCommand(TQString(), program, TRUE); } -KDevLanguageSupport::Features BashSupportPart::features() +TDevLanguageSupport::Features BashSupportPart::features() { return Features(Variables | Functions); } |