mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
toolbar - remove dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4753 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
92c15c86a5
commit
b26e3ab3bb
@ -1,3 +1,11 @@
|
||||
2002-07-22 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* QCommandBuffer.C: probably compile fix
|
||||
|
||||
* QtView.C:
|
||||
* Toolbar_pimpl.h:
|
||||
* Toolbar_pimpl.C: remove dead code
|
||||
|
||||
2002-07-22 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* lyx_gui.C: add exit() so we don't busy loop !
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include <qcombobox.h>
|
||||
#include <qtoolbutton.h>
|
||||
#include <qsize.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
namespace {
|
||||
|
@ -66,7 +66,6 @@ QtView::QtView(unsigned int width, unsigned int height)
|
||||
this, SLOT(activated(int)));
|
||||
|
||||
toolbar_.reset(new Toolbar(this, *getDialogs(), 0, 0, toolbardefaults));
|
||||
toolbar_->set(true);
|
||||
|
||||
statusBar()->setSizeGripEnabled(false);
|
||||
|
||||
|
@ -109,4 +109,3 @@ QtView
|
||||
Toolbar_pimpl
|
||||
|
||||
- mathed symbols (*)
|
||||
- set() ??
|
||||
|
@ -224,13 +224,7 @@ void Toolbar::Pimpl::openLayoutList()
|
||||
}
|
||||
|
||||
|
||||
void Toolbar::Pimpl::set(bool)
|
||||
{
|
||||
// FIXME: ???
|
||||
}
|
||||
|
||||
|
||||
void Toolbar::Pimpl::add(int action, bool)
|
||||
void Toolbar::Pimpl::add(int action)
|
||||
{
|
||||
if (!toolbars_.size()) {
|
||||
toolbars_.push_back(new QToolBar(owner_));
|
||||
|
@ -36,22 +36,13 @@ struct Toolbar::Pimpl {
|
||||
friend class ToolbarProxy;
|
||||
|
||||
public:
|
||||
///
|
||||
Pimpl(LyXView * o, Dialogs &, int x, int y);
|
||||
///
|
||||
|
||||
~Pimpl();
|
||||
|
||||
/// (re)sets the toolbar
|
||||
void set(bool doingmain = false);
|
||||
|
||||
void reset() { }
|
||||
|
||||
/** this is to be the entry point to the toolbar
|
||||
frame, where you can change the toolbar realtime.
|
||||
*/
|
||||
void edit();
|
||||
/// add a new button to the toolbar.
|
||||
void add(int, bool doclean = true);
|
||||
void add(int action);
|
||||
|
||||
/// update the state of the icons
|
||||
void update();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user