* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* This file is Copyright 1996-1998
* Lars Gullik Bjønnes
}
}
+
Toolbar::~Toolbar()
{
delete pimpl_;
pimpl_->deactivate();
}
+
void Toolbar::update()
{
pimpl_->update();
}
-void Toolbar::setLayout(int layout) {
+void Toolbar::setLayout(int layout)
+{
pimpl_->setLayout(layout);
}
-void Toolbar::updateLayoutList(bool force) {
+void Toolbar::updateLayoutList(bool force)
+{
pimpl_->updateLayoutList(force);
}
-void Toolbar::openLayoutList() {
+void Toolbar::openLayoutList()
+{
pimpl_->openLayoutList();
}
void Toolbar::push(int nth)
{
- pimpl_->push(nth);}
+ pimpl_->push(nth);
+}
void Toolbar::add(string const & func, bool doclean)
{
- int tf = lyxaction.LookupFunc(func);
+ int const tf = lyxaction.LookupFunc(func);
if (tf == -1) {
lyxerr << "Toolbar::add: no LyX command called`"
pimpl_->add(tf, doclean);
}
}
-
-