00001 /*************************************************************************** 00002 finddlg.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 __FINDDLG_H__ 00018 #define __FINDDLG_H__ 00019 00020 #include "ui/finddialog.h" 00021 00022 class CUTEView; 00024 class FindDlg : public FindDialog 00025 { 00026 Q_OBJECT 00027 public: 00029 FindDlg(CUTEView *parent); 00031 FindDlg() {} 00033 void findPrev(); 00035 void show(CUTEView *); 00036 protected: 00038 void showEvent(QShowEvent*); 00039 void hideEvent(QHideEvent *); 00041 void findAll(); 00042 private: 00044 CUTEView *view; 00046 bool firstFound; 00047 signals: 00049 void foundString(QString str); 00050 public slots: 00052 void find(); 00053 }; 00054 #endif