]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormThesaurus.C
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / FormThesaurus.C
index b7ec39b0763d0636470b087e6a1a0a5f6755b7fd..9e1dc93b4fb46c8b4e67b7ff81349f3a9d6ad522 100644 (file)
@@ -5,35 +5,40 @@
  *
  * \author Edwin Leuven
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-
-#include "ControlThesaurus.h"
 #include "FormThesaurus.h"
+#include "ControlThesaurus.h"
 #include "forms/form_thesaurus.h"
-#include "xformsBC.h"
+
 #include "xforms_helpers.h"
-#include "debug.h"
+#include "xformsBC.h"
+
 #include "support/lstrings.h"
-#include FORMS_H_LOCATION
-#include <cctype>
+
+#include "lyx_forms.h"
+
+using lyx::support::lowercase;
+using lyx::support::trim;
+using lyx::support::uppercase;
 
 #ifndef CXX_GLOBAL_CSTD
-using std::isupper;
 using std::islower;
+using std::isupper;
 #endif
 
 using std::vector;
+using std::string;
 
 
-typedef FormCB<ControlThesaurus, FormDB<FD_thesaurus> > base_class;
+typedef FormController<ControlThesaurus, FormView<FD_thesaurus> > base_class;
 
 
-FormThesaurus::FormThesaurus()
-       : base_class(_("Thesaurus"), false),
+FormThesaurus::FormThesaurus(Dialog & parent)
+       : base_class(parent, _("Thesaurus"), false),
          clickline_(-1)
 {
 }