GrepViewWidget Class Reference
#include <grepviewwidget.h>
Inheritance diagram for GrepViewWidget:


Public Slots | |
void | showDialog () |
void | showDialogWithPattern (QString pattern) |
Public Member Functions | |
GrepViewWidget (GrepViewPart *part) | |
~GrepViewWidget () | |
void | projectChanged (KDevProject *project) |
Private Slots | |
void | searchActivated () |
void | slotExecuted (QListBoxItem *item) |
void | popupMenu (QListBoxItem *, const QPoint &p) |
Private Member Functions | |
virtual void | childFinished (bool normal, int status) |
This is called when the child process exits. | |
virtual void | insertStdoutLine (const QString &line) |
Inserts one line from stdin into the listbox. | |
Private Attributes | |
GrepDialog * | grepdlg |
GrepViewPart * | m_part |
int | m_matchCount |
QString | _lastfilename |
Constructor & Destructor Documentation
|
Definition at line 93 of file grepviewwidget.cpp. References grepdlg, m_part, popupMenu(), searchActivated(), and slotExecuted(). |
|
Definition at line 112 of file grepviewwidget.cpp. |
Member Function Documentation
|
This is called when the child process exits. The flag 'normal' is true if the process exited normally (i.e. not by a signal or similar), otherwise the exit status can be taken from 'status'. Reimplemented from ProcessWidget. Definition at line 233 of file grepviewwidget.cpp. References ProcessWidget::childFinished(), KDevPlugin::core(), m_matchCount, m_part, ProcessWidget::maybeScrollToBottom(), and KDevCore::running(). |
|
Inserts one line from stdin into the listbox. This can be overridden by subclasses to implement syntax highlighting. Reimplemented from ProcessWidget. Definition at line 264 of file grepviewwidget.cpp. References _lastfilename, m_matchCount, and ProcessWidget::maybeScrollToBottom(). |
|
Definition at line 304 of file grepviewwidget.cpp. References KActionCollection::action(), KXMLGUIClient::actionCollection(), KPopupMenu::insertTitle(), ProcessWidget::isRunning(), m_part, and KAction::plug(). Referenced by GrepViewWidget(). |
|
Definition at line 298 of file grepviewwidget.cpp. References grepdlg, KDevProject::projectDirectory(), and GrepDialog::setDirectory(). |
|
|
Definition at line 116 of file grepviewwidget.cpp. References KParts::PartManager::activePart(), grepdlg, KTextEditor::SelectionInterface::hasSelection(), m_part, KDevPlugin::partController(), KTextEditor::SelectionInterface::selection(), GrepDialog::setPattern(), and GrepDialog::show(). |
|
Definition at line 151 of file grepviewwidget.cpp. References grepdlg, len, GrepDialog::setPattern(), and GrepDialog::show(). |
|
Definition at line 252 of file grepviewwidget.cpp. References KDevPartController::editDocument(), GrepListBoxItem::filename(), ProcessListBoxItem::isCustomItem(), GrepListBoxItem::linenumber(), m_part, and KDevPlugin::partController(). Referenced by GrepViewWidget(). |
Member Data Documentation
|
Definition at line 48 of file grepviewwidget.h. Referenced by insertStdoutLine(), and searchActivated(). |
|
Definition at line 45 of file grepviewwidget.h. Referenced by GrepViewWidget(), projectChanged(), searchActivated(), showDialog(), and showDialogWithPattern(). |
|
Definition at line 47 of file grepviewwidget.h. Referenced by childFinished(), insertStdoutLine(), and searchActivated(). |
|
Definition at line 46 of file grepviewwidget.h. Referenced by childFinished(), GrepViewWidget(), popupMenu(), searchActivated(), showDialog(), and slotExecuted(). |
The documentation for this class was generated from the following files:
- parts/grepview/grepviewwidget.h
- parts/grepview/grepviewwidget.cpp