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 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h index 99d248e..adf2038 100644 --- a/noncore/apps/opie-console/widget_layer.h +++ b/noncore/apps/opie-console/widget_layer.h @@ -4,13 +4,13 @@ /* */ /* -------------------------------------------------------------------------- */ // proposal of a widget Layer in opie-console // // fellow devels: -// just mail me (ibotty@web.de), what you additionally need from the main widget +// just mail me (ibotty@web.de), what you additionally need from the main widget // (or say in chat) #ifndef WIDGET_LAYER_H #define WIDGET_LAYER_H // qt includes @@ -51,24 +51,24 @@ public: virtual ~WidgetLayer(); public: /** * sets the image */ - virtual void setImage( QArray<Character> const newimg, int lines, int colums ); + virtual void setImage( QArray<Character> const newimg, int lines, int colums ) = 0; /** * annoy the user */ void bell(); /** * return the lines count */ int lines() { return m_lines; } - + /** * return the columns count */ int columns() { return m_columns; } /** @@ -117,13 +117,13 @@ signals: void historyCursorChanged( int value ); /** * selection should be cleared */ void selectionCleared(); - + /** * selection begin */ void selectionBegin( const int x, const int y ); /** @@ -139,13 +139,13 @@ signals: void selectionEnd( const bool lineBreakPreserve ); // protected methods protected: - + // image operations /** * changes image, to suit new size * TODO: find meaningful name! */ @@ -162,36 +162,36 @@ protected: void makeImage(); /** * clears the image */ void clearImage(); - + protected slots: - + /** * clear selection */ void onClearSelection(); // protected vars protected: - + /** * current Session */ Session *m_session; /** * current character image - * + * * a Character at loc( column, line ) * has the actual index: * ix = line * m_columns + column; - * + * * use loc( x, y ) macro to access. */ QArray<Character> m_image; /** * lines count @@ -206,12 +206,12 @@ protected: /** * clipboard */ QClipboard* m_clipboard; /** - * whether widget is resizing + * whether widget is resizing */ bool m_resizing; }; #endif // WIDGET_LAYER_H |