KDevelop API Documentation

grepviewwidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 1999-2001 by Bernd Gehrmann                             *
00003  *   bernd@kdevelop.org                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef _GREPVIEWWIDGET_H_
00013 #define _GREPVIEWWIDGET_H_
00014 
00015 #include "processwidget.h"
00016 
00017 class GrepDialog;
00018 class GrepViewPart;
00019 class KDevProject;
00020 
00021 
00022 class GrepViewWidget : public ProcessWidget
00023 {
00024     Q_OBJECT
00025 
00026 public:
00027     GrepViewWidget(GrepViewPart *part);
00028     ~GrepViewWidget();
00029 
00030     void projectChanged(KDevProject *project);
00031 
00032 public slots:
00033     void showDialog();
00034     void showDialogWithPattern(QString pattern);
00035 
00036 private slots:
00037     void searchActivated();
00038     void slotExecuted(QListBoxItem *item);
00039     void popupMenu(QListBoxItem *, const QPoint &p);
00040 
00041 private:
00042     virtual void childFinished(bool normal, int status);
00043     virtual void insertStdoutLine(const QString &line);
00044 
00045     GrepDialog *grepdlg;
00046     GrepViewPart *m_part;
00047     int m_matchCount;
00048     QString _lastfilename;
00049 };
00050 
00051 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:41 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003