]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormBrowser.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormBrowser.C
index 551212a238179fa8c9927810e97622db4f151b7d..ee9d1e09ef8ddd2a6f29ff8414e82289dde8f209 100644 (file)
@@ -1,6 +1,7 @@
 /**
  * \file FormBrowser.C
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author John Levon
  *
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "FormBrowser.h"
 #include "forms/form_browser.h"
 #include "xformsBC.h"
 
-FormBrowser::FormBrowser(string const & t, bool allowResize)
-       : FormDB<FD_browser>(t, allowResize)
+FormBrowser::FormBrowser(Dialog & parent,
+                        string const & title, bool allowResize)
+       : FormView<FD_browser>(parent, title, allowResize)
 {}
 
 
@@ -27,5 +26,5 @@ void FormBrowser::build()
        dialog_.reset(build_browser(this));
 
        // Manage the close button
-       bc().setCancel(dialog_->button_close);
+       bcview().setCancel(dialog_->button_close);
 }