summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/buttonmaker/pillbox.js
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/docs/examples/buttonmaker/pillbox.js')
-rwxr-xr-xkjsembed/docs/examples/buttonmaker/pillbox.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/kjsembed/docs/examples/buttonmaker/pillbox.js b/kjsembed/docs/examples/buttonmaker/pillbox.js
index 25c50ae1..21621c19 100755
--- a/kjsembed/docs/examples/buttonmaker/pillbox.js
+++ b/kjsembed/docs/examples/buttonmaker/pillbox.js
@@ -61,35 +61,35 @@ function BaseImage()
}
this.test = function( parent ) {
- var box = new QHBox(parent);
- var vbox1 = new QVBox(box);
- var vbox2 = new QVBox(box);
- var vbox3 = new QVBox(box);
- var l1 = new QLabel(vbox1);
+ var box = new TQHBox(parent);
+ var vbox1 = new TQVBox(box);
+ var vbox2 = new TQVBox(box);
+ var vbox3 = new TQVBox(box);
+ var l1 = new TQLabel(vbox1);
l1.pixmap = this.a.pixmap();
- var l2 = new QLabel(vbox1);
+ var l2 = new TQLabel(vbox1);
l2.pixmap = this.d.pixmap();
- var l3 = new QLabel(vbox1);
+ var l3 = new TQLabel(vbox1);
l3.pixmap = this.g.pixmap();
- var l4 = new QLabel(vbox2);
+ var l4 = new TQLabel(vbox2);
l4.pixmap = this.b.pixmap();
- var l5 = new QLabel(vbox2);
+ var l5 = new TQLabel(vbox2);
l5.pixmap = this.e.pixmap();
- var l6 = new QLabel(vbox2);
+ var l6 = new TQLabel(vbox2);
l6.pixmap = this.h.pixmap();
- var l7 = new QLabel(vbox3);
+ var l7 = new TQLabel(vbox3);
l7.pixmap = this.c.pixmap();
- var l8 = new QLabel(vbox3);
+ var l8 = new TQLabel(vbox3);
l8.pixmap = this.f.pixmap();
- var l9 = new QLabel(vbox3);
+ var l9 = new TQLabel(vbox3);
l9.pixmap = this.i.pixmap();
}
@@ -138,7 +138,7 @@ function BaseImage()
var base = new BaseImage();
-var label = new QLabel(this);
+var label = new TQLabel(this);
if ( !base.loadImages() )
@@ -150,8 +150,8 @@ var W = 128;
base.resize(W,H);
-var box = new QHBox(this);
-var label = new QLabel(box);
+var box = new TQHBox(this);
+var label = new TQLabel(box);
label.resize(W,H);
label.paintEvent = function(ev)
{
@@ -159,7 +159,7 @@ label.paintEvent = function(ev)
base.widget(label);
}
-var label2 = new QLabel(box);
+var label2 = new TQLabel(box);
label2.pixmap = base.pixmap(W,H);
base.test(box);