KDevelop API Documentation

GrepViewPart Class Reference

Integrates "find|grep" in KDevelop - allows fast searching of multiple files using patterns or regular expressions. More...

#include <grepviewpart.h>

Inheritance diagram for GrepViewPart:

Inheritance graph
[legend]
Collaboration diagram for GrepViewPart:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GrepViewPart (QObject *parent, const char *name, const QStringList &)
 ~GrepViewPart ()

Private Slots

void stopButtonClicked (KDevPlugin *which)
void projectOpened ()
void projectClosed ()
void contextMenu (QPopupMenu *popup, const Context *context)
void slotGrep ()
void slotContextGrep ()

Private Attributes

QGuardedPtr< GrepViewWidgetm_widget
QString m_popupstr

Friends

class GrepViewWidget

Detailed Description

Integrates "find|grep" in KDevelop - allows fast searching of multiple files using patterns or regular expressions.

Author(s):
Bernd Gehrmann

Maintainer(s):
Jens Dagerbo aka teatime

Feature(s):
grep works on editor context menu

Bug:
bugs in Grep Frontend component at Bugzilla database

Definition at line 26 of file grepviewpart.h.


Constructor & Destructor Documentation

GrepViewPart::GrepViewPart QObject parent,
const char *  name,
const QStringList
 

GrepViewPart::~GrepViewPart  ) 
 

Definition at line 78 of file grepviewpart.cpp.

References m_widget, KDevPlugin::mainWindow(), and KDevMainWindow::removeView().


Member Function Documentation

void GrepViewPart::contextMenu QPopupMenu popup,
const Context context
[private, slot]
 

Definition at line 108 of file grepviewpart.cpp.

References KStringHandler::csqueeze(), EditorContext::currentWord(), Context::hasType(), kdDebug(), m_popupstr, and slotContextGrep().

void GrepViewPart::projectClosed  )  [private, slot]
 

Definition at line 102 of file grepviewpart.cpp.

References m_widget.

void GrepViewPart::projectOpened  )  [private, slot]
 

Definition at line 95 of file grepviewpart.cpp.

References kdDebug(), m_widget, and KDevPlugin::project().

void GrepViewPart::slotContextGrep  )  [private, slot]
 

Definition at line 137 of file grepviewpart.cpp.

References m_popupstr, and m_widget.

Referenced by contextMenu().

void GrepViewPart::slotGrep  )  [private, slot]
 

Definition at line 128 of file grepviewpart.cpp.

References m_widget.

void GrepViewPart::stopButtonClicked KDevPlugin which  )  [private, slot]
 

Definition at line 86 of file grepviewpart.cpp.

References kdDebug(), and m_widget.


Friends And Related Function Documentation

friend class GrepViewWidget [friend]
 

Definition at line 46 of file grepviewpart.h.


Member Data Documentation

QString GrepViewPart::m_popupstr [private]
 

Definition at line 45 of file grepviewpart.h.

Referenced by contextMenu(), and slotContextGrep().

QGuardedPtr<GrepViewWidget> GrepViewPart::m_widget [private]
 

Definition at line 44 of file grepviewpart.h.

Referenced by projectClosed(), projectOpened(), slotContextGrep(), slotGrep(), stopButtonClicked(), and ~GrepViewPart().


The documentation for this class was generated from the following files:
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:43:10 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003