From 345215a45d5fa946953606243fb6dd2782f88cf0 Mon Sep 17 00:00:00 2001
From: Johannes Sixt
The example shows how QString and QObject are defined -in qt.kdbgtt. Additionally, QTableView is defined as -an alias of QObject. This example applies to Qt 1.x, which is -located in shared library whose name ends in libqt.so.1.
+The example shows how QString and QRect are defined +in qt3.kdbgtt. Furthermore, the template type QValueVector +is defined. This example applies to Qt 3.x, which is located in shared library +whose name ends in libqt-mt.so.3.
[Type Table] -Types1=QString -Types2=QObject,QTableView -LibDisplayName=libqt 1.x -ShlibRE=libqt\.so\.1$ +Types1=QString,QRect +Types2=QValueVector +LibDisplayName=libqt 3.x +ShlibRE=libqt-mt\.so\.3$ +EnableBuiltin=QString::Data,QCharIsShort + [QString] Display={ % } -Expr1=(%s).shd->data -[QObject] -Display={ name=% #chld=% } -Expr1=(%s).objname -Expr2=(%s).childObjects->numNodes -[QTableView] -Alias=QObject-
Note that it is safer to wrap the %s in parentheses.
+Expr1=/QString::Data (%s).d + +[QValueVector] +Template=QValueVector<*> +Display={ size=% shared=% capacity=% } +Expr1=($tmp=(%s).sh)->finish-$tmp->start +Expr2=(%s).sh->count +Expr3=($tmp=(%s).sh)->end-$tmp->start + +[QRect] +Display={ tl=(%,%) br=(%,%) } +Expr1=(%s).x1 +Expr2=(%s).y1 +Expr3=(%s).x2 +Expr4=(%s).y2 +This example shows these features:
+