KDevelop API Documentation

GrepDialog Class Reference

#include <grepdlg.h>

Inheritance diagram for GrepDialog:

Inheritance graph
[legend]
Collaboration diagram for GrepDialog:

Collaboration graph
[legend]
List of all members.

Signals

void searchClicked ()

Public Member Functions

 GrepDialog (GrepViewPart *part, QWidget *parent=0, const char *name=0)
 ~GrepDialog ()
void setPattern (const QString &pattern)
void setDirectory (const QString &dir)
QString patternString () const
QString templateString () const
QString filesString () const
QString directoryString () const
bool recursiveFlag () const
void show ()
bool ignoreSCMDirsFlag () const
bool caseSensitiveFlag () const

Private Slots

void templateActivated (int index)
void slotSearchClicked ()
void slotPatternChanged (const QString &)
void slotSynchDirectory ()

Private Attributes

QLineEdittemplate_edit
QComboBoxpattern_combo
QComboBoxfiles_combo
KComboBoxdir_combo
KURLRequesterurl_requester
QCheckBoxrecursive_box
QCheckBoxignore_scm_box
QCheckBoxcase_sens_box
KConfigconfig
QPushButtonsearch_button
QPushButtonsynch_button
GrepViewPartm_part

Constructor & Destructor Documentation

GrepDialog::GrepDialog GrepViewPart part,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 72 of file grepdlg.cpp.

References QBoxLayout::addWidget(), case_sens_box, KURLRequester::completionObject(), config, dir_combo, filepatterns, files_combo, ignore_scm_box, pattern_combo, KConfigBase::readListEntry(), KConfigBase::readPathListEntry(), recursive_box, search_button, KConfigBase::setGroup(), KURLRequester::setMode(), KURLCompletion::setMode(), slotPatternChanged(), slotSearchClicked(), slotSynchDirectory(), synch_button, template_desc, template_edit, template_str, templateActivated(), and url_requester.

GrepDialog::~GrepDialog  ) 
 

Definition at line 228 of file grepdlg.cpp.

References config, dir_combo, pattern_combo, qCombo2StringList(), KConfigBase::setGroup(), KConfigBase::writeEntry(), and KConfigBase::writePathEntry().


Member Function Documentation

bool GrepDialog::caseSensitiveFlag  )  const [inline]
 

Definition at line 56 of file grepdlg.h.

References case_sens_box.

Referenced by GrepViewWidget::searchActivated().

QString GrepDialog::directoryString  )  const [inline]
 

Definition at line 48 of file grepdlg.h.

References dir_combo.

Referenced by GrepViewWidget::searchActivated().

QString GrepDialog::filesString  )  const [inline]
 

Definition at line 46 of file grepdlg.h.

References files_combo.

Referenced by GrepViewWidget::searchActivated().

bool GrepDialog::ignoreSCMDirsFlag  )  const [inline]
 

Definition at line 54 of file grepdlg.h.

References ignore_scm_box.

Referenced by GrepViewWidget::searchActivated().

QString GrepDialog::patternString  )  const [inline]
 

Definition at line 42 of file grepdlg.h.

References pattern_combo.

Referenced by GrepViewWidget::searchActivated().

bool GrepDialog::recursiveFlag  )  const [inline]
 

Definition at line 50 of file grepdlg.h.

References recursive_box.

Referenced by GrepViewWidget::searchActivated().

void GrepDialog::searchClicked  )  [signal]
 

Referenced by slotSearchClicked().

void GrepDialog::setDirectory const QString dir  )  [inline]
 

Definition at line 39 of file grepdlg.h.

References dir_combo.

Referenced by GrepViewWidget::projectChanged().

void GrepDialog::setPattern const QString pattern  )  [inline]
 

Definition at line 37 of file grepdlg.h.

References pattern_combo.

Referenced by GrepViewWidget::showDialog(), and GrepViewWidget::showDialogWithPattern().

void GrepDialog::show  ) 
 

Definition at line 284 of file grepdlg.cpp.

References pattern_combo.

Referenced by GrepViewWidget::showDialog(), and GrepViewWidget::showDialogWithPattern().

void GrepDialog::slotPatternChanged const QString  )  [private, slot]
 

Definition at line 236 of file grepdlg.cpp.

References search_button.

Referenced by GrepDialog().

void GrepDialog::slotSearchClicked  )  [private, slot]
 

Definition at line 259 of file grepdlg.cpp.

References dir_combo, pattern_combo, qComboContains(), searchClicked(), and KMessageBox::sorry().

Referenced by GrepDialog().

void GrepDialog::slotSynchDirectory  )  [private, slot]
 

Definition at line 294 of file grepdlg.cpp.

References KParts::PartManager::activePart(), dir_combo, KURL::isLocalFile(), m_part, KDevPlugin::partController(), KURL::path(), KURL::upURL(), and KParts::ReadOnlyPart::url().

Referenced by GrepDialog().

void GrepDialog::templateActivated int  index  )  [private, slot]
 

Definition at line 241 of file grepdlg.cpp.

References template_edit, and template_str.

Referenced by GrepDialog().

QString GrepDialog::templateString  )  const [inline]
 

Definition at line 44 of file grepdlg.h.

References template_edit.

Referenced by GrepViewWidget::searchActivated().


Member Data Documentation

QCheckBox* GrepDialog::case_sens_box [private]
 

Definition at line 76 of file grepdlg.h.

Referenced by caseSensitiveFlag(), and GrepDialog().

KConfig* GrepDialog::config [private]
 

Definition at line 77 of file grepdlg.h.

Referenced by GrepDialog(), and ~GrepDialog().

KComboBox* GrepDialog::dir_combo [private]
 

Definition at line 71 of file grepdlg.h.

Referenced by directoryString(), GrepDialog(), setDirectory(), slotSearchClicked(), slotSynchDirectory(), and ~GrepDialog().

QComboBox * GrepDialog::files_combo [private]
 

Definition at line 70 of file grepdlg.h.

Referenced by filesString(), and GrepDialog().

QCheckBox* GrepDialog::ignore_scm_box [private]
 

Definition at line 75 of file grepdlg.h.

Referenced by GrepDialog(), and ignoreSCMDirsFlag().

GrepViewPart* GrepDialog::m_part [private]
 

Definition at line 80 of file grepdlg.h.

Referenced by slotSynchDirectory().

QComboBox* GrepDialog::pattern_combo [private]
 

Definition at line 70 of file grepdlg.h.

Referenced by GrepDialog(), patternString(), setPattern(), show(), slotSearchClicked(), and ~GrepDialog().

QCheckBox* GrepDialog::recursive_box [private]
 

Definition at line 74 of file grepdlg.h.

Referenced by GrepDialog(), and recursiveFlag().

QPushButton* GrepDialog::search_button [private]
 

Definition at line 78 of file grepdlg.h.

Referenced by GrepDialog(), and slotPatternChanged().

QPushButton* GrepDialog::synch_button [private]
 

Definition at line 79 of file grepdlg.h.

Referenced by GrepDialog().

QLineEdit* GrepDialog::template_edit [private]
 

Definition at line 69 of file grepdlg.h.

Referenced by GrepDialog(), templateActivated(), and templateString().

KURLRequester* GrepDialog::url_requester [private]
 

Definition at line 72 of file grepdlg.h.

Referenced by GrepDialog().


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 Wed Mar 23 00:25:43 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003