#!/usr/bin/env kjscmd // Create the UI var mw = new KParts_MainWindow(); var ac = mw.actionCollection(); var split = new TQSplitter( mw ); mw.setCentralWidget( split ); var view = Factory.createROPart( "text/html", split, "html" ); view.openStream( 'text/html', 'file:///index.html' ); view.writeStream( '