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 @@ -1,10 +1,11 @@ #ifndef OPIE_EMULATION_HANDLER_H #define OPIE_EMULATION_HANDLER_H #include <qobject.h> +#include <qcolor.h> #include <qcstring.h> /* * Badly ibotty lacks the time to finish * his widget in time.. * Never the less we've to have an EmulationWidget @@ -23,12 +24,13 @@ * the pre QByteArray world! */ class Profile; class QWidget; class TEWidget; class TEmulation; +class QFont; class EmulationHandler : public QObject { Q_OBJECT public: /** * simple c'tor the parent of the TEWdiget * and a name @@ -40,21 +42,27 @@ public: * delete all components */ ~EmulationHandler(); void load( const Profile& ); QWidget* widget(); + void setColor( const QColor& fore, const QColor& back ); signals: void send( const QByteArray& ); void changeSize(int rows, int cols ); + public slots: void recv( const QByteArray& ); private slots: void recvEmulation( const char*, int len ); +private: + QFont font( int ); + QColor foreColor(int ); + QColor backColor(int ); private: TEWidget* m_teWid; TEmulation* m_teEmu; }; |