diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-05 14:38:25 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-05 14:38:25 -0500 |
commit | de2b8d4c8b3f585b3732351480db93cdbb3eea1c (patch) | |
tree | 4970a782f1714cf14d590f989d3f68bdccfae3df | |
parent | 6e2ef2e265d01954204be2c823198f2bde792d89 (diff) | |
download | koffice-de2b8d4c8b3f585b3732351480db93cdbb3eea1c.tar.gz koffice-de2b8d4c8b3f585b3732351480db93cdbb3eea1c.zip |
Fix typos.
-rw-r--r-- | chalk/colorspaces/wet/wetphysicsfilter.cc | 2 | ||||
-rw-r--r-- | chalk/doc/paint_device.txt | 2 | ||||
-rw-r--r-- | chalk/ui/kis_autobrush.cc | 14 | ||||
-rw-r--r-- | chalk/ui/kis_autobrush.h | 2 | ||||
-rw-r--r-- | chalk/ui/wdgautobrush.ui | 2 | ||||
-rw-r--r-- | 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 4afc3b43..e72d63bf 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 ab071cfe..32569728 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 5e61bcc5..c7127928 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 bfba7ce9..e07d7db6 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 6d3a572d..cfd4700a 100644 --- a/chalk/ui/wdgautobrush.ui +++ b/chalk/ui/wdgautobrush.ui @@ -103,7 +103,7 @@ </widget> <widget class="TQSpinBox" row="1" column="1"> <property name="name"> - <cstring>spinBoxHeigth</cstring> + <cstring>spinBoxHeight</cstring> </property> <property name="focusPolicy"> <enum>ClickFocus</enum> diff --git a/lib/kformula/TODO b/lib/kformula/TODO index a6ebc27c..fbfd71cd 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) |