From 68b0d93f005081933603e1d07d6ebece55cf4502 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:07:30 -0600 Subject: Rename obsolete tq methods to standard names --- src/gui/fieldwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/fieldwidget.cpp') diff --git a/src/gui/fieldwidget.cpp b/src/gui/fieldwidget.cpp index 82ad186..4ac43df 100644 --- a/src/gui/fieldwidget.cpp +++ b/src/gui/fieldwidget.cpp @@ -93,7 +93,7 @@ FieldWidget::FieldWidget(Data::FieldPtr field_, TQWidget* parent_, const char* n : TQWidget(parent_, name_), m_field(field_) { TQHBoxLayout* l = new TQHBoxLayout(this, 2, 2); // parent, margin, spacing l->addSpacing(4); // add some more space in the columns between widgets - if(TQCString(tqstyle().name()).lower().find("keramik", 0, false) > -1) { + if(TQCString(style().name()).lower().find("keramik", 0, false) > -1) { l->setMargin(1); } @@ -182,7 +182,7 @@ void FieldWidget::registerWidget() { setFocusProxy(w); } - TQHBoxLayout* l = static_cast(tqlayout()); + TQHBoxLayout* l = static_cast(layout()); l->insertWidget(FIELD_EDIT_WIDGET_INDEX, w, m_expands ? 1 : 0 /*stretch*/); if(!m_expands) { l->insertStretch(FIELD_EDIT_WIDGET_INDEX+1, 1 /*stretch*/); -- cgit v1.2.1