Commit dc1fa3f7 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove unused KoView::canvasXOffset and canvasYOffset methods

parent c6bb3d8a
......@@ -336,16 +336,6 @@ QWidget *KoView::canvas() const
return const_cast<KoView *>(this);
}
int KoView::canvasXOffset() const
{
return 0;
}
int KoView::canvasYOffset() const
{
return 0;
}
void KoView::addStatusBarItem(QWidget * widget, int stretch, bool permanent)
{
KoViewPrivate::StatusBarItem item(widget, stretch, permanent);
......
......@@ -167,24 +167,6 @@ public:
*/
virtual QWidget *canvas() const;
/**
* Overload this function if the content will be displayed
* with an offset relative to the upper left corner
* of the canvas widget.
*
* By default this function returns 0.
*/
virtual int canvasXOffset() const;
/**
* Overload this function if the content will be displayed
* with an offset relative to the upper left corner
* of the canvas widget.
*
* By default this function returns 0.
*/
virtual int canvasYOffset() const;
/**
* Sets up so that autoScroll signals are emitted when the mouse pointer is outside the view
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment