diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/examples/buttonmaker/pillbox.js | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/examples/buttonmaker/pillbox.js')
-rwxr-xr-x | kjsembed/docs/examples/buttonmaker/pillbox.js | 34 |
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); |