]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt2/QSearch.C
Convert the Search/Replace dialog to the cleaner MCV scheme.
[features.git] / src / frontends / qt2 / QSearch.C
index a74f29b0e2b9e7883168cfea13d4cdda937d1486..53761d03660eb122c073fae61fdb0d06ceb9333b 100644 (file)
 using std::string;
 
 
-typedef Qt2CB<ControlSearch, Qt2DB<QSearchDialog> > base_class;
+typedef QController<ControlSearch, QView<QSearchDialog> > base_class;
 
 
-QSearch::QSearch()
-       : base_class(_("LyX: Find and Replace"))
+QSearch::QSearch(Dialog & parent)
+       : base_class(parent, _("LyX: Find and Replace"))
 {
 }