diff options
Diffstat (limited to 'kjsembed/docs/examples/imunge/imunge.js')
-rwxr-xr-x | kjsembed/docs/examples/imunge/imunge.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kjsembed/docs/examples/imunge/imunge.js b/kjsembed/docs/examples/imunge/imunge.js index 137cb272..96924670 100755 --- a/kjsembed/docs/examples/imunge/imunge.js +++ b/kjsembed/docs/examples/imunge/imunge.js @@ -3,7 +3,7 @@ // // Setup main window // -mw = new KMainWindow(); +mw = new TDEMainWindow(); ac = mw.actionCollection(); mb = mw.menuBar(); sb = mw.statusBar(); @@ -162,12 +162,12 @@ mw.setup_actions = function() saveas_action = StdAction.saveAs( null, '', ac ); saveas_action.connect( saveas_action, 'activated()', this, 'saveFileAs' ); - savecopyas_action = new KAction( ac, 'save_copy_as_action' ); + savecopyas_action = new TDEAction( ac, 'save_copy_as_action' ); savecopyas_action.text = 'Save Copy As...'; savecopyas_action.icon = 'filesaveas'; savecopyas_action.connect( savecopyas_action, 'activated()', this, 'saveCopyAs' ); - fileproperties_action = new KAction( ac, 'file_properties_action' ); + fileproperties_action = new TDEAction( ac, 'file_properties_action' ); fileproperties_action.text = 'Properties...'; fileproperties_action.connect( fileproperties_action, 'activated()', this, 'fileProperties' ); @@ -186,7 +186,7 @@ mw.setup_actions = function() // StdAction.redisplay( null, '', ac ); // Effects - browseeffects_action = new KAction( ac, 'browseeffects_action' ); + browseeffects_action = new TDEAction( ac, 'browseeffects_action' ); browseeffects_action.text = 'Browse Effects...'; browseeffects_action.shortcut = 'Ctrl+E'; browseeffects_action.connect( browseeffects_action, 'activated()', this, 'browse_effects' ); @@ -196,12 +196,12 @@ mw.setup_actions = function() this.create_image_operations( mw, ac ); // Tools - ksnapshot_action = new KAction( ac, 'ksnapshot_action' ); + ksnapshot_action = new TDEAction( ac, 'ksnapshot_action' ); ksnapshot_action.text = 'KSnapshot'; ksnapshot_action.icon = 'ksnapshot'; ksnapshot_action.connect( ksnapshot_action, 'activated()', this, 'run_ksnapshot' ); - scriptconsole_action = new KToggleAction( ac, 'scriptconsole_action' ); + scriptconsole_action = new TDEToggleAction( ac, 'scriptconsole_action' ); scriptconsole_action.text = 'Script Console'; scriptconsole_action.icon = 'konsole'; scriptconsole_action.connect( scriptconsole_action, 'toggled(bool)', part.view(), 'setShown(bool)' ); |