remove unused toolbar (de)activate()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4613 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-07-12 03:17:31 +00:00
parent c17851a1d5
commit d590a912e8
10 changed files with 15 additions and 62 deletions

View File

@ -1,3 +1,8 @@
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* Toolbar.h:
* Toolbar.C: remove unused (de)activate()
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am:

View File

@ -53,18 +53,6 @@ void Toolbar::set(bool doingmain)
}
void Toolbar::activate()
{
pimpl_->activate();
}
void Toolbar::deactivate()
{
pimpl_->deactivate();
}
void Toolbar::update()
{
pimpl_->update();

View File

@ -48,10 +48,6 @@ public:
void add(string const & , bool doclean = true);
/// invokes the n'th icon in the toolbar
void push(int);
/// activates the toolbar
void activate();
/// deactivates the toolbar
void deactivate();
/// update the state of the icons
void update();

View File

@ -1,3 +1,8 @@
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* Toolbar_pimpl.h:
* Toolbar_pimpl.C: remove unused (de)activate()
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* lyx_gui.C: implement update_fonts(), font_available()

View File

@ -58,7 +58,6 @@ QDocument
qfont_loader
- use lyxrc, check for failure, implement available()
- fix usage outside of qt2/ (frontends/font_laoder.h)
qfont_metrics
@ -140,7 +139,6 @@ QtView
Toolbar_pimpl (variously maybe *)
- mathed symbols
- activate/deactivate
- openLayoutList() (?)
- ::set() ???
- push() ??

View File

@ -103,18 +103,6 @@ Toolbar::Pimpl::~Pimpl()
}
void Toolbar::Pimpl::activate()
{
// FIXME
}
void Toolbar::Pimpl::deactivate()
{
// FIXME
}
void Toolbar::Pimpl::update()
{
ButtonMap::const_iterator p = map_.begin();

View File

@ -54,10 +54,6 @@ public:
void add(int, bool doclean = true);
/// invokes the n'th icon in the toolbar
void push(int);
/// activates the toolbar
void activate();
/// deactivates the toolbar
void deactivate();
/// update the state of the icons
void update();

View File

@ -1,3 +1,8 @@
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* Toolbar_pimpl.h:
* Toolbar_pimpl.C: remove unused (de)activate()
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* lyx_gui.C: implement update_fonts(), font_available()

View File

@ -103,30 +103,6 @@ Toolbar::Pimpl::~Pimpl()
}
void Toolbar::Pimpl::activate()
{
ToolbarList::const_iterator p = toollist.begin();
ToolbarList::const_iterator end = toollist.end();
for (; p != end; ++p) {
if (p->icon) {
fl_activate_object(p->icon);
}
}
}
void Toolbar::Pimpl::deactivate()
{
ToolbarList::const_iterator p = toollist.begin();
ToolbarList::const_iterator end = toollist.end();
for (; p != end; ++p) {
if (p->icon) {
fl_deactivate_object(p->icon);
}
}
}
void Toolbar::Pimpl::update()
{
ToolbarList::const_iterator p = toollist.begin();

View File

@ -50,10 +50,6 @@ public:
void add(int, bool doclean = true);
/// invokes the n'th icon in the toolbar
void push(int);
/// activates the toolbar
void activate();
/// deactivates the toolbar
void deactivate();
/// update the state of the icons
void update();