~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to languages/kjssupport/template/app.js

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env kjscmd
2
 
 
3
 
// Create main view
4
 
var mw = new KMainWindow();
5
 
var lv = new KListView( mw );
6
 
mw.setCentralWidget(lv);
7
 
 
8
 
lv.addColumn('One');
9
 
lv.addColumn('Two');
10
 
lv.addColumn('Three');
11
 
 
12
 
lv.insertItem( 'Something', "Nothing", "Thing" );
13
 
lv.insertItem( 'Something', "Nothing", "Thing" );
14
 
lv.insertItem( 'Something', "Nothing", "Thing" );
15
 
lv.insertItem( 'Something', "Nothing", "Thing" );
16
 
 
17
 
mw.show();
18