From 21705d1b062c986e1c8d76c13ce20e375a234f24 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 5 Apr 2012 14:17:30 -0500 Subject: Fix typos. --- ChangeLog | 2 +- kipi-plugins/ChangeLog | 2 +- kipi-plugins/batchprocessimages/effectimagesdialog.cpp | 10 +++++----- kipi-plugins/batchprocessimages/effectimagesdialog.h | 2 +- kipi-plugins/batchprocessimages/effectoptionsdialog.cpp | 14 +++++++------- kipi-plugins/batchprocessimages/effectoptionsdialog.h | 2 +- kipi-plugins/slideshow/slideshow.cpp | 4 ++-- kipi-plugins/slideshow/slideshow.h | 2 +- kipi-plugins/slideshow/slideshowgl.cpp | 4 ++-- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index 72fce20..fdf4deb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8250,7 +8250,7 @@ v 0.1.3-beta1 - 2006-11-29 * [r598395] metadataedit/exifphoto.cpp: kipiplugins from trunk : MetadataEdit plugin: Exif photo - informations editor: add Focal Lenght In 35mm Film settings + informations editor: add Focal Length In 35mm Film settings CCBUGS: 103255 diff --git a/kipi-plugins/ChangeLog b/kipi-plugins/ChangeLog index c3fcc63..f25ae1b 100644 --- a/kipi-plugins/ChangeLog +++ b/kipi-plugins/ChangeLog @@ -8376,7 +8376,7 @@ v 0.1.3-beta1 - 2006-11-29 * [r598395] metadataedit/exifphoto.cpp: kipiplugins from trunk : MetadataEdit plugin: Exif photo - informations editor: add Focal Lenght In 35mm Film settings + informations editor: add Focal Length In 35mm Film settings CCBUGS: 103255 diff --git a/kipi-plugins/batchprocessimages/effectimagesdialog.cpp b/kipi-plugins/batchprocessimages/effectimagesdialog.cpp index b4efb34..15570ed 100644 --- a/kipi-plugins/batchprocessimages/effectimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/effectimagesdialog.cpp @@ -190,7 +190,7 @@ void EffectImagesDialog::slotOptionsClicked(void) if ( Type == 10) // Wave { optionsDialog->m_waveAmplitude->setValue(m_waveAmplitude); - optionsDialog->m_waveLenght->setValue(m_waveLenght); + optionsDialog->m_waveLength->setValue(m_waveLength); } if ( optionsDialog->exec() == KMessageBox::Ok ) @@ -241,7 +241,7 @@ void EffectImagesDialog::slotOptionsClicked(void) if ( Type == 10) // Wave { m_waveAmplitude = optionsDialog->m_waveAmplitude->value(); - m_waveLenght = optionsDialog->m_waveLenght->value(); + m_waveLength = optionsDialog->m_waveLength->value(); } } @@ -270,7 +270,7 @@ m_config = new KConfig("kipirc"); m_spreadRadius = m_config->readNumEntry("SpreadRadius", 3); m_swirlDegrees = m_config->readNumEntry("SwirlDegrees", 45); m_waveAmplitude = m_config->readNumEntry("WaveAmplitude", 50); - m_waveLenght = m_config->readNumEntry("WaveLenght", 100); + m_waveLength = m_config->readNumEntry("WaveLength", 100); if (m_config->readEntry("SmallPreview", "true") == "true") m_smallPreview->setChecked( true ); @@ -311,7 +311,7 @@ void EffectImagesDialog::saveSettings(void) m_config->writeEntry("SpreadRadius", m_spreadRadius); m_config->writeEntry("SwirlDegrees", m_swirlDegrees); m_config->writeEntry("WaveAmplitude", m_waveAmplitude); - m_config->writeEntry("WaveLenght", m_waveLenght); + m_config->writeEntry("WaveLength", m_waveLength); m_config->writeEntry("SmallPreview", m_smallPreview->isChecked()); m_config->writeEntry("OverWriteMode", m_overWriteMode->currentItem()); @@ -423,7 +423,7 @@ TQString EffectImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesItem *proc << "-wave"; TQString Temp, Temp2; Temp2 = Temp.setNum( m_waveAmplitude ) + "x"; - Temp2.append ( Temp.setNum( m_waveLenght ) ); + Temp2.append ( Temp.setNum( m_waveLength ) ); *proc << Temp2; } diff --git a/kipi-plugins/batchprocessimages/effectimagesdialog.h b/kipi-plugins/batchprocessimages/effectimagesdialog.h index 32b91d6..8f3fd14 100644 --- a/kipi-plugins/batchprocessimages/effectimagesdialog.h +++ b/kipi-plugins/batchprocessimages/effectimagesdialog.h @@ -66,7 +66,7 @@ Q_OBJECT int m_spreadRadius; int m_swirlDegrees; int m_waveAmplitude; - int m_waveLenght; + int m_waveLength; TQString makeProcess(KProcess* proc, BatchProcessImagesItem *item, const TQString& albumDest, bool previewMode); diff --git a/kipi-plugins/batchprocessimages/effectoptionsdialog.cpp b/kipi-plugins/batchprocessimages/effectoptionsdialog.cpp index 745d3f8..e15202b 100644 --- a/kipi-plugins/batchprocessimages/effectoptionsdialog.cpp +++ b/kipi-plugins/batchprocessimages/effectoptionsdialog.cpp @@ -239,14 +239,14 @@ EffectOptionsDialog::EffectOptionsDialog(TQWidget *parent, int EffectType) m_label_waveAmplitude->setBuddy( m_waveAmplitude ); dvlay->addWidget( m_waveAmplitude ); - TQLabel *m_label_waveLenght = new TQLabel (i18n("Length:"), box); - dvlay->addWidget( m_label_waveLenght ); - m_waveLenght = new KIntNumInput(100, box); - m_waveLenght->setRange(0, 200, 1, true ); - TQWhatsThis::add( m_waveLenght, i18n("

