summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/connect-cpp/connect-cpp.js
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/examples/connect-cpp/connect-cpp.js
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/examples/connect-cpp/connect-cpp.js')
-rw-r--r--kjsembed/docs/examples/connect-cpp/connect-cpp.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/kjsembed/docs/examples/connect-cpp/connect-cpp.js b/kjsembed/docs/examples/connect-cpp/connect-cpp.js
index c79d1dea..2eab8db8 100644
--- a/kjsembed/docs/examples/connect-cpp/connect-cpp.js
+++ b/kjsembed/docs/examples/connect-cpp/connect-cpp.js
@@ -2,10 +2,10 @@
function item( parent )
{
- var hbox = new QHBox( parent );
+ var hbox = new TQHBox( parent );
var led = new KLed( hbox );
- var btn = new QCheckBox( hbox );
+ var btn = new TQCheckBox( hbox );
btn.checked = true;
btn.text = 'Toggle LED';
@@ -18,17 +18,17 @@ function item( parent )
led.connect( btn, 'toggled(bool)', 'toggle()' );
}
-var vbox = new QVBox( 'test' );
+var vbox = new TQVBox( 'test' );
vbox.margin = 6;
vbox.spacing = 4;
-var ttl = new QLabel( vbox );
+var ttl = new TQLabel( vbox );
ttl.text = '<h1>Connections</h1>';
for ( var i = 0 ; i < 10 ; i++ )
item( vbox );
-var quit = new QPushButton( vbox );
+var quit = new TQPushButton( vbox );
quit.text = '&Quit';
vbox.connect( quit, 'clicked()', 'close()' );