Commit 8ee4c139 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove KoView::viewBar

It wasn't used anywhere (anymore?)
parent 66ffd3c7
......@@ -81,7 +81,6 @@ public:
KoViewPrivate() {
tempActiveWidget = 0;
documentDeleted = false;
viewBar = 0;
actionAuthor = 0;
}
~KoViewPrivate() {
......@@ -157,7 +156,6 @@ public:
QList<StatusBarItem> statusBarItems; // Our statusbar items
bool inOperation; //in the middle of an operation (no screen refreshing)?
QToolBar* viewBar;
KSelectAction *actionAuthor; // Select action for author profile.
};
......@@ -529,16 +527,6 @@ void KoView::slotUpdateAuthorProfileActions()
}
}
QToolBar* KoView::viewBar()
{
if (!d->viewBar) {
d->viewBar = new QToolBar(statusBar());
addStatusBarItem(d->viewBar, 0 , true);
}
return d->viewBar;
}
QList<QAction*> KoView::createChangeUnitActions()
{
UnitActionGroup* unitActions = new UnitActionGroup(d->document, this);
......
......@@ -260,11 +260,6 @@ public:
*/
virtual KoZoomController *zoomController() const = 0;
/**
* @return the view bar. The bar is created only if this function is called.
*/
QToolBar* viewBar();
/// create a list of actions that when activated will change the unit on the document.
QList<QAction*> createChangeUnitActions();
......
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