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/lib | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'languages/lib')
16 files changed, 72 insertions, 72 deletions
diff --git a/languages/lib/debugger/CMakeLists.txt b/languages/lib/debugger/CMakeLists.txt index c159528b..fbd121e4 100644 --- a/languages/lib/debugger/CMakeLists.txt +++ b/languages/lib/debugger/CMakeLists.txt @@ -24,14 +24,14 @@ link_directories( ##### headers ################################### install( FILES - debugger.h kdevdebugger.h + debugger.h tdevdebugger.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/languages/debugger ) ##### lang_debugger (shared) #################### tde_add_library( lang_debugger SHARED AUTOMOC - SOURCES kdevdebugger.cpp debugger.cpp + SOURCES tdevdebugger.cpp debugger.cpp VERSION 0.0.0 LINK tdetexteditor-shared DESTINATION ${LIB_INSTALL_DIR} diff --git a/languages/lib/debugger/Makefile.am b/languages/lib/debugger/Makefile.am index fc8923aa..3ca4e3a8 100644 --- a/languages/lib/debugger/Makefile.am +++ b/languages/lib/debugger/Makefile.am @@ -3,11 +3,11 @@ METASOURCES = AUTO lib_LTLIBRARIES = liblang_debugger.la liblang_debugger_la_LDFLAGS = $(all_libraries) liblang_debugger_la_LIBADD = $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEPARTS) -ltdetexteditor -liblang_debugger_la_SOURCES = kdevdebugger.cpp debugger.cpp +liblang_debugger_la_SOURCES = tdevdebugger.cpp debugger.cpp langincludedirdir = $(includedir)/tdevelop/languages/debugger -langincludedir_HEADERS = debugger.h kdevdebugger.h +langincludedir_HEADERS = debugger.h tdevdebugger.h -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevinterfaces kdevutil -DOXYGEN_PROJECTNAME = KDevelop Debugger Support Library -DOXYGEN_DOCDIRPREFIX = kdevlang +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevinterfaces tdevutil +DOXYGEN_PROJECTNAME = TDevelop Debugger Support Library +DOXYGEN_DOCDIRPREFIX = tdevlang include ../../../Doxyfile.am diff --git a/languages/lib/debugger/debugger.cpp b/languages/lib/debugger/debugger.cpp index bc8356b7..341abecd 100644 --- a/languages/lib/debugger/debugger.cpp +++ b/languages/lib/debugger/debugger.cpp @@ -6,14 +6,14 @@ #include <tdetexteditor/document.h> // #include "editorproxy.h" -#include <kdevpartcontroller.h> +#include <tdevpartcontroller.h> using namespace KTextEditor; Debugger *Debugger::s_instance = 0; -Debugger::Debugger(KDevPartController *partController) +Debugger::Debugger(TDevPartController *partController) :m_partController(partController) { connect( m_partController, TQT_SIGNAL(partAdded(KParts::Part*)), diff --git a/languages/lib/debugger/debugger.h b/languages/lib/debugger/debugger.h index d4112490..1f5cbae8 100644 --- a/languages/lib/debugger/debugger.h +++ b/languages/lib/debugger/debugger.h @@ -3,7 +3,7 @@ #include <tqvaluelist.h> -#include "kdevdebugger.h" +#include "tdevdebugger.h" #include <tdeparts/part.h> #include <tdetexteditor/markinterface.h> @@ -11,7 +11,7 @@ #include <tdeversion.h> #include <tdetexteditor/markinterfaceextension.h> -class KDevPartController; +class TDevPartController; /** * Describes a single breakpoint in the system @@ -54,7 +54,7 @@ private: * point of the debugger. * We may change, add or remove breakpoints in this class. */ -class Debugger : public KDevDebugger +class Debugger : public TDevDebugger { Q_OBJECT @@ -94,7 +94,7 @@ public: // protected: - Debugger(KDevPartController *partController); + Debugger(TDevPartController *partController); ~Debugger(); private slots: @@ -126,7 +126,7 @@ private: }; static Debugger *s_instance; - KDevPartController *m_partController; + TDevPartController *m_partController; TQValueList<BPItem> BPList; }; diff --git a/languages/lib/debugger/kdevdebugger.cpp b/languages/lib/debugger/tdevdebugger.cpp index b9ee4a05..e005491f 100644 --- a/languages/lib/debugger/kdevdebugger.cpp +++ b/languages/lib/debugger/tdevdebugger.cpp @@ -17,19 +17,19 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "kdevdebugger.h" +#include "tdevdebugger.h" -KDevDebugger::KDevDebugger(TQObject *parent, const char *name) +TDevDebugger::TDevDebugger(TQObject *parent, const char *name) : TQObject(parent, name) { } -KDevDebugger::~KDevDebugger() +TDevDebugger::~TDevDebugger() { } -const TQPixmap* KDevDebugger::inactiveBreakpointPixmap() +const TQPixmap* TDevDebugger::inactiveBreakpointPixmap() { const char*breakpoint_gr_xpm[]={ "11 16 6 1", @@ -59,7 +59,7 @@ const TQPixmap* KDevDebugger::inactiveBreakpointPixmap() return &pixmap; } -const TQPixmap* KDevDebugger::activeBreakpointPixmap() +const TQPixmap* TDevDebugger::activeBreakpointPixmap() { const char* breakpoint_xpm[]={ "11 16 6 1", @@ -89,7 +89,7 @@ const TQPixmap* KDevDebugger::activeBreakpointPixmap() return &pixmap; } -const TQPixmap* KDevDebugger::reachedBreakpointPixmap() +const TQPixmap* TDevDebugger::reachedBreakpointPixmap() { const char*breakpoint_bl_xpm[]={ "11 16 7 1", @@ -120,7 +120,7 @@ const TQPixmap* KDevDebugger::reachedBreakpointPixmap() return &pixmap; } -const TQPixmap* KDevDebugger::disabledBreakpointPixmap() +const TQPixmap* TDevDebugger::disabledBreakpointPixmap() { const char*breakpoint_wh_xpm[]={ "11 16 7 1", @@ -151,7 +151,7 @@ const TQPixmap* KDevDebugger::disabledBreakpointPixmap() return &pixmap; } -const TQPixmap* KDevDebugger::executionPointPixmap() +const TQPixmap* TDevDebugger::executionPointPixmap() { const char*exec_xpm[]={ "11 16 4 1", @@ -179,4 +179,4 @@ const TQPixmap* KDevDebugger::executionPointPixmap() return &pixmap; } -#include "kdevdebugger.moc" +#include "tdevdebugger.moc" diff --git a/languages/lib/debugger/kdevdebugger.h b/languages/lib/debugger/tdevdebugger.h index 4cb7df3f..3cfcd5de 100644 --- a/languages/lib/debugger/kdevdebugger.h +++ b/languages/lib/debugger/tdevdebugger.h @@ -17,8 +17,8 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef _KDEVDEBUGGER_H_ -#define _KDEVDEBUGGER_H_ +#ifndef _TDEVDEBUGGER_H_ +#define _TDEVDEBUGGER_H_ #include <tqobject.h> @@ -31,15 +31,15 @@ * Base class to handle signals from the editor that relate to breakpoints * and the execution point of the debugger. */ -class KDevDebugger : public TQObject +class TDevDebugger : public TQObject { Q_OBJECT public: - KDevDebugger(TQObject *parent=0, const char *name=0); - ~KDevDebugger(); + TDevDebugger(TQObject *parent=0, const char *name=0); + ~TDevDebugger(); /** * Sets a breakpoint in the editor document belong to fileName. diff --git a/languages/lib/designer_integration/Mainpage.dox b/languages/lib/designer_integration/Mainpage.dox index 1f2db949..43070931 100644 --- a/languages/lib/designer_integration/Mainpage.dox +++ b/languages/lib/designer_integration/Mainpage.dox @@ -10,18 +10,18 @@ This library contains base classes to implement GUI designer integration in lang \section usingintegration Using designer integration support library Each language support which wants to use integrated designer, must reimplement @code -virtual KDevDesignerIntegration *KDevLanguageSupport::designer(KInterfaceDesigner::DesignerType type) +virtual TDevDesignerIntegration *TDevLanguageSupport::designer(KInterfaceDesigner::DesignerType type) @endcode -method and return designer integration object (@ref KDevLanguageSupport base class returns 0). +method and return designer integration object (@ref TDevLanguageSupport base class returns 0). Qt designer integration can be easily implemented by reusing @ref QtDesignerIntegration base class. For example, designer method of a language support could look like: @code -KDevDesignerIntegration * MyLanguageSupportPart::designer(KInterfaceDesigner::DesignerType type) +TDevDesignerIntegration * MyLanguageSupportPart::designer(KInterfaceDesigner::DesignerType type) { - KDevDesignerIntegration *des = 0; + TDevDesignerIntegration *des = 0; switch (type) { case KInterfaceDesigner::QtDesigner: @@ -40,7 +40,7 @@ return des; @endcode In the code above m_designers is a designer cache declared as: @code -QMap<KInterfaceDesigner::DesignerType, KDevDesignerIntegration*> m_designers; +QMap<KInterfaceDesigner::DesignerType, TDevDesignerIntegration*> m_designers; @endcode MyLanguageImplementationWidget and MyLanguageQtDesignerIntegration classes are subclasses of @ref QtDesignerIntegration and @ref ImplementationWidget base classes. diff --git a/languages/lib/designer_integration/Makefile.am b/languages/lib/designer_integration/Makefile.am index 6e9680a9..41c0395d 100644 --- a/languages/lib/designer_integration/Makefile.am +++ b/languages/lib/designer_integration/Makefile.am @@ -4,13 +4,13 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \ METASOURCES = AUTO libdesignerintegration_la_LDFLAGS = $(all_libraries) lib_LTLIBRARIES = libdesignerintegration.la -libdesignerintegration_la_LIBADD = $(top_builddir)/lib/interfaces/libkdevinterfaces.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) +libdesignerintegration_la_LIBADD = $(top_builddir)/lib/interfaces/libtdevinterfaces.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) libdesignerintegration_la_SOURCES = implementationwidgetbase.ui \ implementationwidget.cpp qtdesignerintegration.cpp langincludedirdir = $(includedir)/tdevelop/languages/designer_integration langincludedir_HEADERS = qtdesignerintegration.h implementationwidget.h implementationwidgetbase.h -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevinterfaces kdevutil -DOXYGEN_PROJECTNAME = KDevelop Designer Integration Support Library +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevinterfaces tdevutil +DOXYGEN_PROJECTNAME = TDevelop Designer Integration Support Library include ../../../Doxyfile.am diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp index bdca4558..314e9eeb 100644 --- a/languages/lib/designer_integration/implementationwidget.cpp +++ b/languages/lib/designer_integration/implementationwidget.cpp @@ -32,10 +32,10 @@ #include <tdemessagebox.h> #include <tdelistview.h> -#include <kdevproject.h> +#include <tdevproject.h> #include <domutil.h> #include <filetemplate.h> -#include <kdevlanguagesupport.h> +#include <tdevlanguagesupport.h> namespace ImplUtils{ class ClassItem: public TDEListViewItem{ @@ -61,7 +61,7 @@ private: }; } -ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal) +ImplementationWidget::ImplementationWidget(TDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal) :CreateImplemenationWidgetBase(parent, name, modal), m_part(part) { } diff --git a/languages/lib/designer_integration/implementationwidget.h b/languages/lib/designer_integration/implementationwidget.h index 3dd53763..c74947be 100644 --- a/languages/lib/designer_integration/implementationwidget.h +++ b/languages/lib/designer_integration/implementationwidget.h @@ -26,7 +26,7 @@ #include <codemodel.h> class TDEListViewItem; -class KDevLanguageSupport; +class TDevLanguageSupport; /** Base class for implementation creation widgets. @@ -42,7 +42,7 @@ class ImplementationWidget : public CreateImplemenationWidgetBase Q_OBJECT public: - ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent = 0, const char* name = 0, bool modal = false); + ImplementationWidget(TDevLanguageSupport *part, TQWidget* parent = 0, const char* name = 0, bool modal = false); virtual ~ImplementationWidget(); /*$PUBLIC_FUNCTIONS$*/ @@ -77,7 +77,7 @@ protected slots: virtual void accept(); protected: - KDevLanguageSupport *m_part; + TDevLanguageSupport *m_part; ClassDom m_selectedClass; TQString m_formName; TQString m_baseClassName; diff --git a/languages/lib/designer_integration/qtdesignerintegration.cpp b/languages/lib/designer_integration/qtdesignerintegration.cpp index 26912ba1..c2b9ab34 100644 --- a/languages/lib/designer_integration/qtdesignerintegration.cpp +++ b/languages/lib/designer_integration/qtdesignerintegration.cpp @@ -30,16 +30,16 @@ #include <rurl.h> #include <domutil.h> -#include <kdevpartcontroller.h> -#include <kdevcreatefile.h> -#include <kdevlanguagesupport.h> -#include <kdevproject.h> +#include <tdevpartcontroller.h> +#include <tdevcreatefile.h> +#include <tdevlanguagesupport.h> +#include <tdevproject.h> #include "codemodel_utils.h" #include "implementationwidget.h" -QtDesignerIntegration::QtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl, bool classHasDefinitions, const char* name) - :KDevDesignerIntegration(part, name), m_part(part), m_impl(impl), +QtDesignerIntegration::QtDesignerIntegration(TDevLanguageSupport *part, ImplementationWidget *impl, bool classHasDefinitions, const char* name) + :TDevDesignerIntegration(part, name), m_part(part), m_impl(impl), m_classHasDefinitions(classHasDefinitions) { } diff --git a/languages/lib/designer_integration/qtdesignerintegration.h b/languages/lib/designer_integration/qtdesignerintegration.h index f76eecba..faafec58 100644 --- a/languages/lib/designer_integration/qtdesignerintegration.h +++ b/languages/lib/designer_integration/qtdesignerintegration.h @@ -23,24 +23,24 @@ #include <tqmap.h> #include <codemodel.h> -#include "kdevdesignerintegration.h" +#include "tdevdesignerintegration.h" -class KDevLanguageSupport; +class TDevLanguageSupport; class ImplementationWidget; /** TQt Designer integration base class. -Contains language-independent implementation part of a @ref KDevDesignerIntegration interface. +Contains language-independent implementation part of a @ref TDevDesignerIntegration interface. Ready to use in KDevelop language support plugins. Subclasses of this class should reimplement only pure virtual functions in the common case. */ -class QtDesignerIntegration : public KDevDesignerIntegration +class QtDesignerIntegration : public TDevDesignerIntegration { Q_OBJECT public: - QtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl, + QtDesignerIntegration(TDevLanguageSupport *part, ImplementationWidget *impl, bool classHasDefinitions, const char* name = 0); virtual ~QtDesignerIntegration(); @@ -73,7 +73,7 @@ protected: //Form file - derived class name TQMap<TQString, ClassDom> m_implementations; - KDevLanguageSupport *m_part; + TDevLanguageSupport *m_part; ImplementationWidget *m_impl; bool m_classHasDefinitions; }; diff --git a/languages/lib/interfaces/CMakeLists.txt b/languages/lib/interfaces/CMakeLists.txt index 370eece3..e8af2f36 100644 --- a/languages/lib/interfaces/CMakeLists.txt +++ b/languages/lib/interfaces/CMakeLists.txt @@ -22,7 +22,7 @@ link_directories( ##### headers ################################### -install( FILES kdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/languages/interfaces ) +install( FILES tdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/languages/interfaces ) ##### other data ################################ @@ -33,7 +33,7 @@ install( FILES tdeveloppcsimporter.desktop DESTINATION ${SERVICETYPES_INSTALL_DI ##### lang_interfaces (shared) ################## tde_add_library( lang_interfaces SHARED AUTOMOC - SOURCES kdevpcsimporter.cpp + SOURCES tdevpcsimporter.cpp VERSION 0.0.0 LINK ${TQT_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} diff --git a/languages/lib/interfaces/Makefile.am b/languages/lib/interfaces/Makefile.am index c3ed3d00..127999e6 100644 --- a/languages/lib/interfaces/Makefile.am +++ b/languages/lib/interfaces/Makefile.am @@ -3,14 +3,14 @@ METASOURCES = AUTO langincludedirdir = $(includedir)/tdevelop/languages/interfaces lib_LTLIBRARIES = liblang_interfaces.la liblang_interfaces_la_LDFLAGS = $(all_libraries) -liblang_interfaces_la_SOURCES = kdevpcsimporter.cpp +liblang_interfaces_la_SOURCES = tdevpcsimporter.cpp liblang_interfaces_la_LIBADD = $(LIB_QT) -langincludedir_HEADERS = kdevpcsimporter.h +langincludedir_HEADERS = tdevpcsimporter.h INCLUDES = $(all_includes) servicetypedir = $(kde_servicetypesdir) servicetype_DATA = tdeveloppcsimporter.desktop -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevinterfaces kdevutil -DOXYGEN_PROJECTNAME = KDevelop Language Support Interfaces Library -DOXYGEN_DOCDIRPREFIX = kdevlang +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevinterfaces tdevutil +DOXYGEN_PROJECTNAME = TDevelop Language Support Interfaces Library +DOXYGEN_DOCDIRPREFIX = tdevlang include ../../../Doxyfile.am diff --git a/languages/lib/interfaces/kdevpcsimporter.cpp b/languages/lib/interfaces/tdevpcsimporter.cpp index 166cc862..66e29c13 100644 --- a/languages/lib/interfaces/kdevpcsimporter.cpp +++ b/languages/lib/interfaces/tdevpcsimporter.cpp @@ -17,19 +17,19 @@ Boston, MA 02110-1301, USA. */ -#include "kdevpcsimporter.h" -#include "kdevpcsimporter.moc" +#include "tdevpcsimporter.h" +#include "tdevpcsimporter.moc" -KDevPCSImporter::KDevPCSImporter( TQObject * parent, const char * name ) +TDevPCSImporter::TDevPCSImporter( TQObject * parent, const char * name ) : TQObject( parent, name ) { } -KDevPCSImporter::~ KDevPCSImporter( ) +TDevPCSImporter::~ TDevPCSImporter( ) { } -TQWidget * KDevPCSImporter::createSettingsPage( TQWidget * /*parent*/, const char * /*name*/ ) +TQWidget * TDevPCSImporter::createSettingsPage( TQWidget * /*parent*/, const char * /*name*/ ) { return 0; } diff --git a/languages/lib/interfaces/kdevpcsimporter.h b/languages/lib/interfaces/tdevpcsimporter.h index 870865cb..62878973 100644 --- a/languages/lib/interfaces/kdevpcsimporter.h +++ b/languages/lib/interfaces/tdevpcsimporter.h @@ -17,8 +17,8 @@ Boston, MA 02110-1301, USA. */ -#ifndef KDEVPCSIMPORTER_H -#define KDEVPCSIMPORTER_H +#ifndef TDEVPCSIMPORTER_H +#define TDEVPCSIMPORTER_H #include <tqobject.h> #include <tqstringlist.h> @@ -32,13 +32,13 @@ These plugins are used by language support plugins to fill symbol stores with symbol information from certain files. The purpose of the importer is to provide file selection wizard. */ -class KDevPCSImporter: public TQObject +class TDevPCSImporter: public TQObject { Q_OBJECT public: - KDevPCSImporter( TQObject* parent=0, const char* name=0 ); - virtual ~KDevPCSImporter(); + TDevPCSImporter( TQObject* parent=0, const char* name=0 ); + virtual ~TDevPCSImporter(); virtual TQString dbName() const = 0; virtual TQStringList includePaths() = 0; @@ -47,4 +47,4 @@ public: virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 ); }; -#endif // KDEVPCSIMPORTER_H +#endif // TDEVPCSIMPORTER_H |