summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/qdocviewer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/examples/qdocviewer
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/examples/qdocviewer')
-rwxr-xr-xkjsembed/docs/examples/qdocviewer/docviewer.ui46
-rw-r--r--kjsembed/docs/examples/qdocviewer/qdocviewer.js30
2 files changed, 38 insertions, 38 deletions
diff --git a/kjsembed/docs/examples/qdocviewer/docviewer.ui b/kjsembed/docs/examples/qdocviewer/docviewer.ui
index 33db5ff2..94b7458b 100755
--- a/kjsembed/docs/examples/qdocviewer/docviewer.ui
+++ b/kjsembed/docs/examples/qdocviewer/docviewer.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>HelpUI</class>
-<widget class="QMainWindow">
+<widget class="TQMainWindow">
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -22,7 +22,7 @@
<property name="spacing">
<number>2</number>
</property>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout1</cstring>
</property>
@@ -30,14 +30,14 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QToolBox">
+ <widget class="TQToolBox">
<property name="name">
<cstring>Navbar</cstring>
</property>
<property name="currentIndex">
<number>5</number>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>StaticObjects</cstring>
</property>
@@ -57,7 +57,7 @@
<property name="spacing">
<number>1</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -69,7 +69,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>ObjectTypes</cstring>
</property>
@@ -89,7 +89,7 @@
<property name="spacing">
<number>1</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -101,7 +101,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>KJSEmbedObjects</cstring>
</property>
@@ -121,7 +121,7 @@
<property name="spacing">
<number>1</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -133,7 +133,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>QtObjects</cstring>
</property>
@@ -153,7 +153,7 @@
<property name="spacing">
<number>1</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -165,7 +165,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>KDEObjects</cstring>
</property>
@@ -185,7 +185,7 @@
<property name="spacing">
<number>1</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -197,7 +197,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>ExceptionTypes</cstring>
</property>
@@ -217,7 +217,7 @@
<property name="spacing">
<number>1</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -229,7 +229,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>UnconstructableTypes</cstring>
</property>
@@ -249,7 +249,7 @@
<property name="spacing">
<number>1</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -261,7 +261,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>Search</cstring>
</property>
@@ -281,7 +281,7 @@
<property name="spacing">
<number>2</number>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout2</cstring>
</property>
@@ -289,7 +289,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLineEdit">
+ <widget class="TQLineEdit">
<property name="name">
<cstring>SearchLine</cstring>
</property>
@@ -302,7 +302,7 @@
</sizepolicy>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>Search</cstring>
</property>
@@ -312,7 +312,7 @@
</widget>
</hbox>
</widget>
- <widget class="QListBox">
+ <widget class="TQListBox">
<item>
<property name="text">
<string>New Item</string>
@@ -333,7 +333,7 @@
</vbox>
</widget>
</widget>
- <widget class="QTextBrowser">
+ <widget class="TQTextBrowser">
<property name="name">
<cstring>HelpPage</cstring>
</property>
diff --git a/kjsembed/docs/examples/qdocviewer/qdocviewer.js b/kjsembed/docs/examples/qdocviewer/qdocviewer.js
index 41ae2835..8b40e096 100644
--- a/kjsembed/docs/examples/qdocviewer/qdocviewer.js
+++ b/kjsembed/docs/examples/qdocviewer/qdocviewer.js
@@ -109,23 +109,23 @@ populateStaticObjects();
populateExceptions();
populateObjects();
-mw.connect( StaticObjectList, 'highlighted(const QString&)', this, 'documentStaticObject' );
-mw.connect( ExceptionTypeList, 'highlighted(const QString&)', this, 'documentStaticObject' );
-mw.connect( KDEObjectList, 'highlighted(const QString&)', this, 'documentConstructableObject' );
-mw.connect( QtObjectList, 'highlighted(const QString&)', this, 'documentConstructableObject' );
-mw.connect( KJSEmbedObjectList, 'highlighted(const QString&)', this, 'documentConstructableObject' );
-mw.connect( ObjectTypeList, 'highlighted(const QString&)', this, 'documentConstructableObject' );
+mw.connect( StaticObjectList, 'highlighted(const TQString&)', this, 'documentStaticObject' );
+mw.connect( ExceptionTypeList, 'highlighted(const TQString&)', this, 'documentStaticObject' );
+mw.connect( KDEObjectList, 'highlighted(const TQString&)', this, 'documentConstructableObject' );
+mw.connect( QtObjectList, 'highlighted(const TQString&)', this, 'documentConstructableObject' );
+mw.connect( KJSEmbedObjectList, 'highlighted(const TQString&)', this, 'documentConstructableObject' );
+mw.connect( ObjectTypeList, 'highlighted(const TQString&)', this, 'documentConstructableObject' );
mw.show();
application.exec();
/*
-side = new QTabWidget( split, 'sidebar' );
-view = new QTabWidget( split, 'mainview' );
+side = new TQTabWidget( split, 'sidebar' );
+view = new TQTabWidget( split, 'mainview' );
// Load the view
-js = new QTextEdit( view, 'js' );
+js = new TQTextEdit( view, 'js' );
js.setReadOnly( true );
view.addTab( js, '&Javascript' );
@@ -169,9 +169,9 @@ view.setup = function()
}
// Setup the sidebar
-specialside = new QListBox( side, 'specialsidebar' );
-qtside = new QListBox( side, 'qtsidebar' );
-allside = new QListBox( side, 'allsidebar' );
+specialside = new TQListBox( side, 'specialsidebar' );
+qtside = new TQListBox( side, 'qtsidebar' );
+allside = new TQListBox( side, 'allsidebar' );
side.addTab( specialside, '&Special' );
side.addTab( qtside, '&Qt' );
@@ -179,9 +179,9 @@ side.addTab( allside, '&All' );
setup_sidebar( specialside, qtside, allside );
-qtside.connect( qtside, 'highlighted(const QString&)', view, 'set_class' );
-specialside.connect( specialside, 'highlighted(const QString&)', view, 'set_class' );
-allside.connect( allside, 'highlighted(const QString&)', view, 'set_class' );
+qtside.connect( qtside, 'highlighted(const TQString&)', view, 'set_class' );
+specialside.connect( specialside, 'highlighted(const TQString&)', view, 'set_class' );
+allside.connect( allside, 'highlighted(const TQString&)', view, 'set_class' );
//
// Show the window