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/kofficeui/KoZoomAction.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'lib/kofficeui/KoZoomAction.h') diff --git a/lib/kofficeui/KoZoomAction.h b/lib/kofficeui/KoZoomAction.h index 326e4f04..d714259a 100644 --- a/lib/kofficeui/KoZoomAction.h +++ b/lib/kofficeui/KoZoomAction.h @@ -31,20 +31,21 @@ class KOFFICEUI_EXPORT KoZoomAction : public KSelectAction { Q_OBJECT + TQ_OBJECT public: /** * Creates a new zoom action. */ - KoZoomAction( const QString& text, const QIconSet& pix, - const KShortcut& cut = KShortcut(), QObject* parent = 0, const char* name = 0 ); + KoZoomAction( const TQString& text, const TQIconSet& pix, + const KShortcut& cut = KShortcut(), TQObject* tqparent = 0, const char* name = 0 ); /** * Creates a new zoom action. */ - KoZoomAction( const QString& text, const QString& pix, - const KShortcut& cut = KShortcut(), QObject* parent = 0, const char* name = 0 ); + KoZoomAction( const TQString& text, const TQString& pix, + const KShortcut& cut = KShortcut(), TQObject* tqparent = 0, const char* name = 0 ); public slots: @@ -52,7 +53,7 @@ public slots: * Sets the zoom. If it's not yet on the list of zoom values, it will be inserted * into the list at proper place so that the the values remain sorted. */ - void setZoom( const QString& zoom ); + void setZoom( const TQString& zoom ); /** * Sets the zoom. If it's not yet on the list of zoom values, it will be inserted @@ -62,7 +63,7 @@ public slots: protected slots: - void activated( const QString& text ); + void activated( const TQString& text ); signals: @@ -70,7 +71,7 @@ signals: * Signal zoomChanged is triggered when user changes the zoom value, either by * choosing it from the list or by entering new value. */ - void zoomChanged( const QString& zoom ); + void zoomChanged( const TQString& zoom ); protected: -- cgit v1.2.1