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 --- kspread/kspread_generalProperty.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kspread/kspread_generalProperty.h') diff --git a/kspread/kspread_generalProperty.h b/kspread/kspread_generalProperty.h index fa6d15e1..43effc52 100644 --- a/kspread/kspread_generalProperty.h +++ b/kspread/kspread_generalProperty.h @@ -20,7 +20,7 @@ #ifndef GENERALPROPERTY_H #define GENERALPROPERTY_H -#include +#include #include "kspread_global.h" #include @@ -31,15 +31,16 @@ class KoGeneralPropertyUI; namespace KSpread { -class GeneralProperty : public QWidget +class GeneralProperty : 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; @@ -56,7 +57,7 @@ public: Height = 64 }; - GeneralProperty( QWidget *parent, const char *name, GeneralValue &generalValue, KoUnit::Unit unit ); + GeneralProperty( TQWidget *tqparent, const char *name, GeneralValue &generalValue, KoUnit::Unit unit ); ~GeneralProperty(); int getGeneralPropertyChange() const; -- cgit v1.2.1