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/kofficecore/Koversiondialog.h | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'lib/kofficecore/Koversiondialog.h') diff --git a/lib/kofficecore/Koversiondialog.h b/lib/kofficecore/Koversiondialog.h index 6a8c7fb6..e357e964 100644 --- a/lib/kofficecore/Koversiondialog.h +++ b/lib/kofficecore/Koversiondialog.h @@ -22,16 +22,17 @@ #include -class QPushButton; -class QToolButton; +class TQPushButton; +class TQToolButton; class KListView; -class QMultiLineEdit; +class TQMultiLineEdit; class KoVersionDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - KoVersionDialog( QWidget* parent, const char* name = 0L ); + KoVersionDialog( TQWidget* tqparent, const char* name = 0L ); ~KoVersionDialog(); public slots: @@ -47,22 +48,23 @@ protected: void updateButton(); KListView * list; - QPushButton* m_pRemove; - QPushButton* m_pAdd; - QPushButton* m_pOpen; - QPushButton* m_pModify; + TQPushButton* m_pRemove; + TQPushButton* m_pAdd; + TQPushButton* m_pOpen; + TQPushButton* m_pModify; }; class KoVersionModifyDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - KoVersionModifyDialog( QWidget* parent, const QString &_comment = QString::null , const char* name = 0L ); + KoVersionModifyDialog( TQWidget* tqparent, const TQString &_comment = TQString() , const char* name = 0L ); - QString comment() const; + TQString comment() const; private: - QMultiLineEdit *m_multiline; + TQMultiLineEdit *m_multiline; }; #endif -- cgit v1.2.1