]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/xformsBC.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / xformsBC.C
index bbb704afc46289f1cdfa94d6cf2cb2a3416b431c..92745c762b25a8fe304824366f54e22c932b2849 100644 (file)
@@ -1,41 +1,42 @@
 /**
  * \file xformsBC.C
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Allan Rae, rae@lyx.org
- * \author Angus Leeming, a.leeming@ic.ac.uk
- * \author Baruch Even, baruch.even@writeme.com
+ * \author Allan Rae
+ * \author Angus Leeming
+ * \author Baruch Even
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "xformsBC.h"
 #include "xforms_helpers.h"
+#include FORMS_H_LOCATION
 
 
-xformsBC::xformsBC(string const & cancel, string const & close)
-       : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
+xformsBC::xformsBC(ButtonController const & parent,
+                  string const & cancel, string const & close)
+       : GuiBC<FL_OBJECT, FL_OBJECT>(parent, cancel, close)
 {}
 
 
-void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
+void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled) const
 {
        setEnabled(obj, enabled);
 }
 
 
-void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
+void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled) const
 {
        setEnabled(obj, enabled);
 }
 
 
-void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
+void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label) const
 {
        fl_set_object_label(obj, label.c_str());
 }