summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/sql/sql.js
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/docs/examples/sql/sql.js')
-rwxr-xr-xkjsembed/docs/examples/sql/sql.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/kjsembed/docs/examples/sql/sql.js b/kjsembed/docs/examples/sql/sql.js
index 118510d4..bdd4f1d5 100755
--- a/kjsembed/docs/examples/sql/sql.js
+++ b/kjsembed/docs/examples/sql/sql.js
@@ -1,7 +1,7 @@
#!/usr/bin/env kjscmd
var db = new SqlDatabase();
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var box = new TQVBox( mw );
mw.setCentralWidget(box);
@@ -18,7 +18,7 @@ if ( db.addDatabase("TQMYSQL3", "test" ))
println("Host Name:" + db.hostName);
println("Port:" + db.port);
println("Driver Name:" + db.driverName);
- var list = new KListView(box);
+ var list = new TDEListView(box);
list.addColumn('One');
list.addColumn('Two');
list.addColumn('Three');