Select here the value which represents the wave length " + TQLabel *m_label_waveLength = new TQLabel (i18n("Length:"), box); + dvlay->addWidget( m_label_waveLength ); + m_waveLength = new KIntNumInput(100, box); + m_waveLength->setRange(0, 200, 1, true ); + TQWhatsThis::add( m_waveLength, i18n("

Select here the value which represents the wave length " "of the sine wave.") ); - m_label_waveLenght->setBuddy( m_waveLenght ); - dvlay->addWidget( m_waveLenght ); + m_label_waveLength->setBuddy( m_waveLength ); + dvlay->addWidget( m_waveLength ); } } diff --git a/kipi-plugins/batchprocessimages/effectoptionsdialog.h b/kipi-plugins/batchprocessimages/effectoptionsdialog.h index 1e4a022..5363fdc 100644 --- a/kipi-plugins/batchprocessimages/effectoptionsdialog.h +++ b/kipi-plugins/batchprocessimages/effectoptionsdialog.h @@ -71,7 +71,7 @@ Q_OBJECT KIntNumInput *m_swirlDegrees; KIntNumInput *m_waveAmplitude; - KIntNumInput *m_waveLenght; + KIntNumInput *m_waveLength; }; } // NameSpace KIPIBatchProcessImagesPlugin diff --git a/kipi-plugins/slideshow/slideshow.cpp b/kipi-plugins/slideshow/slideshow.cpp index 1cadf22..e079ca7 100644 --- a/kipi-plugins/slideshow/slideshow.cpp +++ b/kipi-plugins/slideshow/slideshow.cpp @@ -532,7 +532,7 @@ void SlideShow::printProgress() TQString progress(TQString::number(m_fileIndex+1) + "/" + TQString::number(m_fileList.count())); - int stringLenght = p.fontMetrics().width(progress) * progress.length(); + int stringLength = p.fontMetrics().width(progress) * progress.length(); p.setPen(TQColor("black")); for (int x=9; x<=11; x++) @@ -540,7 +540,7 @@ void SlideShow::printProgress() p.drawText(x, height()-y, progress); p.setPen(TQColor("white")); - p.drawText(width() - stringLenght - 10, 20, progress); + p.drawText(width() - stringLength - 10, 20, progress); } EffectMethod SlideShow::getRandomEffect() diff --git a/kipi-plugins/slideshow/slideshow.h b/kipi-plugins/slideshow/slideshow.h index c776d4e..4f03d9f 100644 --- a/kipi-plugins/slideshow/slideshow.h +++ b/kipi-plugins/slideshow/slideshow.h @@ -166,7 +166,7 @@ private: EffectMethod m_effect; bool m_effectRunning; - int m_commentsLinesLenght; + int m_commentsLinesLength; // values for state of various effects: int m_x, m_y, m_w, m_h, m_dx, m_dy, m_ix, m_iy, m_i, m_j, m_subType; diff --git a/kipi-plugins/slideshow/slideshowgl.cpp b/kipi-plugins/slideshow/slideshowgl.cpp index cc31b96..3d1f775 100644 --- a/kipi-plugins/slideshow/slideshowgl.cpp +++ b/kipi-plugins/slideshow/slideshowgl.cpp @@ -609,7 +609,7 @@ void SlideShowGL::printProgress(TQImage& layer) TQPainter p(&pix); - int stringLenght = p.fontMetrics().width(progress) * progress.length(); + int stringLength = p.fontMetrics().width(progress) * progress.length(); p.setPen(TQt::white); p.setFont(fn); @@ -617,7 +617,7 @@ void SlideShowGL::printProgress(TQImage& layer) p.end(); TQImage textimage(pix.convertToImage()); - KImageEffect::blendOnLower(m_width - stringLenght - 10, + KImageEffect::blendOnLower(m_width - stringLength - 10, 20,textimage,layer); } -- cgit v1.2.1