summaryrefslogtreecommitdiffstats
path: root/src/gui/numberfieldwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:07:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:07:30 -0600
commit68b0d93f005081933603e1d07d6ebece55cf4502 (patch)
tree75b69804a6d7855f437992b56df438c1805a3e42 /src/gui/numberfieldwidget.cpp
parent26f93a7d9105483b49ae930545ddb2873156fa8e (diff)
downloadtellico-68b0d93f005081933603e1d07d6ebece55cf4502.tar.gz
tellico-68b0d93f005081933603e1d07d6ebece55cf4502.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/gui/numberfieldwidget.cpp')
-rw-r--r--src/gui/numberfieldwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/numberfieldwidget.cpp b/src/gui/numberfieldwidget.cpp
index 19147b4..0284e84 100644
--- a/src/gui/numberfieldwidget.cpp
+++ b/src/gui/numberfieldwidget.cpp
@@ -116,19 +116,19 @@ void NumberFieldWidget::updateFieldHook(Data::FieldPtr, Data::FieldPtr newField_
TQString value = text();
if(wasLineEdit && !nowLineEdit) {
- tqlayout()->remove(m_lineEdit);
+ layout()->remove(m_lineEdit);
delete m_lineEdit;
m_lineEdit = 0;
initSpinBox();
} else if(!wasLineEdit && nowLineEdit) {
- tqlayout()->remove(m_spinBox);
+ layout()->remove(m_spinBox);
delete m_spinBox;
m_spinBox = 0;
initLineEdit();
}
// should really be FIELD_EDIT_WIDGET_INDEX from fieldwidget.cpp
- static_cast<TQBoxLayout*>(tqlayout())->insertWidget(2, widget(), 1 /*stretch*/);
+ static_cast<TQBoxLayout*>(layout())->insertWidget(2, widget(), 1 /*stretch*/);
widget()->show();
setText(value);
}