lyx_mirror/src/frontends/qt2/QSearchDialog.h
Lars Gullik Bjønnes f7ba7c8e9f ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 21:21:28 +00:00

44 lines
693 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