summaryrefslogtreecommitdiff
path: root/docs/qcop.doc
authorkergoth <kergoth>2002-01-28 23:28:04 (UTC)
committer kergoth <kergoth>2002-01-28 23:28:04 (UTC)
commitf7b3193e5d2d9a211ce0b963dca571d82adecb71 (patch) (side-by-side diff)
tree44f49bdc076dc299bba1a4dc8d5d517114be5701 /docs/qcop.doc
parent77d110d35f75d63f5dc66c1dd2427daf7dc2e214 (diff)
downloadopie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.zip
opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.gz
opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.bz2
Committing in .
Modified Files: configure mkipks addressbook/Makefile.in addressbook/addressbook.pro calc2/calc.pro calc2/binary/binary.pro calc2/simple/simple.pro calculator/Makefile.in calculator/calculator.pro cardmon/Makefile.in cardmon/cardmon.pro chess/chess.pro citytime/Makefile.in citytime/citytime.pro clock/Makefile.in clock/clock.pro datebook/Makefile.in datebook/datebook.pro dictionary/dictionary.pro doc/qcop.doc doc/start.doc embeddedkonsole/Makefile.in embeddedkonsole/embeddedkonsole.pro etc/init.d/qpe example/example.pro fifteen/Makefile.in fifteen/fifteen.pro filebrowser/Makefile.in filebrowser/filebrowser.pro freetype/freetype.pro go/Makefile.in go/go.pro helpbrowser/Makefile.in helpbrowser/helpbrowser.pro inputmethods/handwriting/Makefile.in inputmethods/handwriting/handwriting.pro inputmethods/keyboard/Makefile.in inputmethods/keyboard/keyboard.pro inputmethods/pickboard/Makefile.in inputmethods/pickboard/pickboard.pro inputmethods/unikeyboard/Makefile.in inputmethods/unikeyboard/unikeyboard.pro keypebble/Makefile.in keypebble/keypebble.pro library/Makefile.in library/global.cpp library/library.pro library/qpeapplication.cpp mindbreaker/Makefile.in mindbreaker/mindbreaker.pro minesweep/Makefile.in minesweep/minesweep.pro mpegplayer/Makefile.in mpegplayer/mpegplayer.pro mpegplayer/libflash/libflash.pro mpegplayer/libmad/Makefile.in mpegplayer/libmad/libmad.pro mpegplayer/libmpeg3/Makefile.in mpegplayer/libmpeg3/libmpeg3.pro mpegplayer/libmpeg3/audio/Makefile mpegplayer/libmpeg3/video/Makefile mpegplayer/wavplugin/Makefile.in mpegplayer/wavplugin/wavplugin.pro netsetup/Makefile.in netsetup/README netsetup/netsetup.pro netsetup/dialup/Makefile.in netsetup/dialup/dialup.pro netsetup/lan/Makefile.in netsetup/lan/lan.pro parashoot/Makefile.in parashoot/parashoot.pro qasteroids/Makefile.in qasteroids/qasteroids.pro qcop/Makefile.in qcop/qcop.pro qipkg/Makefile.in qipkg/qipkg.pro scripts/q_functions settings/appearance/Makefile.in settings/appearance/appearance.pro settings/language/Makefile.in settings/language/language.pro settings/light-and-power/Makefile.in settings/light-and-power/light-and-power.pro settings/rotation/Makefile.in settings/rotation/rotation.pro settings/security/Makefile.in settings/security/security.pro settings/sound/Makefile.in settings/sound/sound.pro settings/systemtime/Makefile.in settings/systemtime/systemtime.pro showimg/Makefile.in showimg/showimg.pro single/Makefile.in single/single.pro snake/Makefile.in snake/snake.pro solitaire/Makefile.in solitaire/solitaire.pro spreadsheet/Makefile.in spreadsheet/spreadsheet.pro sysinfo/Makefile.in sysinfo/sysinfo.pro tableviewer/tableviewer.pro taskbar/Makefile.in taskbar/main.cpp taskbar/taskbar.pro taskbar/batteryapplet/Makefile.in taskbar/batteryapplet/batteryapplet.pro taskbar/clipboardapplet/clipboardapplet.pro taskbar/clockapplet/Makefile.in taskbar/clockapplet/clockapplet.pro taskbar/netmonapplet/Makefile.in taskbar/netmonapplet/netmonapplet.pro taskbar/volumeapplet/Makefile.in taskbar/volumeapplet/volumeapplet.pro tetrix/Makefile.in tetrix/tetrix.pro textedit/Makefile.in textedit/textedit.pro todo/Makefile.in todo/todo.pro tux/Makefile.in tux/tux.pro website/htdocs/build.html website/htdocs/development.html website/htdocs/refman/qcop.html website/htdocs/refman/qpeapplication.html wordgame/Makefile.in wordgame/wordgame.pro Log Message: Changed QPEDIR to OPIEDIR in .pro files, and documentation, and regenerated all Makefile.in's that were affected.
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
@@ -1,179 +1,179 @@
/*!
\page qcop.html
\title QCop Messages
QCop messages allow applications to communicate with each other.
These messages are send using QCopEnvelope, and received by connecting
to a QCopChannel.
The <tt>channelname</tt> of channels within Qtopia all start with "QPE/".
The <tt>messagename</tt> is a function identifier followed by a list of types
in parentheses. There are no spaces in the message name.
The variable names shown in this documentation are purely for information
purposes. A message shown as
"messageName(Type1 varname1, Type2 varname2, Type2 varname3)" would be
used in program code as:
\code
QCopEnvelope e(channelname, "messageName(Type1,Type2,Type2)");
e << parameter1 << parameter2 << parameter3;
\endcode
The system-wide channels and messages.
<dl>
<dt><b>QPE/System</b>
<dd>
<ul>
<li>busy()
<br> Causes a wait indicator to be shown to the user.
<li>notBusy()
<br> Cancels the wait indicator.
<li>linkChanged(QString)
<br> Sent whenever a link is changed.
It is sent by FileManager::saveFile() and others, and
received by the Launcher.
<li>applyStyle()
<br> Sent when user changes style.
It is received by QPEApplication and the application
will redraw accordingly.
<li>quit()
<br> Terminates the Qtopia environment.
<li>shutdown()
<br> Terminates the system.
<li>restart()
<br> Restarts the Qtopia environment.
<li>execute(QString)
<br> Executes or raises the given application.
<li>execute(QString,QString)
<br> Executes or raises the given application, passing an argument.
Note that you should consider using the
<b>QPE/Application/<i>appname</i></b> channels described below.
<li>addAlarm(QDateTime,QCString,QCString,int)
<br> Internal. See AlarmServer::addAlarm()
<li>deleteAlarm(QDateTime,QCString,QCString,int)
<br> Internal. See AlarmServer::deleteAlarm()
<li>setDefaultRotation(int)
<br> Internal.
<li>grabKeyboard(QString)
<br> Internal.
<li>timeChange(QString)
<br> Internal.
<li>clockChange(bool)
<br> Internal.
<li>setScreenSaverInterval(int)
<br> Internal.
<li>language(QString)
<br> Internal.
</ul>
<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>
*/