mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-02 22:02:24 +00:00
f7ba7c8e9f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
693 B
C++
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
|