/**
* \file QSearch.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
-#include <fstream>
#ifdef __GNUG__
#pragma implementation
#endif
-#include <qpushbutton.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
+#include "LyXView.h"
+#include "ControlSearch.h"
+#include "gettext.h"
-#include "QSearchDialog.h"
#include "QSearch.h"
+#include "QSearchDialog.h"
#include "Qt2BC.h"
-#include "gettext.h"
-#include "QtLyXView.h"
-#include "ControlSearch.h"
+#include <qpushbutton.h>
+#include <qcheckbox.h>
+#include <qcombobox.h>
+
typedef Qt2CB<ControlSearch, Qt2DB<QSearchDialog> > base_class;
-QSearch::QSearch(ControlSearch & c)
- : base_class(c, _("Search"))
+
+QSearch::QSearch()
+ : base_class(_("Search"))
{
}
}
-void QSearch::find(string const & str, bool casesens, bool words, bool backwards)
+void QSearch::find(string const & str, bool casesens,
+ bool words, bool backwards)
{
controller().find(str, casesens, words, !backwards);
}