author | harlekin <harlekin> | 2002-10-17 17:19:20 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-17 17:19:20 (UTC) |
commit | df5a8d26c398ad65f09bd26c492c08f6c0ee22e0 (patch) (unidiff) | |
tree | e1fcefde6e4942f65fa2b5ad253f40a190caa78a /noncore/apps/opie-console/emulation_handler.h | |
parent | cedc9eed0c0b8d1685c3ca745eafd77988d394dc (diff) | |
download | opie-df5a8d26c398ad65f09bd26c492c08f6c0ee22e0.zip opie-df5a8d26c398ad65f09bd26c492c08f6c0ee22e0.tar.gz opie-df5a8d26c398ad65f09bd26c492c08f6c0ee22e0.tar.bz2 |
fullscreen mode ready
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.h b/noncore/apps/opie-console/emulation_handler.h index 9af7680..9ceafc6 100644 --- a/noncore/apps/opie-console/emulation_handler.h +++ b/noncore/apps/opie-console/emulation_handler.h | |||
@@ -4,67 +4,70 @@ | |||
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | #include <qcolor.h> | 5 | #include <qcolor.h> |
6 | #include <qcstring.h> | 6 | #include <qcstring.h> |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Badly ibotty lacks the time to finish | 9 | * Badly ibotty lacks the time to finish |
10 | * his widget in time.. | 10 | * his widget in time.. |
11 | * Never the less we've to have an EmulationWidget | 11 | * Never the less we've to have an EmulationWidget |
12 | * This is why I'm taking the inferior not cleaned | 12 | * This is why I'm taking the inferior not cleaned |
13 | * up TE* KDE STUFF | 13 | * up TE* KDE STUFF |
14 | */ | 14 | */ |
15 | 15 | ||
16 | /** | 16 | /** |
17 | * This is the layer above the IOLayer* | 17 | * This is the layer above the IOLayer* |
18 | * This nice QObject here will get stuff from | 18 | * This nice QObject here will get stuff from |
19 | * got a slot and a signal | 19 | * got a slot and a signal |
20 | * the signal for data | 20 | * the signal for data |
21 | * the slot for receiving | 21 | * the slot for receiving |
22 | * it'll set up the widget internally | 22 | * it'll set up the widget internally |
23 | * and manage the communication between | 23 | * and manage the communication between |
24 | * the pre QByteArray world! | 24 | * the pre QByteArray world! |
25 | */ | 25 | */ |
26 | class Profile; | 26 | class Profile; |
27 | class QWidget; | 27 | class QWidget; |
28 | class QPushButton; | ||
28 | class TEWidget; | 29 | class TEWidget; |
29 | class TEmulation; | 30 | class TEmulation; |
30 | class QFont; | 31 | class QFont; |
31 | class EmulationHandler : public QObject { | 32 | class EmulationHandler : public QObject { |
32 | Q_OBJECT | 33 | Q_OBJECT |
33 | public: | 34 | public: |
34 | /** | 35 | /** |
35 | * simple c'tor the parent of the TEWdiget | 36 | * simple c'tor the parent of the TEWdiget |
36 | * and a name | 37 | * and a name |
37 | * and a Profile | 38 | * and a Profile |
38 | */ | 39 | */ |
39 | EmulationHandler( const Profile&, QWidget* parent, const char* name = 0l ); | 40 | EmulationHandler( const Profile&, QWidget* parent, const char* name = 0l ); |
40 | 41 | ||
41 | /** | 42 | /** |
42 | * delete all components | 43 | * delete all components |
43 | */ | 44 | */ |
44 | ~EmulationHandler(); | 45 | ~EmulationHandler(); |
45 | 46 | ||
46 | void load( const Profile& ); | 47 | void load( const Profile& ); |
47 | QWidget* widget(); | 48 | QWidget* widget(); |
48 | void setColor( const QColor& fore, const QColor& back ); | 49 | void setColor( const QColor& fore, const QColor& back ); |
50 | QPushButton* cornerButton(); | ||
51 | |||
49 | signals: | 52 | signals: |
50 | void send( const QByteArray& ); | 53 | void send( const QByteArray& ); |
51 | void changeSize(int rows, int cols ); | 54 | void changeSize(int rows, int cols ); |
52 | 55 | ||
53 | 56 | ||
54 | public slots: | 57 | public slots: |
55 | void recv( const QByteArray& ); | 58 | void recv( const QByteArray& ); |
56 | 59 | ||
57 | private slots: | 60 | private slots: |
58 | void recvEmulation( const char*, int len ); | 61 | void recvEmulation( const char*, int len ); |
59 | private: | 62 | private: |
60 | QFont font( int ); | 63 | QFont font( int ); |
61 | QColor foreColor(int ); | 64 | QColor foreColor(int ); |
62 | QColor backColor(int ); | 65 | QColor backColor(int ); |
63 | 66 | ||
64 | private: | 67 | private: |
65 | TEWidget* m_teWid; | 68 | TEWidget* m_teWid; |
66 | TEmulation* m_teEmu; | 69 | TEmulation* m_teEmu; |
67 | 70 | ||
68 | }; | 71 | }; |
69 | 72 | ||
70 | #endif | 73 | #endif |