Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.h b/noncore/apps/opie-console/emulation_handler.h index 58b94bc..9af7680 100644 --- a/noncore/apps/opie-console/emulation_handler.h +++ b/noncore/apps/opie-console/emulation_handler.h | |||
@@ -3,4 +3,5 @@ | |||
3 | 3 | ||
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | #include <qcolor.h> | ||
5 | #include <qcstring.h> | 6 | #include <qcstring.h> |
6 | 7 | ||
@@ -27,4 +28,5 @@ class QWidget; | |||
27 | class TEWidget; | 28 | class TEWidget; |
28 | class TEmulation; | 29 | class TEmulation; |
30 | class QFont; | ||
29 | class EmulationHandler : public QObject { | 31 | class EmulationHandler : public QObject { |
30 | Q_OBJECT | 32 | Q_OBJECT |
@@ -44,8 +46,10 @@ public: | |||
44 | void load( const Profile& ); | 46 | void load( const Profile& ); |
45 | QWidget* widget(); | 47 | QWidget* widget(); |
48 | void setColor( const QColor& fore, const QColor& back ); | ||
46 | signals: | 49 | signals: |
47 | void send( const QByteArray& ); | 50 | void send( const QByteArray& ); |
48 | void changeSize(int rows, int cols ); | 51 | void changeSize(int rows, int cols ); |
49 | 52 | ||
53 | |||
50 | public slots: | 54 | public slots: |
51 | void recv( const QByteArray& ); | 55 | void recv( const QByteArray& ); |
@@ -53,4 +57,8 @@ public slots: | |||
53 | private slots: | 57 | private slots: |
54 | void recvEmulation( const char*, int len ); | 58 | void recvEmulation( const char*, int len ); |
59 | private: | ||
60 | QFont font( int ); | ||
61 | QColor foreColor(int ); | ||
62 | QColor backColor(int ); | ||
55 | 63 | ||
56 | private: | 64 | private: |