summaryrefslogtreecommitdiffstats
path: root/chalk/ui
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui')
-rw-r--r--chalk/ui/kis_autobrush.cc14
-rw-r--r--chalk/ui/kis_autobrush.h2
-rw-r--r--chalk/ui/wdgautobrush.ui2
3 files changed, 9 insertions, 9 deletions
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>