/*************************************************************************** * copyright : (C) 2003-2007 by Pascal Brachet * * http://www.xm1math.net/texmaker/ * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef REPLACEDIALOG_H #define REPLACEDIALOG_H #include "ui_replacedialog.h" #include "latexeditor.h" class ReplaceDialog : public QDialog { Q_OBJECT public: ReplaceDialog(QWidget* parent = 0, const char* name = 0, Qt::WFlags fl = 0 ); ~ReplaceDialog(); Ui::ReplaceDialog ui; public slots: virtual void doReplace(); virtual void doReplaceAll(); void SetEditor(LatexEditor *ed); protected: LatexEditor *editor; }; #endif // REPLACEDIALOG_H