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 ++-- kghostview/kgv_view.cpp | 2 +- kghostview/viewcontrol.cpp | 2 +- kruler/klineal.cpp | 2 +- kuickshow/src/imlibwidget.cpp | 2 +- kviewshell/kviewpart.cpp | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) 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") ); diff --git a/kghostview/kgv_view.cpp b/kghostview/kgv_view.cpp index 35d82a7b..9572b787 100644 --- a/kghostview/kgv_view.cpp +++ b/kghostview/kgv_view.cpp @@ -222,7 +222,7 @@ KGVPart::KGVPart( TQWidget* parentWidget, const char*, // TODO -- disable entry if there aren't any page names //-- View Menu ---------------------------------------------------------- - _selectOrientation = new KSelectAction( i18n( "&Qt::Orientation" ), 0, 0, 0, + _selectOrientation = new KSelectAction( i18n( "&Orientation" ), 0, 0, 0, actionCollection(), "orientation_menu" ); _selectMedia = new KSelectAction( i18n( "Paper &Size" ), 0, 0, 0, actionCollection(), "media_menu" ); diff --git a/kghostview/viewcontrol.cpp b/kghostview/viewcontrol.cpp index 5a912a0c..3da5730e 100644 --- a/kghostview/viewcontrol.cpp +++ b/kghostview/viewcontrol.cpp @@ -103,7 +103,7 @@ ViewControl::ViewControl( TQWidget *tqparent, const char *name ) grid->addWidget( vcLabel, 1, 0 ); - vcLabel = new TQLabel( orientComboBox, i18n("&Qt::Orientation"), vcGroupBox ); + vcLabel = new TQLabel( orientComboBox, i18n("&Orientation"), vcGroupBox ); vcLabel->tqsetAlignment( AlignRight | AlignVCenter | ShowPrefix ); if ( vcLabel->tqsizeHint().width() > labelWidth ) labelWidth = vcLabel->tqsizeHint().width(); diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp index d65f0890..7c2f6fdc 100644 --- a/kruler/klineal.cpp +++ b/kruler/klineal.cpp @@ -152,7 +152,7 @@ KLineal::KLineal(TQWidget*tqparent,const char* name):KMainWindow(tqparent,name){ oriMenu->insertItem(UserIconSet("kruler-west"), i18n("&West"), this, TQT_SLOT(setWest()), Key_W); oriMenu->insertItem(i18n("&Turn Right"), this, TQT_SLOT(turnRight()), Key_R); oriMenu->insertItem(i18n("Turn &Left"), this, TQT_SLOT(turnLeft()), Key_L); - mMenu->insertItem(i18n("&Qt::Orientation"), oriMenu); + mMenu->insertItem(i18n("&Orientation"), oriMenu); mLenMenu = new KPopupMenu(this); mLenMenu->insertItem(i18n("&Short"), this, TQT_SLOT(setShortLength()), CTRL+Key_S); mLenMenu->insertItem(i18n("&Medium"), this, TQT_SLOT(setMediumLength()), CTRL+Key_M); diff --git a/kuickshow/src/imlibwidget.cpp b/kuickshow/src/imlibwidget.cpp index c14ca983..24d6fe4f 100644 --- a/kuickshow/src/imlibwidget.cpp +++ b/kuickshow/src/imlibwidget.cpp @@ -311,7 +311,7 @@ bool ImlibWidget::autoRotate( KuickImage *kuim ) if ( !metadatas.isValid() ) return false; - KFileMetaInfoItem metaitem = metadatas.item("Qt::Orientation"); + KFileMetaInfoItem metaitem = metadatas.item("Orientation"); if ( !metaitem.isValid() || metaitem.value().isNull() ) diff --git a/kviewshell/kviewpart.cpp b/kviewshell/kviewpart.cpp index 1a0902f2..115c0a50 100644 --- a/kviewshell/kviewpart.cpp +++ b/kviewshell/kviewpart.cpp @@ -210,7 +210,7 @@ KViewPart::KViewPart(TQWidget *parentWidget, const char *widgetName, TQObject *t TQStringList orientations; orientations.append(i18n("Portrait")); orientations.append(i18n("Landscape")); - orientation = new KSelectAction (i18n("Preferred &Qt::Orientation"), 0, 0, 0, actionCollection(), "view_orientation"); + orientation = new KSelectAction (i18n("Preferred &Orientation"), 0, 0, 0, actionCollection(), "view_orientation"); orientation->setItems(orientations); connect(orientation, TQT_SIGNAL(activated (int)), &userRequestedPaperSize, TQT_SLOT(setOrientation(int))); -- cgit v1.2.3