diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/css/cssparser.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/css/cssparser.h')
-rw-r--r-- | khtml/css/cssparser.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/khtml/css/cssparser.h b/khtml/css/cssparser.h index 1c055acd0..0e00ebc16 100644 --- a/khtml/css/cssparser.h +++ b/khtml/css/cssparser.h @@ -22,9 +22,9 @@ #ifndef _CSS_cssparser_h_ #define _CSS_cssparser_h_ -#include <qstring.h> -#include <qcolor.h> -#include <qvaluevector.h> +#include <tqstring.h> +#include <tqcolor.h> +#include <tqvaluevector.h> #include <dom/dom_string.h> namespace DOM { @@ -72,11 +72,11 @@ namespace DOM { int unit; }; - static inline QString qString( const ParseString &ps ) { - return QString( (QChar *)ps.string, ps.length ); + static inline TQString qString( const ParseString &ps ) { + return TQString( (TQChar *)ps.string, ps.length ); } static inline DOMString domString( const ParseString &ps ) { - return DOMString( (QChar *)ps.string, ps.length ); + return DOMString( (TQChar *)ps.string, ps.length ); } class ValueList { @@ -88,7 +88,7 @@ namespace DOM { Value* current() { return m_current < m_values.size() ? &m_values[m_current] : 0; } Value* next() { ++m_current; return current(); } private: - QValueVector<Value> m_values; + TQValueVector<Value> m_values; unsigned int m_current; }; @@ -148,7 +148,7 @@ namespace DOM { CSSPrimitiveValueImpl *parseColorFromValue(Value* val); CSSValueImpl* parseCounterContent(ValueList *args, bool counters); - static bool parseColor(const QString &name, QRgb& rgb); + static bool parseColor(const TQString &name, QRgb& rgb); // CSS3 Parsing Routines (for properties specific to CSS3) bool parseShadow(int propId, bool important); |