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();
00034     QString workingDir() { return dir; }
00035 protected slots:
00037     void find();
00039     void setDirectory();
00040 signals:
00042     void readyReadStdout();
00044     void clearList();
00046     void viewSearch();
00047 private:
00048     QProcess proc;
00049     QString pattern;
00050     QString files;
00051     QString dir;
00052     QString moreGrepOptions;
00053     bool ignoreCase;
00054     bool matchWholeLine;
00055     bool extendedRegExp;
00056     bool recursive;
00057 };

Generated on Sun May 2 20:02:57 2004 by doxygen 1.3.2