summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/frame
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/docs/examples/frame')
-rw-r--r--kjsembed/docs/examples/frame/frame.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/kjsembed/docs/examples/frame/frame.js b/kjsembed/docs/examples/frame/frame.js
index d19fc4de..b14be202 100644
--- a/kjsembed/docs/examples/frame/frame.js
+++ b/kjsembed/docs/examples/frame/frame.js
@@ -1,26 +1,26 @@
#!/usr/bin/env kjscmd
-// Demo of QFrame and enum support
+// Demo of TQFrame and enum support
function add_frame( parent )
{
- var v = new QVBox( parent );
+ var v = new TQVBox( parent );
v.margin = 6;
- return new QFrame( v );
+ return new TQFrame( v );
}
-var top = new QVBox();
-var hbox = new QHBox( top );
+var top = new TQVBox();
+var hbox = new TQHBox( top );
var f = add_frame( hbox );
-f.frameShape = QFrame.Box;
+f.frameShape = TQFrame.Box;
f = add_frame( hbox );
-f.frameShape = QFrame.WinPanel | QFrame.Sunken;
+f.frameShape = TQFrame.WinPanel | TQFrame.Sunken;
f = add_frame( hbox );
-f.frameShape = QFrame.PopupPanel;
+f.frameShape = TQFrame.PopupPanel;
top.resize(300,200);