summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/interfaces/editorinterface.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 /kdevdesigner/interfaces/editorinterface.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 'kdevdesigner/interfaces/editorinterface.h')
-rw-r--r--kdevdesigner/interfaces/editorinterface.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdevdesigner/interfaces/editorinterface.h b/kdevdesigner/interfaces/editorinterface.h
index 2cb1025e..02fa1bf4 100644
--- a/kdevdesigner/interfaces/editorinterface.h
+++ b/kdevdesigner/interfaces/editorinterface.h
@@ -1,15 +1,15 @@
/**********************************************************************
** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
**
-** This file is part of Qt Designer.
+** This file is part of TQt Designer.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
-** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
-** licenses may use this file in accordance with the Qt Commercial License
+** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
+** licenses may use this file in accordance with the TQt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
@@ -17,7 +17,7 @@
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
-** information about Qt Commercial License Agreements.
+** information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
@@ -40,7 +40,7 @@
//
//
-#include <private/qcom_p.h>
+#include <private/tqcom_p.h>
#include <tqmap.h>
#include <tqvaluelist.h>
@@ -50,10 +50,10 @@ class TQObject;
// {8668161a-6037-4220-86b6-ccaa20127df8}
#ifndef IID_Editor
-#define IID_Editor QUuid( 0x8668161a, 0x6037, 0x4220, 0x86, 0xb6, 0xcc, 0xaa, 0x20, 0x12, 0x7d, 0xf8 )
+#define IID_Editor TQUuid( 0x8668161a, 0x6037, 0x4220, 0x86, 0xb6, 0xcc, 0xaa, 0x20, 0x12, 0x7d, 0xf8 )
#endif
-struct EditorInterface : public QUnknownInterface
+struct EditorInterface : public TQUnknownInterface
{
enum Mode
{
@@ -62,8 +62,8 @@ struct EditorInterface : public QUnknownInterface
};
virtual TQWidget *editor( bool readOnly,
- TQWidget *parent,
- QUnknownInterface *designerIface ) = 0;
+ TQWidget *tqparent,
+ TQUnknownInterface *designerIface ) = 0;
virtual void setText( const TQString &txt ) = 0;
virtual TQString text() const = 0;
@@ -75,8 +75,8 @@ struct EditorInterface : public QUnknownInterface
virtual void copy() = 0;
virtual void paste() = 0;
virtual void selectAll() = 0;
- virtual bool find( const TQString &expr, bool cs, bool wo, bool forward, bool startAtCursor ) = 0;
- virtual bool replace( const TQString &find, const TQString &replace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll ) = 0;
+ virtual bool tqfind( const TQString &expr, bool cs, bool wo, bool forward, bool startAtCursor ) = 0;
+ virtual bool tqreplace( const TQString &tqfind, const TQString &tqreplace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll ) = 0;
virtual void gotoLine( int line ) = 0;
virtual void indent() = 0;
virtual void scrollTo( const TQString &txt, const TQString &first ) = 0;