diff options
| author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 | 
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 | 
| commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
| tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /languages/bash/bashsupport_part.cpp | |
| parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
| download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip | |
Finish renaming tdevelop components
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);  } | 
