From 74a2067d286867e313f736d6733407586b71195e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:10:05 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kate/kjswrapper/samples/katekjsconsolewindow.js | 2 +- kate/kjswrapper/samples/katekjsselect.js | 2 +- kate/kjswrapper/samples/katekjstest1.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kate/kjswrapper') diff --git a/kate/kjswrapper/samples/katekjsconsolewindow.js b/kate/kjswrapper/samples/katekjsconsolewindow.js index e253ce0..ef19ac1 100644 --- a/kate/kjswrapper/samples/katekjsconsolewindow.js +++ b/kate/kjswrapper/samples/katekjsconsolewindow.js @@ -1,6 +1,6 @@ function newWindowCallBack(mainwindow) { var ac=mainwindow.actionCollection(); - action = new KAction( ac, 'kjsconsole_show_action' ); + action = new TDEAction( ac, 'kjsconsole_show_action' ); action.text = 'Javascript Console Window'; action.icon = 'konsole'; diff --git a/kate/kjswrapper/samples/katekjsselect.js b/kate/kjswrapper/samples/katekjsselect.js index d6a33fb..6426879 100644 --- a/kate/kjswrapper/samples/katekjsselect.js +++ b/kate/kjswrapper/samples/katekjsselect.js @@ -1,6 +1,6 @@ function newWindowCallBack(mainwindow) { var ac=mainwindow.actionCollection(); - action = new KAction( ac, 'kjsselect_select_action' ); + action = new TDEAction( ac, 'kjsselect_select_action' ); action.text = 'Select enclosing block'; //action.icon = 'konsole'; diff --git a/kate/kjswrapper/samples/katekjstest1.js b/kate/kjswrapper/samples/katekjstest1.js index 7e4e041..093723c 100644 --- a/kate/kjswrapper/samples/katekjstest1.js +++ b/kate/kjswrapper/samples/katekjstest1.js @@ -66,7 +66,7 @@ function MyToolView1 (mainwindow,parentwidget) { parentwidget.caption="This is my first JS Toolview"; parentwidget.icon=StdIcons.BarIcon("yes"); - this.lv = new KListView( parentwidget ); + this.lv = new TDEListView( parentwidget ); this.lv.addColumn('Pix'); this.lv.addColumn('One'); -- cgit v1.2.1