X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt2%2FQSearchDialog.h;h=9d7b299c90a8f9859430046ce3e04efd16cae0d6;hb=1fcedd4b635807e7046342f324d054c04c37f054;hp=2d32340b82c38c1324c95e9a97ec64b8d9b85870;hpb=f7ba7c8e9f3dcd2a5de79c7e93bf8edeec3b8e35;p=lyx.git diff --git a/src/frontends/qt2/QSearchDialog.h b/src/frontends/qt2/QSearchDialog.h index 2d32340b82..9d7b299c90 100644 --- a/src/frontends/qt2/QSearchDialog.h +++ b/src/frontends/qt2/QSearchDialog.h @@ -1,43 +1,44 @@ +// -*- C++ -*- /** * \file QSearchDialog.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 Edwin Leuven + * + * Full author contact details are available in file CREDITS */ #ifndef QSEARCHDIALOG_H #define QSEARCHDIALOG_H -#include #include "ui/QSearchDialogBase.h" -#include "QSearch.h" +#include "LString.h" +class QSearch; class QCloseEvent; class QComboBox; -class QSearchDialog : public QSearchDialogBase -{ Q_OBJECT - +class QSearchDialog : public QSearchDialogBase { + Q_OBJECT public: QSearchDialog(QSearch * form); + virtual void show(); protected slots: void findChanged(); void findClicked(); void replaceClicked(); void replaceallClicked(); - protected: - void closeEvent(QCloseEvent * e); + virtual void closeEvent(QCloseEvent * e); private: // add a string to the combo if needed void remember(string const & find, QComboBox & combo); QSearch * form_; - }; #endif // QSEARCHDIALOG_H