diff options
author | Iru Cai <mytbk920423@gmail.com> | 2014-04-20 22:09:17 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2014-04-20 22:09:17 +0800 |
commit | b15900a363953591d48366379512795a9422222a (patch) | |
tree | aa5248a9926adbef0cedd7d7dabaf9b157d13f65 /src/fqterm/fqterm_scriptengine.h | |
parent | 88c98119b6e8d6d30731cd0d3e7fb3f9af5557cb (diff) | |
download | fqterm-b15900a363953591d48366379512795a9422222a.tar.xz |
Add my qz script -- for fun!
2 functions are added to the script engine.
Diffstat (limited to 'src/fqterm/fqterm_scriptengine.h')
-rw-r--r-- | src/fqterm/fqterm_scriptengine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fqterm/fqterm_scriptengine.h b/src/fqterm/fqterm_scriptengine.h index 70ca5cd..25af6e1 100644 --- a/src/fqterm/fqterm_scriptengine.h +++ b/src/fqterm/fqterm_scriptengine.h @@ -52,6 +52,7 @@ public: public slots: //script apis //ui functions. void msgBox(const QString& msg); + bool yesnoBox(const QString& msg); //bbs ui functions int caretX(); @@ -73,6 +74,7 @@ public slots: //script apis bool isConnected(); void disconnect(); void reconnect(); + QString FileDialog(); QString getBBSCodec(); QString getAddress(); int getPort(); @@ -144,4 +146,4 @@ private: }//namespace FQTerm -#endif //FQTERM_SCRIPTENGINE_H
\ No newline at end of file +#endif //FQTERM_SCRIPTENGINE_H |