summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/docviewer/docviewer.js
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
commit3ed7c09d22a5f310a97516f5bab6068e5688a813 (patch)
tree23ba07d28f7fad17824db1fc40e9cf1ad4942480 /kjsembed/docs/examples/docviewer/docviewer.js
parent3a8473ba2620b85b165b5a2fa1a6b153f5945800 (diff)
downloadtdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.tar.gz
tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kjsembed/docs/examples/docviewer/docviewer.js')
-rw-r--r--kjsembed/docs/examples/docviewer/docviewer.js12
1 files changed, 6 insertions, 6 deletions
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