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/plugin/svgcreator.cpp | |
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/plugin/svgcreator.cpp')
-rw-r--r-- | ksvg/plugin/svgcreator.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksvg/plugin/svgcreator.cpp b/ksvg/plugin/svgcreator.cpp index c6689c9a..dc20e06f 100644 --- a/ksvg/plugin/svgcreator.cpp +++ b/ksvg/plugin/svgcreator.cpp @@ -21,8 +21,8 @@ #include <time.h> -#include <qpixmap.h> -#include <qimage.h> +#include <tqpixmap.h> +#include <tqimage.h> #include "KSVGCanvas.h" #include "CanvasFactory.h" @@ -50,19 +50,19 @@ SVGCreator::~SVGCreator() { } -bool SVGCreator::create(const QString &path, int width, int height, QImage &img) +bool SVGCreator::create(const TQString &path, int width, int height, TQImage &img) { KSVG::SVGDocumentImpl *doc = new KSVG::SVGDocumentImpl(false, true); doc->ref(); - QPixmap pix(width, height); + TQPixmap pix(width, height); pix.fill(Qt::white); KSVG::KSVGCanvas *c = KSVG::CanvasFactory::self()->loadCanvas(width, height); c->setup(&pix, &pix); doc->attach(c); - connect(doc, SIGNAL(finishedRendering()), SLOT(slotFinished())); + connect(doc, TQT_SIGNAL(finishedRendering()), TQT_SLOT(slotFinished())); doc->open( KURL::fromPathOrURL(path)); m_finished = false; |