]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QSearch.h
partial fonts fix. Like Juergen said we really need our own dialog.
[lyx.git] / src / frontends / qt2 / QSearch.h
index 576c413853059f956991c072385ba3c0f58bcd93..3b27a639913033e68000ee959371810e66ba8fbe 100644 (file)
@@ -1,10 +1,12 @@
 // -*- C++ -*-
 /**
  * \file QSearch.h
- * 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
  */
 
 #ifndef QSEARCH_H
@@ -18,7 +20,7 @@
 
 class ControlSearch;
 class QSearchDialog;
-class Dialogs;
+
 
 ///
 class QSearch
@@ -28,22 +30,20 @@ public:
        ///
        friend class QSearchDialog;
        ///
-       QSearch(ControlSearch &, Dialogs &);
-
+       QSearch();
 private:
        /// Apply changes
-       virtual void apply() {};
+       virtual void apply() {}
        /// update
-       virtual void update_contents() {};
+       virtual void update_contents() {}
        /// build the dialog
        virtual void build_dialog();
 
-
-       void find(string const & str, bool casesens, bool words, bool backwards);
+       void find(string const & str, bool casesens,
+                 bool words, bool backwards);
 
        void replace(string const & findstr, string const & replacestr,
                bool casesens, bool words, bool all);
-
 };
 
 #endif // QSEARCH_H