summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/docviewer
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
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')
-rw-r--r--kjsembed/docs/examples/docviewer/docviewer.js12
-rw-r--r--kjsembed/docs/examples/docviewer/docviewer.ui2
2 files changed, 7 insertions, 7 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
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 @@
<string>Object types:</string>
</property>
</widget>
- <widget class="KListBox" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TDEListBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>toc_view</cstring>
</property>