summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_widget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:29 -0600
commit2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf (patch)
tree9cf20f45e85e8192ae89b22807cf1e82e5012cd9 /src/modules/objects/class_widget.cpp
parentf91149819be7e7f45e68f22876f3c0062a11d4b9 (diff)
downloadkvirc-2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf.tar.gz
kvirc-2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/modules/objects/class_widget.cpp')
-rw-r--r--src/modules/objects/class_widget.cpp10
1 files changed, 5 insertions, 5 deletions
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(<value>)
Sets the minimum width of this widget to <value>.
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(<value>)
Sets the minimum height of this widget to <value>.
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(<value>)
Sets the maximum width of this widget to <value>.
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(<value>)
Sets the maximum height of this widget to <value>.
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(<x_or_array>[,<y>])
Moves this widget to the coordinate <x> and <y> 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 "));