Commit 99dff5dd authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove leftborder etc. from KoView

The only place where these were used and overridden was sheets, so
keep it local to sheets.
parent cac0425c
......@@ -303,26 +303,6 @@ QAction *KoView::action(const char* name) const
return act;
}
int KoView::leftBorder() const
{
return 0;
}
int KoView::rightBorder() const
{
return 0;
}
int KoView::topBorder() const
{
return 0;
}
int KoView::bottomBorder() const
{
return 0;
}
QWidget *KoView::canvas() const
{
//dfaure: since the view plays two roles in this method (the const means "you can modify the canvas
......
......@@ -133,32 +133,6 @@ public:
*/
virtual QAction *action(const char* name) const;
/**
* Retrieves the left border width that is displayed around the content if
* the view is active.
*
* In a spread sheet this border is for example used to display the
* rows, while a top border is used to display the names of the cells
* and a right and bottom border is used to display scrollbars. If the view
* becomes inactive, then this stuff is not displayed anymore.
*
* The default border is 0.
*/
virtual int leftBorder() const;
/**
* @see #leftBorder
*/
virtual int rightBorder() const;
/**
* @see #leftBorder
*/
virtual int topBorder() const;
/**
* @see #leftBorder
*/
virtual int bottomBorder() const;
/**
* Overload this function if the content will be displayed
* on some child widget instead of the view directly.
......
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