Permalink
Browse files

Update document

git-svn-id: https://svn.code.sf.net/p/qterm/code/trunk/qterm-qt4@1143 bd9efd21-7b0e-0410-bb59-ddbc1b2ac886
  • Loading branch information...
hephooey committed Jan 16, 2010
1 parent 6ae4b87 commit 1aab0645f5232f657bb49c5bfa1e507a06ce2b5c
Showing with 7 additions and 0 deletions.
  1. +7 −0 doc/script.txt
View
@@ -97,6 +97,10 @@ void osdMessage(const QString & message, int icon = 1, int duration = 0)
Show message in the osd, icon = 0, 1, 2, 3 means No/Info/Warning/Error
icon. Duration is in the unit of ms, 0 means forever.
+void showMessage(const QString & message, int duration = -1)
+ Show message in the notification area or system tray. duration is not
+ really useful for now.
+
void cancelZmodem()
Cancel the current zmodem transfer.
@@ -219,6 +223,9 @@ onTelnetState(int state)
onZmodemState(int type, int value, const QString& msg)
Handle zmodem events
+endOfArticle()
+ Implement this to check the end of articles for downloading articles
+
There is also a signal: scriptEvent(const QString& type) which can be used by
the script to emit and handle signals

0 comments on commit 1aab064

Please sign in to comment.