author | wazlaf <wazlaf> | 2002-10-13 13:49:11 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-10-13 13:49:11 (UTC) |
commit | 68c37a3412ef4609ba0209318ef2b06f7dd1aaf1 (patch) (unidiff) | |
tree | f81ee5460dd49c4fcb8a61bf50911c5036742bed /noncore/apps/opie-console/mainwindow.h | |
parent | 0e6d241e26211a8ffff07ba8e23f4a3cec9065be (diff) | |
download | opie-68c37a3412ef4609ba0209318ef2b06f7dd1aaf1.zip opie-68c37a3412ef4609ba0209318ef2b06f7dd1aaf1.tar.gz opie-68c37a3412ef4609ba0209318ef2b06f7dd1aaf1.tar.bz2 |
Scripting functionality added. What this currently does is catch keys in the emulation_layer
and store them in a "Script" instance. This can later be saved to a file and on request
"replayed" by sending the typed keys to the associated IOLayer
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h index 73bb285..94144a4 100644 --- a/noncore/apps/opie-console/mainwindow.h +++ b/noncore/apps/opie-console/mainwindow.h | |||
@@ -59,7 +59,9 @@ private slots: | |||
59 | void slotProfile(int); | 59 | void slotProfile(int); |
60 | void slotTransfer(); | 60 | void slotTransfer(); |
61 | void slotOpenKeb(bool); | 61 | void slotOpenKeb(bool); |
62 | 62 | void slotRecordScript(); | |
63 | void slotSaveScript(); | ||
64 | void slotRunScript(); | ||
63 | private: | 65 | private: |
64 | void initUI(); | 66 | void initUI(); |
65 | void populateProfiles(); | 67 | void populateProfiles(); |
@@ -88,12 +90,16 @@ private: | |||
88 | QPopupMenu* m_console; | 90 | QPopupMenu* m_console; |
89 | QPopupMenu* m_settings; | 91 | QPopupMenu* m_settings; |
90 | QPopupMenu* m_sessionsPop; | 92 | QPopupMenu* m_sessionsPop; |
93 | QPopupMenu* m_scripts; | ||
91 | QAction* m_connect; | 94 | QAction* m_connect; |
92 | QAction* m_disconnect; | 95 | QAction* m_disconnect; |
93 | QAction* m_terminate; | 96 | QAction* m_terminate; |
94 | QAction* m_transfer; | 97 | QAction* m_transfer; |
95 | QAction* m_setProfiles; | 98 | QAction* m_setProfiles; |
96 | QAction* m_openKeys; | 99 | QAction* m_openKeys; |
100 | QAction* m_recordScript; | ||
101 | QAction* m_saveScript; | ||
102 | QAction* m_runScript; | ||
97 | 103 | ||
98 | FunctionKeyboard *m_kb; | 104 | FunctionKeyboard *m_kb; |
99 | }; | 105 | }; |