author | ibotty <ibotty> | 2002-10-06 12:40:48 (UTC) |
---|---|---|
committer | ibotty <ibotty> | 2002-10-06 12:40:48 (UTC) |
commit | fb0027ea0649aa5bf4c3880dc84df459425c0642 (patch) (side-by-side diff) | |
tree | d8fd30a024db5788ab5618557cd141f529a28ad2 | |
parent | 13ed195192154a82fd07dde602f27d478007a27f (diff) | |
download | opie-fb0027ea0649aa5bf4c3880dc84df459425c0642.zip opie-fb0027ea0649aa5bf4c3880dc84df459425c0642.tar.gz opie-fb0027ea0649aa5bf4c3880dc84df459425c0642.tar.bz2 |
made setImage virual
// setImage should be the only virtual public method.
// feel free to flame... ;)
added first protected var, more will follow
-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,3 +1,3 @@ -/* -------------------------------------------------------------------------- */ + /* */ /* [widget_layer.h] Widget Layer */ @@ -12,5 +12,4 @@ - class WidgetLayer : public QObject { QObject @@ -30,5 +29,5 @@ public: * sets the image */ - void setImage( const Character* const newimg, int lines, int colums ); + virtual void setImage( const Character* const newimg, int lines, int colums ); /** @@ -40,10 +39,10 @@ public: * 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 } /** @@ -117,5 +116,15 @@ slots: onClearSelection(); -}; +// protected vars +protected: + + /** + * current Session + */ + Session m_session; + /** + * other misc vars + */ +}; |