summaryrefslogtreecommitdiffstats
path: root/kalzium/src/exporter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kalzium/src/exporter.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalzium/src/exporter.cpp')
-rw-r--r--kalzium/src/exporter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalzium/src/exporter.cpp b/kalzium/src/exporter.cpp
index 48f50170..0c667eac 100644
--- a/kalzium/src/exporter.cpp
+++ b/kalzium/src/exporter.cpp
@@ -19,7 +19,7 @@
#include "exporter.h"
-#include <qpixmap.h>
+#include <tqpixmap.h>
#include <kdebug.h>
#include <kimageio.h>
@@ -39,11 +39,11 @@ Exporter::~Exporter()
{
}
-bool Exporter::saveAsImage( const QPixmap* pixmap, const QString& fileName, int x, int y, int width, int height )
+bool Exporter::saveAsImage( const TQPixmap* pixmap, const TQString& fileName, int x, int y, int width, int height )
{
if ( x != 0 || y != 0 || width != 0 || height != 0 )
{
- QPixmap* tmpPixmap = new QPixmap();
+ TQPixmap* tmpPixmap = new TQPixmap();
copyBlt( tmpPixmap, 0, 0, pixmap, x, y, width, height );
@@ -55,7 +55,7 @@ bool Exporter::saveAsImage( const QPixmap* pixmap, const QString& fileName, int
return pixmap->save( fileName, "PNG" );
}
-QString Exporter::supportedImageFormats()
+TQString Exporter::supportedImageFormats()
{
return KImageIO::pattern( KImageIO::Writing );
}