From 3ed7c09d22a5f310a97516f5bab6068e5688a813 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:07 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kjsembed/docs/examples/docviewer/docviewer.js | 12 ++++++------ kjsembed/docs/examples/docviewer/docviewer.ui | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kjsembed/docs/examples/docviewer') diff --git a/kjsembed/docs/examples/docviewer/docviewer.js b/kjsembed/docs/examples/docviewer/docviewer.js index bf80121a..46184444 100644 --- a/kjsembed/docs/examples/docviewer/docviewer.js +++ b/kjsembed/docs/examples/docviewer/docviewer.js @@ -29,7 +29,7 @@ function setup_sidebar( builtins, special, qt, kde, all ) // // Create the UI -var mw = new KMainWindow(this); +var mw = new TDEMainWindow(this); var ac = mw.actionCollection(); var split = new TQSplitter( mw ); @@ -138,7 +138,7 @@ view.setup = function() } // Setup the sidebar -builtinside = new KListView( side, 'builtinside' ); +builtinside = new TDEListView( side, 'builtinside' ); builtinside.addColumn( 'Class' ); builtinside.resizeMode = 2; // LastColumn @@ -148,7 +148,7 @@ builtinside.changed = function() view.set_class( item.text(0) ); } -specialside = new KListView( side, 'specialsidebar' ); +specialside = new TDEListView( side, 'specialsidebar' ); specialside.addColumn( 'Class' ); specialside.resizeMode = 2; // LastColumn @@ -158,7 +158,7 @@ specialside.changed = function() view.set_class( item.text(0) ); } -qtside = new KListView( side, 'qtsidebar' ); +qtside = new TDEListView( side, 'qtsidebar' ); qtside.addColumn( 'Class' ); qtside.resizeMode = 2; // LastColumn @@ -168,7 +168,7 @@ qtside.changed = function() view.set_class( item.text(0) ); } -kdeside = new KListView( side, 'kdesidebar' ); +kdeside = new TDEListView( side, 'kdesidebar' ); kdeside.addColumn( 'Class' ); kdeside.resizeMode = 2; // LastColumn @@ -178,7 +178,7 @@ kdeside.changed = function() view.set_class( item.text(0) ); } -allside = new KListView( side, 'allsidebar' ); +allside = new TDEListView( side, 'allsidebar' ); allside.addColumn( 'Class' ); allside.resizeMode = 2; // LastColumn diff --git a/kjsembed/docs/examples/docviewer/docviewer.ui b/kjsembed/docs/examples/docviewer/docviewer.ui index 3ccf0d02..f27e3559 100644 --- a/kjsembed/docs/examples/docviewer/docviewer.ui +++ b/kjsembed/docs/examples/docviewer/docviewer.ui @@ -46,7 +46,7 @@ Object types: - + toc_view -- cgit v1.2.1