From 43c58f1620463166675d45199b37ce2979d5215e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:06:29 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit 2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf) --- src/modules/objects/class_widget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/objects/class_widget.cpp') diff --git a/src/modules/objects/class_widget.cpp b/src/modules/objects/class_widget.cpp index 83d5608..644999a 100644 --- a/src/modules/objects/class_widget.cpp +++ b/src/modules/objects/class_widget.cpp @@ -167,19 +167,19 @@ const int widgettypes_cod[] = { !fn: $setMinimumWidth() Sets the minimum width of this widget to . The user will not be able to resize the widget to a smaller - value. This value is also used by the [class:tqlayout]tqlayout class[/class]. + value. This value is also used by the [class:layout]layout class[/class]. !fn: $setMinimumHeight() Sets the minimum height of this widget to . The user will not be able to resize the widget to a smaller - value. This value is also used by the [class:tqlayout]tqlayout class[/class]. + value. This value is also used by the [class:layout]layout class[/class]. !fn: $setMaximumWidth() Sets the maximum width of this widget to . The user will not be able to resize the widget to a bigger - value. This value is also used by the [class:tqlayout]tqlayout class[/class]. + value. This value is also used by the [class:layout]layout class[/class]. !fn: $setMaximumHeight() Sets the maximum height of this widget to . The user will not be able to resize the widget to a bigger - value. This value is also used by the [class:tqlayout]tqlayout class[/class]. + value. This value is also used by the [class:layout]layout class[/class]. !fn: $move([,]) Moves this widget to the coordinate and relative to its parent widget (or the desktop if this widget is a toplevel one). @@ -1616,7 +1616,7 @@ bool KviKvsObject_widget::function_addWidgetToWrappedLayout(KviKvsObjectFunction c->warning(__tr2qs("Widget parameter is not a valid object")); return true; } - TQLayout *lay=widget()->tqlayout(); + TQLayout *lay=widget()->layout(); if (!lay) { c->warning(__tr2qs("No Layout associated to the widget ")); -- cgit v1.2.3