summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_genvalidationstyle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/kspread_genvalidationstyle.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
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
Diffstat (limited to 'kspread/kspread_genvalidationstyle.h')
-rw-r--r--kspread/kspread_genvalidationstyle.h42
1 files changed, 21 insertions, 21 deletions
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 <qdict.h>
-#include <qmap.h>
+#include <tqdict.h>
+#include <tqmap.h>
class KoXmlWriter;
@@ -37,18 +37,18 @@ class GenValidationStyles
public:
GenValidationStyles();
~GenValidationStyles();
- QString lookup( const GenValidationStyle& style );
+ TQString lookup( const GenValidationStyle& style );
- typedef QMap<GenValidationStyle, QString> StyleMap;
+ typedef TQMap<GenValidationStyle, TQString> 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<QString, bool> NameMap;
+ typedef TQMap<TQString, bool> 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;
};