From d0a269b9b0361bf71c5dd5787be0839f9dcace8c Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 3 Aug 2011 18:10:36 +0000 Subject: Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/jpeg/exif.cpp | 2 +- kfile-plugins/jpeg/kfile_jpeg.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kfile-plugins/jpeg') diff --git a/kfile-plugins/jpeg/exif.cpp b/kfile-plugins/jpeg/exif.cpp index dd93bd7e..6c621477 100644 --- a/kfile-plugins/jpeg/exif.cpp +++ b/kfile-plugins/jpeg/exif.cpp @@ -135,7 +135,7 @@ static int BytesPerFormat[] = {0,1,1,2,4,8,1,1,2,4,8,4,8}; { 0x10F, "Make"}, { 0x110, "Model"}, { 0x111, "StripOffsets"}, - { 0x112, "Qt::Orientation"}, + { 0x112, "Orientation"}, { 0x115, "SamplesPerPixel"}, { 0x116, "RowsPerStrip"}, { 0x117, "StripByteCounts"}, diff --git a/kfile-plugins/jpeg/kfile_jpeg.cpp b/kfile-plugins/jpeg/kfile_jpeg.cpp index 86170b8b..2472ac70 100644 --- a/kfile-plugins/jpeg/kfile_jpeg.cpp +++ b/kfile-plugins/jpeg/kfile_jpeg.cpp @@ -84,7 +84,7 @@ KJpegPlugin::KJpegPlugin(TQObject *tqparent, const char *name, setHint( item, KFileMimeTypeInfo::Size ); setUnit( item, KFileMimeTypeInfo::Pixels ); - item = addItemInfo( exifGroup, "Qt::Orientation", i18n("Qt::Orientation"), + item = addItemInfo( exifGroup, "Orientation", i18n("Orientation"), TQVariant::Int ); item = addItemInfo( exifGroup, "ColorMode", i18n("Color Mode"), @@ -242,7 +242,7 @@ bool KJpegPlugin::readInfo( KFileMetaInfo& info, uint what ) ImageInfo.getHeight() ) ); if ( ImageInfo.getOrientation() ) - appendItem( exifGroup, "Qt::Orientation", ImageInfo.getOrientation() ); + appendItem( exifGroup, "Orientation", ImageInfo.getOrientation() ); appendItem( exifGroup, "ColorMode", ImageInfo.getIsColor() ? i18n("Color") : i18n("Black and white") ); -- cgit v1.2.1