Diffstat (limited to 'noncore/apps/opie-console/widget_layer.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/widget_layer.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h index 5474c64..cf2a1e5 100644 --- a/noncore/apps/opie-console/widget_layer.h +++ b/noncore/apps/opie-console/widget_layer.h @@ -1,20 +1,19 @@ -/* -------------------------------------------------------------------------- */ + /* */ /* [widget_layer.h] Widget Layer */ /* */ /* -------------------------------------------------------------------------- */ // proposal of a widget Layer in opie-console // // fellow devels: // just mail me (ibotty@web.de), what you additionally need from the main widget // (or say in chat) - class WidgetLayer : public QObject { QObject public: /** * constructor @@ -26,28 +25,28 @@ public: */ virtual ~WidgetLayer(); /** * sets the image */ - void setImage( const Character* const newimg, int lines, int colums ); + virtual void setImage( const Character* const newimg, int lines, int colums ); /** * annoy the user */ void bell(); /** * return the lines count */ - int lines() { return _lines; } + int lines() { return m_lines; } /** * return the columns count */ - int columns() { return _columns } + int columns() { return m_columns } /** * copy selection into clipboard, etc */ void emitSelection(); @@ -113,9 +112,19 @@ slots: /** * clear selection */ onClearSelection(); -}; +// protected vars +protected: + + /** + * current Session + */ + Session m_session; + /** + * other misc vars + */ +}; |