diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /ksvg/impl/SVGColorProfileElementImpl.cc | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/impl/SVGColorProfileElementImpl.cc')
-rw-r--r-- | ksvg/impl/SVGColorProfileElementImpl.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksvg/impl/SVGColorProfileElementImpl.cc b/ksvg/impl/SVGColorProfileElementImpl.cc index f898188b..385a836b 100644 --- a/ksvg/impl/SVGColorProfileElementImpl.cc +++ b/ksvg/impl/SVGColorProfileElementImpl.cc @@ -22,7 +22,7 @@ #include <kdebug.h> #include <kio/netaccess.h> -#include <qimage.h> +#include <tqimage.h> #include "SVGDocumentImpl.h" #include "SVGSVGElementImpl.h" @@ -97,7 +97,7 @@ void SVGColorProfileElementImpl::putValueProperty(ExecState *exec, int token, co break; case RenderingIntent: { - QString compare = value.toString(exec).qstring().lower(); + TQString compare = value.toString(exec).qstring().lower(); if(compare == "perceptual") m_renderingIntent = RENDERING_INTENT_PERCEPTUAL; @@ -148,12 +148,12 @@ unsigned short SVGColorProfileElementImpl::renderingIntent() const bool SVGColorProfileElementImpl::canLoad() { - QString open; + TQString open; bool temp; return canLoad(false, temp, open, true); } -bool SVGColorProfileElementImpl::canLoad(bool remote, bool &tempFile, QString &open, bool verbose) +bool SVGColorProfileElementImpl::canLoad(bool remote, bool &tempFile, TQString &open, bool verbose) { KURL file; @@ -174,7 +174,7 @@ bool SVGColorProfileElementImpl::canLoad(bool remote, bool &tempFile, QString &o { open = file.path(); - if(!QFile::exists(open)) + if(!TQFile::exists(open)) { if(verbose) kdDebug() << "Couldn't load color profile " << file.path() << "! It does not exist." << endl; @@ -196,7 +196,7 @@ bool SVGColorProfileElementImpl::canLoad(bool remote, bool &tempFile, QString &o bool SVGColorProfileElementImpl::loadColorProfile() { - QString open; + TQString open; bool tempFile = false; if(!canLoad(true, tempFile, open, false)) @@ -251,7 +251,7 @@ QRgb SVGColorProfileElementImpl::correctPixel(float r, float g, float b) return qRgb(0, 0, 0); } -QImage *SVGColorProfileElementImpl::correctImage(QImage *input) +TQImage *SVGColorProfileElementImpl::correctImage(TQImage *input) { if(!canLoad()) return input; |