summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_layout.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit9ca32ef31a2566af48c06f258722738df92366af (patch)
treec847db3bf1bb88b7863fed0cc60eef6bf641306a /src/modules/objects/class_layout.cpp
parent72aaee9802d447ee21340b011856b9b355a58f1a (diff)
downloadkvirc-9ca32ef31a2566af48c06f258722738df92366af.tar.gz
kvirc-9ca32ef31a2566af48c06f258722738df92366af.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/objects/class_layout.cpp')
-rw-r--r--src/modules/objects/class_layout.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/class_layout.cpp b/src/modules/objects/class_layout.cpp
index 3cc6a0ef..b2842a8c 100644
--- a/src/modules/objects/class_layout.cpp
+++ b/src/modules/objects/class_layout.cpp
@@ -55,7 +55,7 @@
The tqlayout is a tqgeometry management tool for child widgets.
You create a tqlayout , give it some widgets to manage and it will tqlayout them
automatically.[br]
- The tqparent of the tqlayout must be the widget for which child widget geometries have to be managed.
+ The parent of the tqlayout must be the widget for which child widget geometries have to be managed.
A tqlayout is a grid of NxM cells in which you insert child widgets with [classfnc:tqlayout]$addWidget[/classfnc]().[br]
Widgets that must span multiple cells can be added to the tqlayout with [classfnc:tqlayout]$addMultiCellWidget[/classfnc]().[br]
@functions:
@@ -80,12 +80,12 @@
!fn: $setMargin(<margin:uint>)
Sets the dimension of the tqlayout margin : the distance from the border to the outermost child widget edges.
!fn: $setResizeMode(<resize_mode:string>)
- Sets the resize mode of the tqparent widget in relation to this tqlayout.
+ Sets the resize mode of the parent widget in relation to this tqlayout.
<mode> can be one of:[br]
-Auto: this is the default[br]
- -Fixed: the tqparent widget of this tqlayout is resized to the "tqsizeHint" value and it cannot be resized by the user.[br]
- -Minimum: the minimum size of the tqparent widget of this tqlayout is set to tqminimumSize() and it cannot be smaller[br]
- -FreeResize: the tqparent widget of this tqlayout is not constrained at all[br]
+ -Fixed: the parent widget of this tqlayout is resized to the "tqsizeHint" value and it cannot be resized by the user.[br]
+ -Minimum: the minimum size of the parent widget of this tqlayout is set to tqminimumSize() and it cannot be smaller[br]
+ -FreeResize: the parent widget of this tqlayout is not constrained at all[br]
*/
@@ -116,7 +116,7 @@ bool KviKvsObject_layout::init(KviKvsRunTimeContext * pContext,KviKvsVariantList
if(!w)
{
- pContext->warning(__tr2qs("The tqparent of a tqlayout must be a widget!"));
+ pContext->warning(__tr2qs("The parent of a tqlayout must be a widget!"));
return false;
}
setObject(TQT_TQOBJECT(new TQGridLayout(w)));