Git commit 430fb9045967abe9352870675dd74ccd556b4db1 by Luk=C3=A1=C5=A1 Tink= l. Committed on 31/10/2014 at 20:49. Pushed by lukas into branch 'master'. --kdelibs4support M +6 -6 lib/crop/cropwidget.cpp M +2 -14 lib/crop/cropwidget.ui M +1 -1 lib/document/document.cpp M +1 -14 lib/print/printoptionspage.ui M +1 -8 lib/redeyereduction/redeyereductionwidget.ui http://commits.kde.org/gwenview/430fb9045967abe9352870675dd74ccd556b4db1 diff --git a/lib/crop/cropwidget.cpp b/lib/crop/cropwidget.cpp index 0b9fda0..2e5cf04 100644 --- a/lib/crop/cropwidget.cpp +++ b/lib/crop/cropwidget.cpp @@ -26,11 +26,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Bost= on, MA 02110-1301, USA. #include #include #include +#include = // KDE #include #include -#include #include = // Local @@ -157,11 +157,11 @@ struct CropWidgetPrivate : public Ui_CropWidget ratioComboBox->setMaxVisibleItems(ratioComboBox->count()); ratioComboBox->clearEditText(); = - KLineEdit* edit =3D qobject_cast(ratioComboBox->lineEd= it()); + QLineEdit* edit =3D qobject_cast(ratioComboBox->lineEd= it()); Q_ASSERT(edit); // Do not use i18n("%1:%2") because ':' should not be translated, = it is // used to parse the ratio string. - edit->setClickMessage(QString("%1:%2").arg(i18n("Width")).arg(i18n= ("Height"))); + edit->setPlaceholderText(QString("%1:%2").arg(i18n("Width")).arg(i= 18n("Height"))); } = QRect cropRect() const @@ -190,8 +190,8 @@ struct CropWidgetPrivate : public Ui_CropWidget cropButton->setIcon(QIcon::fromTheme("transform-crop-and-resize")); cropButton->setText(i18n("Crop")); = - QObject::connect(dialogButtonBox, &KDialogButtonBox::accepted, q, = &CropWidget::cropRequested); - QObject::connect(dialogButtonBox, &KDialogButtonBox::rejected, q, = &CropWidget::done); + QObject::connect(dialogButtonBox, &QDialogButtonBox::accepted, q, = &CropWidget::cropRequested); + QObject::connect(dialogButtonBox, &QDialogButtonBox::rejected, q, = &CropWidget::done); } }; = @@ -225,7 +225,7 @@ CropWidget::CropWidget(QWidget* parent, RasterImageView= * imageView, CropTool* cr = d->initDialogButtonBox(); = - connect(d->ratioComboBox, &KComboBox::editTextChanged, this, &CropWidg= et::slotRatioComboBoxEditTextChanged); + connect(d->ratioComboBox, &QComboBox::editTextChanged, this, &CropWidg= et::slotRatioComboBoxEditTextChanged); = // Don't do this before signals are connected, otherwise the tool won'= t get // initialized diff --git a/lib/crop/cropwidget.ui b/lib/crop/cropwidget.ui index efa5cf5..283a007 100644 --- a/lib/crop/cropwidget.ui +++ b/lib/crop/cropwidget.ui @@ -63,7 +63,7 @@ - + true @@ -161,7 +161,7 @@ - + QDialogButtonBox::Cancel|QDialogButtonBox::Ok @@ -169,18 +169,6 @@ - - - KDialogButtonBox - QDialogButtonBox -
kdialogbuttonbox.h
-
- - KComboBox - QComboBox -
kcombobox.h
-
-
ratioComboBox leftSpinBox diff --git a/lib/document/document.cpp b/lib/document/document.cpp index 570bd47..0ed83cf 100644 --- a/lib/document/document.cpp +++ b/lib/document/document.cpp @@ -129,7 +129,7 @@ void DocumentPrivate::downSampleImage(int invertedZoom) mDownSampledImageMap[invertedZoom] =3D mImage; } q->downSampledImageReady(); -}; +} = //- DownSamplingJob --------------------------------------- void DownSamplingJob::doStart() diff --git a/lib/print/printoptionspage.ui b/lib/print/printoptionspage.ui index 3759843..6ccd02f 100644 --- a/lib/print/printoptionspage.ui +++ b/lib/print/printoptionspage.ui @@ -173,7 +173,7 @@ - + false @@ -263,19 +263,6 @@ - - - KComboBox - QComboBox -
kcombobox.h
-
-
- - kcombobox.h - knuminput.h - knuminput.h - kcombobox.h - diff --git a/lib/redeyereduction/redeyereductionwidget.ui b/lib/redeyereduc= tion/redeyereductionwidget.ui index 04645b1..85a3c8b 100644 --- a/lib/redeyereduction/redeyereductionwidget.ui +++ b/lib/redeyereduction/redeyereductionwidget.ui @@ -67,7 +67,7 @@ - + QDialogButtonBox::Close|QDialogButtonBox::Ok @@ -75,13 +75,6 @@ - - - KDialogButtonBox - QDialogButtonBox -
kdialogbuttonbox.h
-
-