diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:06:29 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:47:54 +0200 |
| commit | 43c58f1620463166675d45199b37ce2979d5215e (patch) | |
| tree | 67558a5bd6213761dbde4a620e497b644ffe8c08 /src/modules/objects/class_widget.cpp | |
| parent | e21c70f0573896c6503317f4684f2f421a57fd11 (diff) | |
| download | kvirc-43c58f1620463166675d45199b37ce2979d5215e.tar.gz kvirc-43c58f1620463166675d45199b37ce2979d5215e.zip | |
Rename obsolete tq methods to standard names
(cherry picked from commit 2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf)
Diffstat (limited to 'src/modules/objects/class_widget.cpp')
| -rw-r--r-- | src/modules/objects/class_widget.cpp | 10 |
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 ")); |
