From bf7f88413be3831a9372d323d02fc0335b9f9188 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 26 May 2011 21:04:57 +0000 Subject: TQt4 port Gwenview This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/imageutils/jpegcontent.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/imageutils/jpegcontent.h') diff --git a/src/imageutils/jpegcontent.h b/src/imageutils/jpegcontent.h index 7aa03fc..dddc28d 100644 --- a/src/imageutils/jpegcontent.h +++ b/src/imageutils/jpegcontent.h @@ -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 @@ -21,17 +21,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef JPEGCONTENT_H #define JPEGCONTENT_H -// Qt -#include +// TQt +#include // Local #include #include "../gvcore/libgwenview_export.h" -class QImage; -class QString; -class QFile; +class TQImage; +class TQString; +class TQFile; namespace ImageUtils { @@ -47,27 +47,27 @@ public: int dotsPerMeterX() const; int dotsPerMeterY() const; - QSize size() const; + TQSize size() const; - QString comment() const; - void setComment(const QString&); + TQString comment() const; + void setComment(const TQString&); - QString aperture() const; - QString exposureTime() const; - QString iso() const; - QString focalLength() const; + TQString aperture() const; + TQString exposureTime() const; + TQString iso() const; + TQString focalLength() const; - QString getExifInformation(const QString exifkey) const; + TQString getExifInformation(const TQString exifkey) const; void transform(Orientation); - QImage thumbnail() const; - void setThumbnail(const QImage&); + TQImage thumbnail() const; + void setThumbnail(const TQImage&); - bool load(const QString& file); - bool loadFromData(const QByteArray& rawData); - bool save(const QString& file); - bool save(QFile*); + bool load(const TQString& file); + bool loadFromData(const TQByteArray& rawData); + bool save(const TQString& file); + bool save(TQFile*); private: struct Private; @@ -76,7 +76,7 @@ private: JPEGContent(const JPEGContent&); void operator=(const JPEGContent&); void applyPendingTransformation(); - int dotsPerMeter(const QString& keyName) const; + int dotsPerMeter(const TQString& keyName) const; }; -- cgit v1.2.1