From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdevdesigner/interfaces/editorinterface.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kdevdesigner/interfaces/editorinterface.h') diff --git a/kdevdesigner/interfaces/editorinterface.h b/kdevdesigner/interfaces/editorinterface.h index 0aff6c4f..f7ca66b5 100644 --- a/kdevdesigner/interfaces/editorinterface.h +++ b/kdevdesigner/interfaces/editorinterface.h @@ -41,8 +41,8 @@ // #include -#include -#include +#include +#include class QWidget; class QObjectList; @@ -61,12 +61,12 @@ struct EditorInterface : public QUnknownInterface Debugging }; - virtual QWidget *editor( bool readOnly, - QWidget *parent, + virtual TQWidget *editor( bool readOnly, + TQWidget *parent, QUnknownInterface *designerIface ) = 0; - virtual void setText( const QString &txt ) = 0; - virtual QString text() const = 0; + virtual void setText( const TQString &txt ) = 0; + virtual TQString text() const = 0; virtual bool isUndoAvailable() const = 0; virtual bool isRedoAvailable() const = 0; virtual void undo() = 0; @@ -75,13 +75,13 @@ struct EditorInterface : public QUnknownInterface virtual void copy() = 0; virtual void paste() = 0; virtual void selectAll() = 0; - virtual bool find( const QString &expr, bool cs, bool wo, bool forward, bool startAtCursor ) = 0; - virtual bool replace( const QString &find, const QString &replace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll ) = 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 void gotoLine( int line ) = 0; virtual void indent() = 0; - virtual void scrollTo( const QString &txt, const QString &first ) = 0; + virtual void scrollTo( const TQString &txt, const TQString &first ) = 0; virtual void splitView() = 0; - virtual void setContext( QObject *this_ ) = 0; + virtual void setContext( TQObject *this_ ) = 0; virtual void setError( int line ) = 0; virtual void setStep( int line ) = 0; virtual void setStackFrame( int line ) = 0; @@ -91,11 +91,11 @@ struct EditorInterface : public QUnknownInterface virtual void setModified( bool m ) = 0; virtual bool isModified() const = 0; virtual int numLines() const = 0; - virtual void breakPoints( QValueList &l ) const = 0; - virtual void setBreakPoints( const QValueList &l ) = 0; + virtual void breakPoints( TQValueList &l ) const = 0; + virtual void setBreakPoints( const TQValueList &l ) = 0; virtual void setMode( Mode m ) = 0; - virtual void onBreakPointChange( QObject *receiver, const char *slot ) = 0; + virtual void onBreakPointChange( TQObject *receiver, const char *slot ) = 0; }; -- cgit v1.2.1