Fix incorrectly renamed strings

pull/1/head
Slávek Banko 10 years ago
parent 8ef2216f4e
commit 97575faeaa

@ -5,7 +5,7 @@
* *
* Date : 2004-08-20 * Date : 2004-08-20
* Description : a widget to display an image with guides * Description : a widget to display an image with guides
* *
* Copyright (C) 2004-2008 Gilles Caulier <caulier dot gilles at gmail dot com> * Copyright (C) 2004-2008 Gilles Caulier <caulier dot gilles at gmail dot com>
* *
* This program is free software; you can redistribute it * This program is free software; you can redistribute it
@ -13,12 +13,12 @@
* Public License as published by the Free Software Foundation; * Public License as published by the Free Software Foundation;
* either version 2, or (at your option) * either version 2, or (at your option)
* any later version. * any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* ============================================================ */ * ============================================================ */
#ifndef IMAGEGUIDEWIDGET_H #ifndef IMAGEGUIDEWIDGET_H
@ -47,23 +47,23 @@ class ImageGuideWidgetPriv;
class DIGIKAM_EXPORT ImageGuideWidget : public TQWidget class DIGIKAM_EXPORT ImageGuideWidget : public TQWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
enum GuideToolMode enum GuideToolMode
{ {
HVGuideMode=0, HVGuideMode=0,
PickColorMode PickColorMode
}; };
enum RenderingPreviewMode enum RenderingPreviewMode
{ {
PreviewOriginalImage=0, // Original image only. PreviewOriginalImage=0, // Original image only.
PreviewBothImagesHorz, //Qt::Horizontal with original and target duplicated. PreviewBothImagesHorz, // Horizontal with original and target duplicated.
PreviewBothImagesVert, //Qt::Vertical with original and target duplicated. PreviewBothImagesVert, // Vertical with original and target duplicated.
PreviewBothImagesHorzCont, //Qt::Horizontal with original and target in contiguous. PreviewBothImagesHorzCont, // Horizontal with original and target in contiguous.
PreviewBothImagesVertCont, //Qt::Vertical with original and target in contiguous. PreviewBothImagesVertCont, // Vertical with original and target in contiguous.
PreviewTargetImage, // Target image only. PreviewTargetImage, // Target image only.
PreviewToggleOnMouseOver, // Original image if mouse is over image area, else target image. PreviewToggleOnMouseOver, // Original image if mouse is over image area, else target image.
NoPreviewMode // Target image only without information displayed. NoPreviewMode // Target image only without information displayed.
@ -78,14 +78,14 @@ public:
public: public:
ImageGuideWidget(int w, int h, TQWidget *parent=0, ImageGuideWidget(int w, int h, TQWidget *parent=0,
bool spotVisible=true, int guideMode=HVGuideMode, bool spotVisible=true, int guideMode=HVGuideMode,
const TQColor& guideColor=TQt::red, int guideSize=1, const TQColor& guideColor=TQt::red, int guideSize=1,
bool blink=false, bool useImageSelection=false); bool blink=false, bool useImageSelection=false);
~ImageGuideWidget(); ~ImageGuideWidget();
ImageIface* imageIface(); ImageIface* imageIface();
TQPoint getSpotPosition(); TQPoint getSpotPosition();
DColor getSpotColor(int getColorFrom); DColor getSpotColor(int getColorFrom);
void setSpotVisible(bool spotVisible, bool blink=false); void setSpotVisible(bool spotVisible, bool blink=false);
@ -94,13 +94,13 @@ public:
void updatePreview(); void updatePreview();
public slots: public slots:
void slotChangeGuideColor(const TQColor &color); void slotChangeGuideColor(const TQColor &color);
void slotChangeGuideSize(int size); void slotChangeGuideSize(int size);
void slotChangeRenderingPreviewMode(int mode); void slotChangeRenderingPreviewMode(int mode);
void slotToggleUnderExposure(bool); void slotToggleUnderExposure(bool);
void slotToggleOverExposure(bool); void slotToggleOverExposure(bool);
signals: signals:
void spotPositionChangedFromOriginal(const Digikam::DColor &color, const TQPoint &position); void spotPositionChangedFromOriginal(const Digikam::DColor &color, const TQPoint &position);
@ -108,7 +108,7 @@ signals:
void signalResized(); void signalResized();
protected: protected:
void paintEvent(TQPaintEvent*); void paintEvent(TQPaintEvent*);
void resizeEvent(TQResizeEvent*); void resizeEvent(TQResizeEvent*);
void timerEvent(TQTimerEvent*); void timerEvent(TQTimerEvent*);
@ -117,14 +117,14 @@ protected:
void mouseMoveEvent(TQMouseEvent*); void mouseMoveEvent(TQMouseEvent*);
void enterEvent(TQEvent*); void enterEvent(TQEvent*);
void leaveEvent(TQEvent*); void leaveEvent(TQEvent*);
private: private:
void updatePixmap(); void updatePixmap();
private: private:
ImageGuideWidgetPriv *d; ImageGuideWidgetPriv *d;
}; };
} // NameSpace Digikam } // NameSpace Digikam

