lyx_mirror/src/frontends/qt2/QSearchDialog.h
John Levon ae102d4793 angus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3437 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-25 19:34:22 +00:00

44 lines
697 B
C++

/**
* \file QSearchDialog.h
* Copyright 2001 the LyX Team
* Read the file COPYING
*
* \author Edwin Leuven
*/
#ifndef QSEARCHDIALOG_H
#define QSEARCHDIALOG_H
#include <config.h>
#include "ui/QSearchDialogBase.h"
#include "QSearch.h"
class QCloseEvent;
class QComboBox;
class QSearchDialog : public QSearchDialogBase
{ Q_OBJECT
public:
QSearchDialog(QSearch * form);
protected slots:
void findChanged();
void findClicked();
void replaceClicked();
void replaceallClicked();
protected:
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