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) |
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 91 of file grepviewwidget.cpp. References grepdlg, GrepViewWidget(), m_part, searchActivated(), and slotExecuted(). Referenced by GrepViewWidget(). |
|
Definition at line 107 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 219 of file grepviewwidget.cpp. References childFinished(), KDevPlugin::core(), m_matchCount, m_part, ProcessWidget::maybeScrollToBottom(), and KDevCore::running(). Referenced by childFinished(). |
|
Inserts one line from stdin into the listbox. This can be overridden by subclasses to implement syntax highlighting. Reimplemented from ProcessWidget. Definition at line 250 of file grepviewwidget.cpp. References _lastfilename, insertStdoutLine(), m_matchCount, and ProcessWidget::maybeScrollToBottom(). Referenced by insertStdoutLine(). |
|
Definition at line 284 of file grepviewwidget.cpp. References grepdlg, projectChanged(), KDevProject::projectDirectory(), and GrepDialog::setDirectory(). Referenced by projectChanged(). |
|
Definition at line 163 of file grepviewwidget.cpp. References _lastfilename, KDevPlugin::core(), GrepDialog::directoryString(), escape(), GrepDialog::filesString(), grepdlg, GrepDialog::ignoreSCMDirsFlag(), m_matchCount, m_part, KDevPlugin::mainWindow(), GrepDialog::patternString(), KDevMainWindow::raiseView(), GrepDialog::recursiveFlag(), KDevCore::running(), and GrepDialog::templateString(). Referenced by GrepViewWidget(). |
|
Definition at line 111 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 146 of file grepviewwidget.cpp. References grepdlg, len, GrepDialog::setPattern(), GrepDialog::show(), and showDialogWithPattern(). Referenced by showDialogWithPattern(). |
|
Definition at line 238 of file grepviewwidget.cpp. References KDevPartController::editDocument(), GrepListBoxItem::filename(), ProcessListBoxItem::isCustomItem(), GrepListBoxItem::linenumber(), m_part, KDevPlugin::partController(), and slotExecuted(). Referenced by GrepViewWidget(), and slotExecuted(). |
Member Data Documentation
|
Definition at line 47 of file grepviewwidget.h. Referenced by insertStdoutLine(), and searchActivated(). |
|
Definition at line 44 of file grepviewwidget.h. Referenced by GrepViewWidget(), projectChanged(), searchActivated(), showDialog(), and showDialogWithPattern(). |
|
Definition at line 46 of file grepviewwidget.h. Referenced by childFinished(), insertStdoutLine(), and searchActivated(). |
|
Definition at line 45 of file grepviewwidget.h. Referenced by childFinished(), GrepViewWidget(), searchActivated(), showDialog(), and slotExecuted(). |
The documentation for this class was generated from the following files:
- parts/grepview/grepviewwidget.h
- parts/grepview/grepviewwidget.cpp