]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt2/QSearch.h
Convert the Search/Replace dialog to the cleaner MCV scheme.
[features.git] / src / frontends / qt2 / QSearch.h
index 3c179dac9f2240d3e0f4891fc002c8e69845a3b4..55dc44b3627bf6074906b9df9e92f463facc894b 100644 (file)
@@ -12,8 +12,7 @@
 #ifndef QSEARCH_H
 #define QSEARCH_H
 
-
-#include "Qt2Base.h"
+#include "QDialogView.h"
 
 class ControlSearch;
 class QSearchDialog;
@@ -21,13 +20,13 @@ class QSearchDialog;
 
 ///
 class QSearch
-       : public Qt2CB<ControlSearch, Qt2DB<QSearchDialog> >
+       : public QController<ControlSearch, QView<QSearchDialog> >
 {
 public:
        ///
        friend class QSearchDialog;
        ///
-       QSearch();
+       QSearch(Dialog &);
 private:
        /// Apply changes
        virtual void apply() {}