summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/widget_layer.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/widget_layer.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/widget_layer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h
index 3cdd6aa..07ec12a 100644
--- a/noncore/apps/opie-console/widget_layer.h
+++ b/noncore/apps/opie-console/widget_layer.h
@@ -22,49 +22,49 @@
// opie-console includes
#include "session.h"
#include "common.h"
class WidgetLayer : public QObject
{ Q_OBJECT
public:
/**
* constructor
*/
WidgetLayer( QObject *parent=0, const char *name=0 );
/**
* destructor
*/
virtual ~WidgetLayer();
public:
/**
* sets the image
*/
- virtual void setImage( const Character* const newimg, int lines, int colums );
+ virtual void setImage( const 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; }
/**
* insert current selection (currently this is only the clipboard)
*/
void insertSelection();
/**
* insert text
*/
@@ -122,49 +122,49 @@ signals:
void selectionExtended( const int x, const int y );
/**
* selection end
* bool: preserve line breaks in selection
*/
void selectionEnd( const bool lineBreakPreserve );
// protected methods
protected:
// image operations
/**
* changes image, to suit new size
* TODO: find meaningful name!
*/
void propagateSize();
/**
*
*/
- virtual void calcGeometry();
+ virtual void calcGeometry() = 0;
/**
* makes an empty image
*/
void makeImage();
/**
* clears the image
*/
void clearImage();
protected slots:
/**
* clear selection
*/
void onClearSelection();
// protected vars
protected:
/**
* current Session