summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/emulation_handler.h
authorjosef <josef>2002-11-01 11:12:54 (UTC)
committer josef <josef>2002-11-01 11:12:54 (UTC)
commit4c5a56dbaddb3ac6b587c61a8ba6841987cf60fa (patch) (unidiff)
tree0172b37a635518ab48dcd0919d803371722a58c6 /noncore/apps/opie-console/emulation_handler.h
parentf99ad6016519a2f553c52812bac7859adb9aaa94 (diff)
downloadopie-4c5a56dbaddb3ac6b587c61a8ba6841987cf60fa.zip
opie-4c5a56dbaddb3ac6b587c61a8ba6841987cf60fa.tar.gz
opie-4c5a56dbaddb3ac6b587c61a8ba6841987cf60fa.tar.bz2
- allow toggling of line wrap via menu, as requested
If there was an icon, an entry in the menu bar could be made.
Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/emulation_handler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.h b/noncore/apps/opie-console/emulation_handler.h
index 12abbc5..7bc6f16 100644
--- a/noncore/apps/opie-console/emulation_handler.h
+++ b/noncore/apps/opie-console/emulation_handler.h
@@ -53,32 +53,34 @@ public:
53 /* Scripts */ 53 /* Scripts */
54 /* Create a new script and record all typed characters */ 54 /* Create a new script and record all typed characters */
55 void startRecording(); 55 void startRecording();
56 56
57 /* Return whether we are currently recording a script */ 57 /* Return whether we are currently recording a script */
58 bool isRecording(); 58 bool isRecording();
59 59
60 /* Return the current script (or NULL) */ 60 /* Return the current script (or NULL) */
61 Script *script(); 61 Script *script();
62 62
63 /* Stop recording and remove the current script from memory */ 63 /* Stop recording and remove the current script from memory */
64 void clearScript(); 64 void clearScript();
65 65
66 /* Run a script by forwarding its keys to the EmulationLayer */ 66 /* Run a script by forwarding its keys to the EmulationLayer */
67 void runScript(const Script *); 67 void runScript(const Script *);
68 68
69 /* Propagate change to widget */
70 void setWrap(int columns);
69signals: 71signals:
70 void send( const QByteArray& ); 72 void send( const QByteArray& );
71 void changeSize(int rows, int cols ); 73 void changeSize(int rows, int cols );
72 74
73 75
74public slots: 76public slots:
75 void recv( const QByteArray& ); 77 void recv( const QByteArray& );
76 void paste(); 78 void paste();
77 void copy(); 79 void copy();
78 80
79private slots: 81private slots:
80 void recvEmulation( const char*, int len ); 82 void recvEmulation( const char*, int len );
81private: 83private:
82 QFont font( int ); 84 QFont font( int );
83 QColor foreColor(int ); 85 QColor foreColor(int );
84 QColor backColor(int ); 86 QColor backColor(int );