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_genvalidationstyle.h | 42 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kspread/kspread_genvalidationstyle.h') diff --git a/kspread/kspread_genvalidationstyle.h b/kspread/kspread_genvalidationstyle.h index 31c6a652..abc25d6f 100644 --- a/kspread/kspread_genvalidationstyle.h +++ b/kspread/kspread_genvalidationstyle.h @@ -22,8 +22,8 @@ #ifndef KSPREAD_GENVALIDATIONSTYLE #define KSPREAD_GENVALIDATIONSTYLE -#include -#include +#include +#include class KoXmlWriter; @@ -37,18 +37,18 @@ class GenValidationStyles public: GenValidationStyles(); ~GenValidationStyles(); - QString lookup( const GenValidationStyle& style ); + TQString lookup( const GenValidationStyle& style ); - typedef QMap StyleMap; + typedef TQMap StyleMap; void writeStyle( KoXmlWriter& writer ); private: - QString makeUniqueName( const QString& base ) const; + TQString makeUniqueName( const TQString& base ) const; /// style definition -> name StyleMap m_styles; /// name -> style (used to check for name uniqueness) - typedef QMap NameMap; + typedef TQMap NameMap; NameMap m_names; }; @@ -73,24 +73,24 @@ public: return false; } private: - QString createValidationCondition( Validity* _val ); - QString createTextValidationCondition( Validity* _val ); - QString createTimeValidationCondition( Validity* _val ); - QString createDateValidationCondition( Validity* _val ); - QString createNumberValidationCondition( Validity* _val ); - QString createListValidationCondition( Validity* _val ); + TQString createValidationCondition( Validity* _val ); + TQString createTextValidationCondition( Validity* _val ); + TQString createTimeValidationCondition( Validity* _val ); + TQString createDateValidationCondition( Validity* _val ); + TQString createNumberValidationCondition( Validity* _val ); + TQString createListValidationCondition( Validity* _val ); void initVal( Validity *_val ); - QString allowEmptyCell; - QString condition; - QString titleInfo; - QString displayValidationInformation; - QString messageInfo; - QString messageType; - QString displayMessage; - QString message; - QString title; + TQString allowEmptyCell; + TQString condition; + TQString titleInfo; + TQString displayValidationInformation; + TQString messageInfo; + TQString messageType; + TQString displayMessage; + TQString message; + TQString title; friend class GenValidationStyles; }; -- cgit v1.2.1