00001 /*************************************************************************** 00002 replacedlg.h - description 00003 ------------------- 00004 begin : Fre Nov 8 2002 00005 copyright : (C) 2002 by Heiko Köhler 00006 email : heicom@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 #ifndef __REPLACEDLG_H__ 00018 #define __REPLACEDLG_H__ 00019 00020 #include <qextscintilla.h> 00021 #include "ui/replacedialog.h" 00022 00023 class CUTEView; 00025 class ReplaceDlg : public ReplaceDialog 00026 { 00027 Q_OBJECT 00028 public: 00029 ReplaceDlg(CUTEView *parent); 00030 ReplaceDlg() {} 00032 void newSearchString(); 00033 void show(CUTEView*); 00034 public slots: 00036 void replace(); 00038 void replaceAll(); 00040 void replaceInSelection(); 00041 protected: 00042 void showEvent(QShowEvent *e); 00043 void hideEvent(QHideEvent *); 00044 private: // Public attributes 00046 bool firstFound; 00048 CUTEView* view; 00049 }; 00050 #endif