Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

findinfilesdlg.h

00001 /***************************************************************************
00002                           findinfilesdlg.h  -  Find in files dialog using grep
00003                              -------------------
00004     begin                : Don, 20 Feb 2003
00005     copyright            : (C) 2003 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 
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 };

Generated on Wed Sep 10 03:46:24 2003 by doxygen1.2.18