mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
ae102d4793
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3437 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
697 B
C++
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
|