diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /khtml/css/css_valueimpl.cpp | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip |
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/css/css_valueimpl.cpp')
-rw-r--r-- | khtml/css/css_valueimpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/khtml/css/css_valueimpl.cpp b/khtml/css/css_valueimpl.cpp index 0fa8bc837..28df97b62 100644 --- a/khtml/css/css_valueimpl.cpp +++ b/khtml/css/css_valueimpl.cpp @@ -766,7 +766,7 @@ DOM::DOMString CSSPrimitiveValueImpl::cssText() const + TQString::number(tqGreen(m_value.rgbcolor)) + "," + TQString::number(tqAlpha(m_value.rgbcolor)/255.0) + ")"; } else { - text = TQColor(m_value.rgbcolor).name(); + text = TQString(TQColor(m_value.rgbcolor).name()); } break; case CSSPrimitiveValue::CSS_PAIR: @@ -886,9 +886,9 @@ FontFamilyValueImpl::FontFamilyValueImpl( const TQString &string) parsedFontName = string; // a language tag is often added in braces at the end. Remove it. - parsedFontName.replace(parenReg, TQString::null); + parsedFontName.replace(parenReg, TQString()); // remove [Xft] qualifiers - parsedFontName.replace(braceReg, TQString::null); + parsedFontName.replace(braceReg, TQString()); #ifndef APPLE_CHANGES const TQString &available = KHTMLSettings::availableFamilies(); |