summaryrefslogtreecommitdiffstats
path: root/src/gvcore/documentjpegloadedimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/documentjpegloadedimpl.cpp')
-rw-r--r--src/gvcore/documentjpegloadedimpl.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gvcore/documentjpegloadedimpl.cpp b/src/gvcore/documentjpegloadedimpl.cpp
index 0b4caec..e56a31c 100644
--- a/src/gvcore/documentjpegloadedimpl.cpp
+++ b/src/gvcore/documentjpegloadedimpl.cpp
@@ -1,7 +1,7 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab
/*
Gwenview - A simple image viewer for KDE
-Copyright 2000-2004 Aurélien Gâteau
+Copyright 2000-2004 Aur�lien G�teau
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -18,11 +18,11 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-// Qt
-#include <qcstring.h>
-#include <qfile.h>
-#include <qfileinfo.h>
-#include <qtimer.h>
+// TQt
+#include <tqcstring.h>
+#include <tqfile.h>
+#include <tqfileinfo.h>
+#include <tqtimer.h>
// KDE
#include <kdebug.h>
@@ -54,7 +54,7 @@ public:
};
-DocumentJPEGLoadedImpl::DocumentJPEGLoadedImpl(Document* document, const QByteArray& rawData)
+DocumentJPEGLoadedImpl::DocumentJPEGLoadedImpl(Document* document, const TQByteArray& rawData)
: DocumentLoadedImpl(document) {
LOG("" << mDocument->url().prettyURL() << ", data size: " << rawData.size() );
d=new DocumentJPEGLoadedImplPrivate;
@@ -89,13 +89,13 @@ void DocumentJPEGLoadedImpl::transform(ImageUtils::Orientation orientation) {
}
-QString DocumentJPEGLoadedImpl::localSave(QFile* file, const QCString& format) const {
+TQString DocumentJPEGLoadedImpl::localSave(TQFile* file, const TQCString& format) const {
if (qstrcmp(format, "JPEG")==0) {
LOG("JPEG Reset orientation");
d->mJPEGContent.resetOrientation();
if (!d->mJPEGContent.thumbnail().isNull()) {
d->mJPEGContent.setThumbnail( ImageUtils::scale(
- mDocument->image(), 128, 128, ImageUtils::SMOOTH_FAST, QImage::ScaleMin));
+ mDocument->image(), 128, 128, ImageUtils::SMOOTH_FAST, TQ_ScaleMin));
}
LOG("JPEG Lossless save");
@@ -103,35 +103,35 @@ QString DocumentJPEGLoadedImpl::localSave(QFile* file, const QCString& format) c
return i18n("Could not save this JPEG file.");
}
} else {
- QString msg=DocumentLoadedImpl::localSave(file, format);
+ TQString msg=DocumentLoadedImpl::localSave(file, format);
if (!msg.isNull()) return msg;
}
- return QString::null;
+ return TQString();
}
-QString DocumentJPEGLoadedImpl::comment() const {
+TQString DocumentJPEGLoadedImpl::comment() const {
return d->mJPEGContent.comment();
}
-void DocumentJPEGLoadedImpl::setComment(const QString& comment) {
+void DocumentJPEGLoadedImpl::setComment(const TQString& comment) {
d->mJPEGContent.setComment(comment);
}
-QString DocumentJPEGLoadedImpl::aperture() const {
+TQString DocumentJPEGLoadedImpl::aperture() const {
return d->mJPEGContent.aperture();
}
-QString DocumentJPEGLoadedImpl::exposureTime() const {
+TQString DocumentJPEGLoadedImpl::exposureTime() const {
return d->mJPEGContent.exposureTime();
}
-QString DocumentJPEGLoadedImpl::iso() const {
+TQString DocumentJPEGLoadedImpl::iso() const {
return d->mJPEGContent.iso();
}
-QString DocumentJPEGLoadedImpl::focalLength() const {
+TQString DocumentJPEGLoadedImpl::focalLength() const {
return d->mJPEGContent.focalLength();
}