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:

KDevPlugin QObject KXMLGUIClient 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

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 77 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 107 of file grepviewpart.cpp.

References contextMenu(), EditorContext::currentWord(), endl(), Context::hasType(), kdDebug(), m_popupstr, and slotContextGrep().

Referenced by contextMenu().

void GrepViewPart::projectClosed  )  [private, slot]
 

Definition at line 101 of file grepviewpart.cpp.

References m_widget.

void GrepViewPart::projectOpened  )  [private, slot]
 

Definition at line 94 of file grepviewpart.cpp.

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

void GrepViewPart::slotContextGrep  )  [private, slot]
 

Definition at line 134 of file grepviewpart.cpp.

References m_popupstr, and m_widget.

Referenced by contextMenu().

void GrepViewPart::slotGrep  )  [private, slot]
 

Definition at line 125 of file grepviewpart.cpp.

References m_widget.

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

Definition at line 85 of file grepviewpart.cpp.

References endl(), kdDebug(), m_widget, and stopButtonClicked().

Referenced by stopButtonClicked().


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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003