From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/widget/kexieditor.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'kexi/widget/kexieditor.h') diff --git a/kexi/widget/kexieditor.h b/kexi/widget/kexieditor.h index fce5f45b..022b0dd9 100644 --- a/kexi/widget/kexieditor.h +++ b/kexi/widget/kexieditor.h @@ -22,7 +22,7 @@ #ifndef KEXIEDITOR_H #define KEXIEDITOR_H -#include +#include #include "kexiviewbase.h" class KTextEdit; @@ -39,6 +39,7 @@ namespace KTextEditor class KEXIEXTWIDGETS_EXPORT KexiEditor : public KexiViewBase { Q_OBJECT + TQ_OBJECT public: @@ -47,12 +48,12 @@ class KEXIEXTWIDGETS_EXPORT KexiEditor : public KexiViewBase * * \param mainWin The \a KexiMainWindow instance this KexiEditor * belongs too. - * \param parent The parent \a QWidget this KexiEditor is child - * of. You don't need to free the KexiEditor cause Qt + * \param tqparent The tqparent \a TQWidget this KexiEditor is child + * of. You don't need to free the KexiEditor cause TQt * will handle that for us. * \param name The name this KexiEditor has. Used only for debugging. */ - KexiEditor(KexiMainWindow *mainWin, QWidget *parent, const char *name = 0); + KexiEditor(KexiMainWindow *mainWin, TQWidget *tqparent, const char *name = 0); /** * Destructor. @@ -68,7 +69,7 @@ class KEXIEXTWIDGETS_EXPORT KexiEditor : public KexiViewBase /** * \return the text displayed in the editor-widget. */ - QString text(); + TQString text(); /** * Set the highlight-mode to \p highlightmodename . If @@ -78,7 +79,7 @@ class KEXIEXTWIDGETS_EXPORT KexiEditor : public KexiViewBase * of string like e.g. "python", "kjs" or "sql" * KTextEditor supports. */ - void setHighlightMode(const QString& highlightmodename); + void setHighlightMode(const TQString& highlightmodename); /** * Find row and column for this \p character and jump to the @@ -100,7 +101,7 @@ class KEXIEXTWIDGETS_EXPORT KexiEditor : public KexiViewBase public slots: /*! Sets editor's text to \a text. 'Dirty' flag remains unchanged. Undo/redo buffer is cleared.*/ - void setText(const QString &text); + void setText(const TQString &text); /*! Display the configuration-dialog. Only avaiable if isAdvancedEditor() returns true. */ void slotConfigureEditor(); -- cgit v1.2.1