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 --- kpresenter/KPrGeneralProperty.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kpresenter/KPrGeneralProperty.h') diff --git a/kpresenter/KPrGeneralProperty.h b/kpresenter/KPrGeneralProperty.h index bc6f1665..73497851 100644 --- a/kpresenter/KPrGeneralProperty.h +++ b/kpresenter/KPrGeneralProperty.h @@ -20,7 +20,7 @@ #ifndef GENERALPROPERTY_H #define GENERALPROPERTY_H -#include +#include #include #include @@ -28,15 +28,16 @@ class KoGeneralPropertyUI; -class KPrGeneralProperty : public QWidget +class KPrGeneralProperty : public TQWidget { Q_OBJECT + TQ_OBJECT public: struct GeneralValue { GeneralValue() {} - QString m_name; + TQString m_name; PropValue m_keepRatio; PropValue m_protect; KoRect m_rect; @@ -53,7 +54,7 @@ public: Height = 64 }; - KPrGeneralProperty( QWidget *parent, const char *name, GeneralValue &generalValue, KoUnit::Unit unit ); + KPrGeneralProperty( TQWidget *tqparent, const char *name, GeneralValue &generalValue, KoUnit::Unit unit ); ~KPrGeneralProperty(); int getGeneralPropertyChange() const; -- cgit v1.2.1