summaryrefslogtreecommitdiff
path: root/docs/qcop.doc
Side-by-side diff
Diffstat (limited to 'docs/qcop.doc') (more/less context) (ignore whitespace changes)
-rw-r--r--docs/qcop.doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/qcop.doc b/docs/qcop.doc
index 6fe4c71..e62f91d 100644
--- a/docs/qcop.doc
+++ b/docs/qcop.doc
@@ -74,106 +74,106 @@ The system-wide channels and messages.
<dt><b>QPE/Sync</b>
<ul>
<li>flush()
<br> Sent at the start of synchronization. Synchable applications
should save any synchable data to disk.
<i>Note: this message is currently asynchronous. Stay tuned
to discussions regarding synchronization, as this message
may become synchronous, requiring slight midification to
your code. For now, just respond in a timely fashion,
since the sync server merely waits a small time.</i>
<li>reload()
<br> Sent at the end of synchronization. Synchable applications
should reload any synchable data from disk.
</ul>
<dt><b>QPE/TaskBar</b>
<ul>
<li>message(QString)
<br> Internal. See Global::statusMessage()
<li>showInputMethod()
<br> Internal.
<li>hideInputMethod()
<br> Internal.
<li>reloadInputMethods()
<br> Internal.
<li>reloadApplets()
<br> Internal.
</ul>
<dt><b>QPE/Card</b>
<ul>
<li>stabChanged()
<br> Sent when <tt>/var/run/stab</tt>, <tt>/var/state/pcmcia/stab</tt>,
or <tt>/var/lib/pcmcia/stab</tt> may have changed.
<li>netUp()
<br> Sent when a network connection is running.
<li>netDown()
<br> Sent when a network connection is available, but not running.
<li>netUnavailable()
<br> Sent when a network connection is not available.
</ul>
<dt><b>Qt/Tray</b>
This channel allows Qt applications (not just Qtopia applications)
to show system-tray status in a cross-platform manner,
but it is not currently supported. See TaskbarAppletInterface for
a more powerful alternative for system tray applications.
<ul>
<li>popup(int,QPoint)
<li>remove(int)
<li>setIcon(int,QPixmap)
<li>setToolTip(int,QString)
<li>doubleClicked(int,QPoint)
<li>clicked(int,QPoint)
</ul>
</dl>
Each application listens on a channel called
<b>QPE/Application/<i>appname</i></b>, where <b><i>appname</i></b> is
the executable name (the application identifier). Standard messages on
this channel are:
<dl>
<dt><b>QPE/Application/<i>appname</i></b>
<ul>
<li>setDocument(QString)
<br>Internal. Causes the setDocument(const QString&) slot
of <a href=docwidget.html>the main document widget</a>
to be called.
<li>nextView()
<br>Applications connected to hardware buttons will receive
this message if they are already visible.
<li>raise()
<br>Internal. Causes the the main document widget and the
current modal widget to be raised.
<li>quit()
<br>Internal. Terminates the application.
<li>quitIfInvisible()
<br>Internal. Terminates the application if it is not shown.
</ul>
</dl>
The QPE/Application/<i>appname</i> channel has a special property: when
messages are sent to these channels vie QCopEnvelope, the message is
delivered even if the application is not yet running (the application
is run and the message is then sent).
Applications also respond to messages specific to the application.
Such messages in the base Qtopia applications are:
<dl>
<dt><b>QPE/Application/helpbrowser</b>
<ul>
<li>showFile(QString <i>file</i>)
<br>Send this message to have the Help Browser show a file.
The <i>file</i> may be an absolute filename or relative
- to the system HTML documentation directory ($QPEDIR/help/html).
+ to the system HTML documentation directory ($OPIEDIR/help/html).
</ul>
<dt><b>QPE/Application/datebook</b>
<ul>
<li>alarm(QDateTime,int)
<br>Internal. Causes the Calendar application to sound alarms.
</ul>
</dl>
*/