From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../pages/docbook/kde-doc-template.docbook | 44 +++++++++++----------- .../data/templates/scripts/javascript/overlib.js | 6 +-- 2 files changed, 25 insertions(+), 25 deletions(-) (limited to 'quanta/data/templates') diff --git a/quanta/data/templates/pages/docbook/kde-doc-template.docbook b/quanta/data/templates/pages/docbook/kde-doc-template.docbook index 65a5773c..e9b610fb 100644 --- a/quanta/data/templates/pages/docbook/kde-doc-template.docbook +++ b/quanta/data/templates/pages/docbook/kde-doc-template.docbook @@ -271,7 +271,7 @@ Programming &kmyapplication; plugins is a joy to behold. Just read through the n should consult the docbook reference for further details. The example below was taken from that reference and shortened a bit for readability. --> - + XtUnmanageChildren Xt - Geometry Management @@ -279,10 +279,10 @@ taken from that reference and shortened a bit for readability. --> XtUnmanageChildren -remove a list of children from a parent widget's managed +remove a list of tqchildren from a tqparent widget's managed list. -widgetsremoving -XtUnmanageChildren +widgetsremoving +XtUnmanageChildren @@ -291,16 +291,16 @@ list. 4 March 1996 -void XtUnmanageChildren(children, num_children) - WidgetList children; - Cardinal num_children; +void XtUnmanageChildren(tqchildren, num_tqchildren) + WidgetList tqchildren; + Cardinal num_tqchildren; - + Inputs -children +tqchildren Specifies an array of child widgets. Each child must be of @@ -309,40 +309,40 @@ class RectObj or any subclass thereof. -num_children +num_tqchildren -Specifies the number of elements in children. +Specifies the number of elements in tqchildren. - + Description XtUnmanageChildren() unmaps the specified widgets -and removes them from their parent's geometry management. +and removes them from their tqparent's tqgeometry management. The widgets will disappear from the screen, and (depending -on its parent) may no longer have screen space allocated for +on its tqparent) may no longer have screen space allocated for them. -Each of the widgets in the children array must have -the same parent. +Each of the widgets in the tqchildren array must have +the same tqparent. See the “Algorithm” section below for full details of the widget unmanagement procedure. - + Usage Unmanaging widgets is the usual method for temporarily making them invisible. They can be re-managed with XtManageChildren(). -You can unmap a widget, but leave it under geometry +You can unmap a widget, but leave it under tqgeometry management by calling XtUnmapWidget(). You can destroy a widget's window without destroying the widget by calling XtUnrealizeWidget(). You can destroy a @@ -354,12 +354,12 @@ often more convenient to call XtUnmanageChild() several times than it is to declare and initialize an array of widgets to pass to XtUnmanageChildren(). Calling XtUnmanageChildren() is more efficient, however, -because it only calls the parent's change_managed() +because it only calls the tqparent's change_managed() method once. - + Algorithm XtUnmanageChildren() performs the following: @@ -388,11 +388,11 @@ by unmapping it. - + Structures The WidgetList type is simply an array of widgets: -typedef Widget *WidgetList; +typedef Widget *WidgetList; diff --git a/quanta/data/templates/scripts/javascript/overlib.js b/quanta/data/templates/scripts/javascript/overlib.js index 4ec178bd..ed75a9ea 100644 --- a/quanta/data/templates/scripts/javascript/overlib.js +++ b/quanta/data/templates/scripts/javascript/overlib.js @@ -182,7 +182,7 @@ if (typeof ol_background == 'undefined') { var ol_background = ""; } // Normal is "Close". if (typeof ol_close == 'undefined') { var ol_close = "Close"; } -// Default vertical alignment for popups. +// Default vertical tqalignment for popups. // It's best to leave RIGHT here. Other options are LEFT and CENTER. if (typeof ol_hpos == 'undefined') { var ol_hpos = RIGHT; } @@ -196,11 +196,11 @@ if (typeof ol_autostatus == 'undefined') { var ol_autostatus = 0; } // Default height for popup. Often best left alone. if (typeof ol_height == 'undefined') { var ol_height = -1; } -// Horizontal grid spacing that popups will snap to. +//Qt::Horizontal grid spacing that popups will snap to. // 0 makes no grid, anything else will cause a snap to that grid spacing. if (typeof ol_snapx == 'undefined') { var ol_snapx = 0; } -// Vertical grid spacing that popups will snap to. +//Qt::Vertical grid spacing that popups will snap to. // 0 makes no grid, andthing else will cause a snap to that grid spacing. if (typeof ol_snapy == 'undefined') { var ol_snapy = 0; } -- cgit v1.2.1