summaryrefslogtreecommitdiffstats
path: root/src/activeqt/doc/src/examples/simple-demo.qdocinc
diff options
context:
space:
mode:
Diffstat (limited to 'src/activeqt/doc/src/examples/simple-demo.qdocinc')
-rw-r--r--src/activeqt/doc/src/examples/simple-demo.qdocinc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/activeqt/doc/src/examples/simple-demo.qdocinc b/src/activeqt/doc/src/examples/simple-demo.qdocinc
index 5eee8bc..d8ad1e7 100644
--- a/src/activeqt/doc/src/examples/simple-demo.qdocinc
+++ b/src/activeqt/doc/src/examples/simple-demo.qdocinc
@@ -1,23 +1,28 @@
-\raw HTML
//! [0]
+\code
<object ID="QSimpleAX" CLASSID="CLSID:DF16845C-92CD-4AAB-A982-EB9840E74669"
CODEBASE="http://qt.nokia.com/demos/simpleax.cab">
<PARAM NAME="text" VALUE="A simple control" />
<PARAM NAME="value" VALUE="1" />
[Object not available! Did you forget to build and register the server?]
</object>
+\endcode
//! [0] //! [1]
+\code
<FORM>
<INPUT TYPE="BUTTON" VALUE="About..." onClick="QSimpleAX.about()" />
</FORM>
+\endcode
//! [1]
//! [2]
+\code
<object ID="Calendar" CLASSID="CLSID:8E27C92B-1264-101C-8A2F-040224009C02">
[Standard Calendar control not available!]
<PARAM NAME="day" VALUE="1" />
</object>
+\endcode
//! [2]
<FORM>
@@ -25,6 +30,7 @@ CODEBASE="http://qt.nokia.com/demos/simpleax.cab">
</FORM>
//! [3]
+\code
<SCRIPT LANGUAGE="VBScript">
Sub Calendar_Click()
MsgBox( "Calendar Clicked!" )
@@ -41,5 +47,5 @@ function QSimpleAX::ValueChanged( Newvalue )
Calendar.Day = Newvalue;
}
</SCRIPT>
+\endcode
//! [3]
-\endraw