From de2b8d4c8b3f585b3732351480db93cdbb3eea1c Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 5 Apr 2012 14:38:25 -0500 Subject: [PATCH] Fix typos. --- chalk/colorspaces/wet/wetphysicsfilter.cc | 2 +- chalk/doc/paint_device.txt | 2 +- chalk/ui/kis_autobrush.cc | 14 +++++++------- chalk/ui/kis_autobrush.h | 2 +- chalk/ui/wdgautobrush.ui | 2 +- lib/kformula/TODO | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/chalk/colorspaces/wet/wetphysicsfilter.cc b/chalk/colorspaces/wet/wetphysicsfilter.cc index 4afc3b43e..e72d63bf9 100644 --- a/chalk/colorspaces/wet/wetphysicsfilter.cc +++ b/chalk/colorspaces/wet/wetphysicsfilter.cc @@ -119,7 +119,7 @@ void WetPhysicsFilter::flow(KisPaintDeviceSP src, KisPaintDeviceSP /*dst*/, cons WetPixDbl wet_mix, wet_tmp; // XXX If the flow touches areas that have not been initialized with a height field yet, - // create a heigth field. + // create a height field. // We need three iterators, because we're working on a five-point convolution kernel (no corner pixels are being used) diff --git a/chalk/doc/paint_device.txt b/chalk/doc/paint_device.txt index ab071cfec..325697285 100644 --- a/chalk/doc/paint_device.txt +++ b/chalk/doc/paint_device.txt @@ -54,7 +54,7 @@ Define a pointer to a memory buffer with QUANTUMS Create the buffer. Note that you cannot assume that there is one byte per channel; QUANTUM can be bigger. - buf = new QUANTUM[width * heigth * depth * sizeof(QUANTUM)]; + buf = new QUANTUM[width * height * depth * sizeof(QUANTUM)]; Fill the buf with the data. x1, y1, x2, y2 are the top left and bottom right corner of the section you want. stride is the width of the diff --git a/chalk/ui/kis_autobrush.cc b/chalk/ui/kis_autobrush.cc index 5e61bcc5a..c7127928d 100644 --- a/chalk/ui/kis_autobrush.cc +++ b/chalk/ui/kis_autobrush.cc @@ -42,8 +42,8 @@ KisAutobrush::KisAutobrush(TQWidget *parent, const char* name, const TQString& c connect((TQObject*)comboBoxShape, TQT_SIGNAL(activated(int)), this, TQT_SLOT(paramChanged())); spinBoxWidth->setMinValue(1); connect(spinBoxWidth,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(spinBoxWidthChanged(int))); - spinBoxHeigth->setMinValue(1); - connect(spinBoxHeigth,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(spinBoxHeigthChanged(int))); + spinBoxHeight->setMinValue(1); + connect(spinBoxHeight,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(spinBoxHeightChanged(int))); spinBoxHorizontal->setMinValue(0); connect(spinBoxHorizontal,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(spinBoxHorizontalChanged(int))); spinBoxVertical->setMinValue(0); @@ -73,16 +73,16 @@ void KisAutobrush::activate() void KisAutobrush::paramChanged() { TQ_INT32 fh = TQMIN( spinBoxWidth->value()/2, spinBoxHorizontal->value() ) ; - TQ_INT32 fv = TQMIN( spinBoxHeigth->value()/2, spinBoxVertical->value() ); + TQ_INT32 fv = TQMIN( spinBoxHeight->value()/2, spinBoxVertical->value() ); KisAutobrushShape* kas; if(comboBoxShape->currentItem() == 0) // use index compare instead of comparing a translatable string { - kas = new KisAutobrushCircleShape(spinBoxWidth->value(), spinBoxHeigth->value(), fh, fv); + kas = new KisAutobrushCircleShape(spinBoxWidth->value(), spinBoxHeight->value(), fh, fv); TQ_CHECK_PTR(kas); } else { - kas = new KisAutobrushRectShape(spinBoxWidth->value(), spinBoxHeigth->value(), fh, fv); + kas = new KisAutobrushRectShape(spinBoxWidth->value(), spinBoxHeight->value(), fh, fv); TQ_CHECK_PTR(kas); } @@ -119,12 +119,12 @@ void KisAutobrush::spinBoxWidthChanged(int a) spinBoxHorizontal->setMaxValue(a/2); if(m_linkSize) { - spinBoxHeigth->setValue(a); + spinBoxHeight->setValue(a); spinBoxVertical->setMaxValue(a/2); } this->paramChanged(); } -void KisAutobrush::spinBoxHeigthChanged(int a) +void KisAutobrush::spinBoxHeightChanged(int a) { spinBoxVertical->setMaxValue(a/2); if(m_linkSize) diff --git a/chalk/ui/kis_autobrush.h b/chalk/ui/kis_autobrush.h index bfba7ce9f..e07d7db66 100644 --- a/chalk/ui/kis_autobrush.h +++ b/chalk/ui/kis_autobrush.h @@ -37,7 +37,7 @@ signals: private slots: void paramChanged(); void spinBoxWidthChanged(int ); - void spinBoxHeigthChanged(int ); + void spinBoxHeightChanged(int ); void spinBoxHorizontalChanged(int); void spinBoxVerticalChanged(int); void linkSizeToggled(bool); diff --git a/chalk/ui/wdgautobrush.ui b/chalk/ui/wdgautobrush.ui index 6d3a572dc..cfd4700ac 100644 --- a/chalk/ui/wdgautobrush.ui +++ b/chalk/ui/wdgautobrush.ui @@ -103,7 +103,7 @@ - spinBoxHeigth + spinBoxHeight ClickFocus diff --git a/lib/kformula/TODO b/lib/kformula/TODO index a6ebc27c6..fbfd71cd8 100644 --- a/lib/kformula/TODO +++ b/lib/kformula/TODO @@ -66,7 +66,7 @@ NOTE: Only Presentation Markup is considered here. - movablelimits (mo) - accent (mo) - width (mspace) -- heigth (mspace) +- height (mspace) - depth (mspace) - linebreak (mspace) - lquote (ms)