@ -4,9 +4,9 @@
* http://www.digikam.org * http://www.digikam.org
* *
* Date : 2006-02-21 * Date : 2006-02-21
* Description : a generic list view widget to * Description : a generic list view widget to
* display metadata * display metadata
* *
* Copyright (c) 2006-2008 by Gilles Caulier <caulier dot gilles at gmail dot com> * Copyright (c) 2006-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
* *
* This program is free software; you can redistribute it * This program is free software; you can redistribute it
@ -14,12 +14,12 @@
* Public License as published by the Free Software Foundation; * Public License as published by the Free Software Foundation;
* either version 2, or (at your option) * either version 2, or (at your option)
* any later version. * any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* ============================================================ */ * ============================================================ */
// TQt includes. // TQt includes.
@ -53,7 +53,7 @@ MetadataListView::MetadataListView(TQWidget* parent)
setItemMargin(0); setItemMargin(0);
setAllColumnsShowFocus(true); setAllColumnsShowFocus(true);
setResizeMode(TQListView::AllColumns); setResizeMode(TQListView::AllColumns);
//Qt::Vertical scroll bar is always disable to give more // Vertical scroll bar is always disable to give more
// free space to metadata content // free space to metadata content
setVScrollBarMode(TQScrollView::AlwaysOff); setVScrollBarMode(TQScrollView::AlwaysOff);
@ -203,9 +203,9 @@ void MetadataListView::setIfdList(const DMetadata::MetaDataMap& ifds, const TQSt
subItems = 0; subItems = 0;
parentifDItem = new MdKeyListViewItem(this, *itKeysFilter); parentifDItem = new MdKeyListViewItem(this, *itKeysFilter);
DMetadata::MetaDataMap::const_iterator it = ifds.end(); DMetadata::MetaDataMap::const_iterator it = ifds.end();
while(1) while(1)
{ {
if ( *itKeysFilter == it.key().section('.', 1, 1) ) if ( *itKeysFilter == it.key().section('.', 1, 1) )
{ {
@ -259,7 +259,7 @@ void MetadataListView::slotSearchTextChanged(const TQString& filter)
TQString search = filter.lower(); TQString search = filter.lower();
TQListViewItemIterator it(this); TQListViewItemIterator it(this);
for ( ; it.current(); ++it ) for ( ; it.current(); ++it )
{ {
MetadataListViewItem *item = dynamic_cast<MetadataListViewItem*>(it.current()); MetadataListViewItem *item = dynamic_cast<MetadataListViewItem*>(it.current());
if (item) if (item)

@ -413,7 +413,7 @@ void ShowFoto::setupUserArea()
TQWidget* widget = new TQWidget(this); TQWidget* widget = new TQWidget(this);
TQSizePolicy rightSzPolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding, 2, 1); TQSizePolicy rightSzPolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding, 2, 1);
if(!config->readBoolEntry("HorizontalThumbbar", false)) //Qt::Vertical thumbbar layout if(!config->readBoolEntry("HorizontalThumbbar", false)) // Vertical thumbbar layout
{ {
TQHBoxLayout *hlay = new TQHBoxLayout(widget); TQHBoxLayout *hlay = new TQHBoxLayout(widget);
m_splitter = new TQSplitter(widget); m_splitter = new TQSplitter(widget);
@ -428,7 +428,7 @@ void ShowFoto::setupUserArea()
hlay->addWidget(m_splitter); hlay->addWidget(m_splitter);
hlay->addWidget(d->rightSidebar); hlay->addWidget(d->rightSidebar);
} }
else //Qt::Horizontal thumbbar layout else // Horizontal thumbbar layout
{ {
m_splitter = new TQSplitter(Qt::Horizontal, widget); m_splitter = new TQSplitter(Qt::Horizontal, widget);
TQWidget* widget2 = new TQWidget(m_splitter); TQWidget* widget2 = new TQWidget(m_splitter);

@ -5,7 +5,7 @@
* *
* Date : 2005-02-06 * Date : 2005-02-06
* Description : undo actions manager for image editor. * Description : undo actions manager for image editor.
* *
* Copyright (C) 2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu> * Copyright (C) 2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
* Copyright (C) 2005 by Joern Ahrens <joern.ahrens@kdemail.net> * Copyright (C) 2005 by Joern Ahrens <joern.ahrens@kdemail.net>
* *
@ -14,12 +14,12 @@
* Public License as published by the Free Software Foundation; * Public License as published by the Free Software Foundation;
* either version 2, or (at your option) * either version 2, or (at your option)
* any later version. * any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* ============================================================ */ * ============================================================ */
// Local includes. // Local includes.
@ -109,9 +109,9 @@ UndoActionFlip::UndoActionFlip(DImgInterface* iface,
: UndoAction(iface), m_dir(dir) : UndoAction(iface), m_dir(dir)
{ {
if(m_dir ==Qt::Horizontal) if(m_dir ==Qt::Horizontal)
m_title = i18n("FlipQt::Horizontal"); m_title = i18n("Flip Horizontal");
else if(m_dir ==Qt::Vertical) else if(m_dir ==Qt::Vertical)
m_title = i18n("FlipQt::Vertical"); m_title = i18n("Flip Vertical");
} }
UndoActionFlip::~UndoActionFlip() UndoActionFlip::~UndoActionFlip()
@ -146,7 +146,7 @@ UndoActionBCG::UndoActionBCG(DImgInterface* iface,
m_oldContrast(oldContrast), m_newGamma(newGamma), m_newBrightness(newBrightness), m_oldContrast(oldContrast), m_newGamma(newGamma), m_newBrightness(newBrightness),
m_newContrast(newContrast) m_newContrast(newContrast)
{ {
m_title = i18n("Brightness,Contrast,Gamma"); m_title = i18n("Brightness,Contrast,Gamma");
} }
UndoActionBCG::~UndoActionBCG() UndoActionBCG::~UndoActionBCG()

@ -443,12 +443,12 @@ void EditorWindow::setupStandardActions()
// -- Standard 'Flip' menu actions --------------------------------------------- // -- Standard 'Flip' menu actions ---------------------------------------------
d->flipHorizAction = new TDEAction(i18n("FlipQt::Horizontally"), "mirror", CTRL+Key_Asterisk, d->flipHorizAction = new TDEAction(i18n("Flip Horizontally"), "mirror", CTRL+Key_Asterisk,
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipHoriz()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipHoriz()),
actionCollection(), "editorwindow_flip_horiz"); actionCollection(), "editorwindow_flip_horiz");
d->flipHorizAction->setEnabled(false); d->flipHorizAction->setEnabled(false);
d->flipVertAction = new TDEAction(i18n("FlipQt::Vertically"), "flip", CTRL+Key_Slash, d->flipVertAction = new TDEAction(i18n("Flip Vertically"), "flip", CTRL+Key_Slash,
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipVert()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipVert()),
actionCollection(), "editorwindow_flip_vert"); actionCollection(), "editorwindow_flip_vert");
d->flipVertAction->setEnabled(false); d->flipVertAction->setEnabled(false);

Loading…
Cancel
Save