3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
6 * \author Allan Rae <rae@lyx.org>
7 * \author Angus Leeming <a.leeming@ic.ac.uk>
13 #pragma implementation
20 qt2BC::qt2BC(string const & cancel, string const & close)
21 : GuiBC<QButton, QWidget>(cancel, close)
25 void qt2BC::setButtonEnabled(QButton * obj, bool enabled)
27 obj->setEnabled(enabled);
31 void qt2BC::setWidgetEnabled(QWidget * obj, bool enabled)
33 obj->setEnabled(enabled);
37 void qt2BC::setButtonLabel(QButton * obj, string const & label)
39 obj->setText(label.c_str());