diff options
Diffstat (limited to 'kjsembed/docs/examples/treeview/tree2.js')
-rw-r--r-- | kjsembed/docs/examples/treeview/tree2.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kjsembed/docs/examples/treeview/tree2.js b/kjsembed/docs/examples/treeview/tree2.js index d8b8e09d..0999101f 100644 --- a/kjsembed/docs/examples/treeview/tree2.js +++ b/kjsembed/docs/examples/treeview/tree2.js @@ -1,10 +1,10 @@ #!/usr/bin/env kjscmd -// Demo that creates a tree from a ui file using QHBox and QBox. +// Demo that creates a tree from a ui file using TQHBox and TQBox. function create_item( node, parent ) { - var l = new QLabel( parent ); + var l = new TQLabel( parent ); l.paletteBackgroundColor = '#aaaaee'; l.frameShape = 1; l.frameWidth = 1; @@ -16,7 +16,7 @@ function create_item( node, parent ) function create_subtree_layout( parent ) { - var vb = new QVBox( parent ); + var vb = new TQVBox( parent ); vb.margin = 12; return vb; @@ -24,7 +24,7 @@ function create_subtree_layout( parent ) function create_child_layout( parent ) { - var hb = new QHBox( parent ); + var hb = new TQHBox( parent ); hb.margin = 6; return hb; @@ -48,7 +48,7 @@ function create_tree( node, parent ) } var ui = Factory.loadui( 'treetest.ui' ); -var top = new QHBox(); +var top = new TQHBox(); create_tree( ui, top ); top.show(); |