3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
14 #pragma implementation
17 #include "ControlPrefs.h"
18 #include "QPrefsDialog.h"
23 #include <qpushbutton.h>
25 typedef Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> > base_class;
29 : base_class(_("LyX: Preferences"))
34 void QPrefs::build_dialog()
36 dialog_.reset(new QPrefsDialog(this));
39 bc().setOK(dialog_->savePB);
40 bc().setApply(dialog_->applyPB);
41 bc().setCancel(dialog_->closePB);
42 bc().setRestore(dialog_->restorePB);
48 LyXRC & rc(controller().rc());
54 void QPrefs::update_contents()
56 LyXRC const & rc(controller().rc());