From b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:51:21 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- parts/appwizard/common/incadmin/ltmain.sh | 2 +- parts/appwizard/common/kde-index.docbook | 38 +++++++++++++++---------------- parts/appwizard/common/scons/admin/kde.py | 6 ++--- 3 files changed, 23 insertions(+), 23 deletions(-) (limited to 'parts/appwizard/common') diff --git a/parts/appwizard/common/incadmin/ltmain.sh b/parts/appwizard/common/incadmin/ltmain.sh index 0cb90869..3506ead3 100644 --- a/parts/appwizard/common/incadmin/ltmain.sh +++ b/parts/appwizard/common/incadmin/ltmain.sh @@ -4565,7 +4565,7 @@ func_mode_link () continue ;; - # Tru64 UNIX uses -model [arg] to determine the tqlayout of C++ + # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot) diff --git a/parts/appwizard/common/kde-index.docbook b/parts/appwizard/common/kde-index.docbook index aacd7a48..332d3af3 100644 --- a/parts/appwizard/common/kde-index.docbook +++ b/parts/appwizard/common/kde-index.docbook @@ -257,7 +257,7 @@ Programming &%{APPNAMELC}; plugins is a joy to behold. Just read through the nex 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 @@ -265,10 +265,10 @@ taken from that reference and shortened a bit for readability. --> XtUnmanageChildren -remove a list of tqchildren from a parent widget's managed +remove a list of children from a parent widget's managed list. -widgetsremoving -XtUnmanageChildren +widgetsremoving +XtUnmanageChildren @@ -277,16 +277,16 @@ list. 4 March 1996 -void XtUnmanageChildren(tqchildren, num_tqchildren) - WidgetList tqchildren; - Cardinal num_tqchildren; +void XtUnmanageChildren(children, num_children) + WidgetList children; + Cardinal num_children; - + Inputs -tqchildren +children Specifies an array of child widgets. Each child must be of @@ -295,26 +295,26 @@ class RectObj or any subclass thereof. -num_tqchildren +num_children -Specifies the number of elements in tqchildren. +Specifies the number of elements in children. - + Description XtUnmanageChildren() unmaps the specified widgets -and removes them from their parent's tqgeometry management. +and removes them from their parent's geometry management. The widgets will disappear from the screen, and (depending on its parent) may no longer have screen space allocated for them. -Each of the widgets in the tqchildren array must have +Each of the widgets in the children array must have the same parent. See the “Algorithm” section below for full details of the @@ -322,13 +322,13 @@ 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 tqgeometry +You can unmap a widget, but leave it under geometry management by calling XtUnmapWidget(). You can destroy a widget's window without destroying the widget by calling XtUnrealizeWidget(). You can destroy a @@ -345,7 +345,7 @@ method once. - + Algorithm XtUnmanageChildren() performs the following: @@ -374,11 +374,11 @@ by unmapping it. - + Structures The WidgetList type is simply an array of widgets: -typedef Widget *WidgetList; +typedef Widget *WidgetList; diff --git a/parts/appwizard/common/scons/admin/kde.py b/parts/appwizard/common/scons/admin/kde.py index 037b4af0..2e875b75 100644 --- a/parts/appwizard/common/scons/admin/kde.py +++ b/parts/appwizard/common/scons/admin/kde.py @@ -117,15 +117,15 @@ def detect_kde(env): ## check for the qt and kde includes print "Checking for the qt includes : ", - if qtincludes and os.path.isfile(qtincludes + "/qtqlayout.h"): + if qtincludes and os.path.isfile(qtincludes + "/qlayout.h"): # The user told where to look for and it looks valid print GREEN + "ok " + qtincludes + NORMAL else: - if os.path.isfile(qtdir + "/include/qtqlayout.h"): + if os.path.isfile(qtdir + "/include/qlayout.h"): # Automatic detection print GREEN + "ok " + qtdir + "/include/ " + NORMAL qtincludes = qtdir + "/include/" - elif os.path.isfile("/usr/include/qt3/qtqlayout.h"): + elif os.path.isfile("/usr/include/qt3/qlayout.h"): # Debian probably print YELLOW + "the qt headers were found in /usr/include/qt3/ " + NORMAL qtincludes = "/usr/include/qt3" -- cgit v1.2.1