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 --- lib/kotext/KoCommentDia.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'lib/kotext/KoCommentDia.h') diff --git a/lib/kotext/KoCommentDia.h b/lib/kotext/KoCommentDia.h index f16c7c0a..a925e802 100644 --- a/lib/kotext/KoCommentDia.h +++ b/lib/kotext/KoCommentDia.h @@ -22,24 +22,25 @@ #include #include -class QPushButton; -class QMultiLineEdit; +class TQPushButton; +class TQMultiLineEdit; class KOTEXT_EXPORT KoCommentDia : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - KoCommentDia( QWidget *parent, const QString &_note=QString::null, const QString & _authorName=QString::null, const QString &_createNote=QString::null, const char *name=0L ); - QString commentText(); + KoCommentDia( TQWidget *tqparent, const TQString &_note=TQString(), const TQString & _authorName=TQString(), const TQString &_createNote=TQString(), const char *name=0L ); + TQString commentText(); private slots: void slotAddAuthorName(); void slotTextChanged( ); protected: - QMultiLineEdit *m_multiLine; - QString authorName; - QPushButton *pbAddAuthorName; + TQMultiLineEdit *m_multiLine; + TQString authorName; + TQPushButton *pbAddAuthorName; }; #endif -- cgit v1.2.1