summaryrefslogtreecommitdiffstats
path: root/tdeui/knuminput.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 00:54:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 00:54:43 -0600
commitb212a1de50010bf9f8ff93123281a6956291cdf2 (patch)
tree9cb6fe3d3e794cb0bdf5c8720c296b54ad4c6063 /tdeui/knuminput.cpp
parentca1f1a08ecb01139487ff2f0591f97b97164c4e4 (diff)
downloadtdelibs-b212a1de50010bf9f8ff93123281a6956291cdf2.tar.gz
tdelibs-b212a1de50010bf9f8ff93123281a6956291cdf2.zip
Rename tqsetAlignment to fix bindings
Diffstat (limited to 'tdeui/knuminput.cpp')
-rw-r--r--tdeui/knuminput.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/knuminput.cpp b/tdeui/knuminput.cpp
index 98df35c82..19c3268af 100644
--- a/tdeui/knuminput.cpp
+++ b/tdeui/knuminput.cpp
@@ -108,7 +108,7 @@ void KNumInput::setLabel(const TQString & label, int a)
else {
if (m_label) m_label->setText(label);
else m_label = new TQLabel(label, this, "KNumInput::TQLabel");
- m_label->tqsetAlignment((a & (~(AlignTop|AlignBottom|AlignVCenter)))
+ m_label->setAlignment((a & (~(AlignTop|AlignBottom|AlignVCenter)))
| AlignVCenter);
// if no vertical tqalignment set, use Top tqalignment
if(!(a & (AlignTop|AlignBottom|AlignVCenter)))
@@ -204,7 +204,7 @@ void KNumInput::setSteps(int minor, int major)
KIntSpinBox::KIntSpinBox(TQWidget *parent, const char *name)
: TQSpinBox(0, 99, 1, parent, name)
{
- editor()->tqsetAlignment(AlignRight);
+ editor()->setAlignment(AlignRight);
val_base = 10;
setValue(0);
}
@@ -217,7 +217,7 @@ KIntSpinBox::KIntSpinBox(int lower, int upper, int step, int value, int base,
TQWidget* parent, const char* name)
: TQSpinBox(lower, upper, step, parent, name)
{
- editor()->tqsetAlignment(AlignRight);
+ editor()->setAlignment(AlignRight);
val_base = base;
setValue(value);
}
@@ -996,7 +996,7 @@ public:
KDoubleSpinBox::KDoubleSpinBox( TQWidget * parent, const char * name )
: TQSpinBox( parent, name )
{
- editor()->tqsetAlignment( Qt::AlignRight );
+ editor()->setAlignment( Qt::AlignRight );
d = new Private();
updateValidator();
connect( this, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int)) );
@@ -1007,7 +1007,7 @@ KDoubleSpinBox::KDoubleSpinBox( double lower, double upper, double step,
TQWidget * parent, const char * name )
: TQSpinBox( parent, name )
{
- editor()->tqsetAlignment( Qt::AlignRight );
+ editor()->setAlignment( Qt::AlignRight );
d = new Private();
setRange( lower, upper, step, precision );
setValue( value );