00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include <qstring.h>
00019 #include <qprocess.h>
00020
00021 #include "ui/findinfilesdialog.h"
00022
00024 class FindInFilesDlg : public FindInFilesDialog
00025 {
00026 Q_OBJECT
00027 public:
00028 FindInFilesDlg( QWidget *parent=0, const char *name=0);
00030 QString readLineStdout();
00032 bool canReadLineStdout();
00033 protected slots:
00035 void find();
00037 void setDirectory();
00038 signals:
00040 void readyReadStdout();
00042 void clearList();
00043 private:
00044 QProcess proc;
00045 QString pattern;
00046 QString files;
00047 QString dir;
00048 QString moreGrepOptions;
00049 bool ignoreCase;
00050 bool matchWholeLine;
00051 bool extendedRegExp;
00052 bool recursive;
00053 };