summaryrefslogtreecommitdiffstats
path: root/languages/lib/designer_integration/qtdesignerintegration.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /languages/lib/designer_integration/qtdesignerintegration.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/lib/designer_integration/qtdesignerintegration.h')
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/languages/lib/designer_integration/qtdesignerintegration.h b/languages/lib/designer_integration/qtdesignerintegration.h
index a31310eb..9a750fbd 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.h
+++ b/languages/lib/designer_integration/qtdesignerintegration.h
@@ -17,8 +17,8 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef QTDESIGNERINTEGRATION_H
-#define QTDESIGNERINTEGRATION_H
+#ifndef TQTDESIGNERINTEGRATION_H
+#define TQTDESIGNERINTEGRATION_H
#include <tqmap.h>
@@ -29,19 +29,20 @@ class KDevLanguageSupport;
class ImplementationWidget;
/**
-Qt Designer integration base class.
+TQt Designer integration base class.
Contains language-independent implementation part of a @ref KDevDesignerIntegration 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 TQtDesignerIntegration : public KDevDesignerIntegration
{
Q_OBJECT
+ TQ_OBJECT
public:
- QtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl,
+ TQtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl,
bool classHasDefinitions, const char* name = 0);
- virtual ~QtDesignerIntegration();
+ virtual ~TQtDesignerIntegration();
public slots:
virtual void addFunction(const TQString& formName, KInterfaceDesigner::Function function);
@@ -65,7 +66,7 @@ protected:
separate files for interface and implementation parts of a class. For example,
C++ language support plugin will do:
@code
- name.replace(".h", ".cpp");
+ name.tqreplace(".h", ".cpp");
@endcode*/
virtual void processImplementationName(TQString &name);