summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_int_spinbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_int_spinbox.cc')
-rw-r--r--chalk/ui/kis_int_spinbox.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/ui/kis_int_spinbox.cc b/chalk/ui/kis_int_spinbox.cc
index 2d704d86..1375cacc 100644
--- a/chalk/ui/kis_int_spinbox.cc
+++ b/chalk/ui/kis_int_spinbox.cc
@@ -36,7 +36,7 @@
#include <tqlabel.h>
#include <tqpopupmenu.h>
#include <tqlineedit.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvalidator.h>
#include <knuminput.h>
@@ -81,7 +81,7 @@ void KisIntSpinbox::init(int val)
l->insertStretch(0, 1);
d->m_numinput = new KIntSpinBox(0, 100, 1, val, 10, this, "KisIntSpinbox::KIntSpinBox");
- d->m_numinput->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed);
+ d->m_numinput->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed);
d->m_numinput->setSuffix("%");
l->addWidget( d->m_numinput );
@@ -98,7 +98,7 @@ void KisIntSpinbox::init(int val)
d->m_prevValue = val;
setValue(val);
setFocusProxy(d->m_numinput);
- layout();
+ tqlayout();
connect(d->m_numinput, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(spinboxValueChanged(int)));
connect(d->m_slider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(sliderValueChanged(int)));
@@ -128,7 +128,7 @@ void KisIntSpinbox::setRange(int lower, int upper, int /*step*/)
lower = kMin(upper, lower);
d->m_slider->setRange(lower, upper);
- layout();
+ tqlayout();
}
void KisIntSpinbox::setMinValue(int min)