You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
358 B
20 lines
358 B
15 years ago
|
#!/usr/bin/env kjscmd
|
||
|
|
||
|
var mw = new KMainWindow();
|
||
|
|
||
|
var view = new KTextEdit(mw);
|
||
|
mw.setCentralWidget( view );
|
||
|
|
||
|
mw.open = function() {
|
||
|
System.err.println('open!!!!!!!!!!!!!!!!!!!!!!!!');
|
||
|
}
|
||
|
|
||
|
StdAction.quit( mw, 'close()', mw.actionCollection() );
|
||
|
StdAction.open( 0, 0, mw.actionCollection() );
|
||
|
|
||
|
|
||
|
mw.createGUI("kjscmdui.rc");
|
||
|
mw.show();
|
||
|
|
||
|
application.exec();
|