summaryrefslogtreecommitdiffstats
path: root/languages/lib/designer_integration
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/lib/designer_integration
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'languages/lib/designer_integration')
-rw-r--r--languages/lib/designer_integration/Mainpage.dox10
-rw-r--r--languages/lib/designer_integration/Makefile.am6
-rw-r--r--languages/lib/designer_integration/implementationwidget.cpp6
-rw-r--r--languages/lib/designer_integration/implementationwidget.h6
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.cpp12
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.h12
6 files changed, 26 insertions, 26 deletions
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;
};