Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SearchDialog Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-gutenbrowser/SearchDialog.h>

Inheritance diagram for SearchDialog:

Inheritance graph
[legend]
Collaboration diagram for SearchDialog:

Collaboration graph
[legend]
List of all members.

Public Slots

void setLabel (QString labelText)
void byeBye ()
bool get_direction ()
bool case_sensitive ()
bool forward_search ()
void closed ()
QString get_text ()

Signals

void search_signal ()
void search_done_signal ()

Public Member Functions

 SearchDialog (QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
 ~SearchDialog ()
 SearchDialog (QWidget *parent, QStringList &searchFor, QStringList &replaceWith, int flags)
QString getSearchFor ()
QString getReplaceWith ()
int getFlags ()
void setSearchText (const QString &searchstr)

Public Attributes

QLabel * TextLabel1
QPushButton * buttonOk
QPushButton * buttonCancel
QLineEdit * SearchLineEdit
QString searchString
QString label1Str
QCheckBox * caseSensitiveCheckBox
Configcfg

Protected Slots

void slotOk ()

Protected Attributes

QHBoxLayout * hbox
QComboBox * m_search
QComboBox * m_replace
QCheckBox * m_opt1
QCheckBox * m_opt2
QCheckBox * m_opt3
QCheckBox * m_optRegExp
QCheckBox * m_opt4
QCheckBox * m_opt5
QCheckBox * m_opt6

Constructor & Destructor Documentation

SearchDialog::SearchDialog QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0
 

Definition at line 22 of file SearchDialog.cpp.

References buttonCancel, buttonOk, byeBye(), caseSensitiveCheckBox, cfg, closed(), QDir::homeDirPath(), label1Str, Config::readEntry(), SearchLineEdit, Config::setGroup(), TextLabel1, tr, and TRUE.

SearchDialog::~SearchDialog  ) 
 

Definition at line 77 of file SearchDialog.cpp.

SearchDialog::SearchDialog QWidget *  parent,
QStringList searchFor,
QStringList replaceWith,
int  flags
 

Definition at line 51 of file kateviewdialog.cpp.

References i18n, m_opt1, m_opt2, m_opt3, m_opt4, m_opt5, m_opt6, m_optRegExp, m_replace, m_search, KDialogBase::setMainWidget(), KateView::sfBackward, KateView::sfCaseSensitive, KateView::sfFromBeginning, KateView::sfPrompt, KateView::sfRegularExpression, KateView::sfReplace, KateView::sfSelected, KateView::sfWholeWords, and KDialog::spacingHint().


Member Function Documentation

void SearchDialog::byeBye  )  [slot]
 

Definition at line 97 of file SearchDialog.cpp.

References buttonOk, cfg, FALSE, QString::find(), get_text(), name, search_signal(), searchString, Config::setGroup(), TRUE, and Config::writeEntry().

Referenced by SearchDialog().

bool SearchDialog::case_sensitive  )  [slot]
 

Definition at line 89 of file SearchDialog.cpp.

void SearchDialog::closed  )  [slot]
 

Definition at line 119 of file SearchDialog.cpp.

References cfg, get_text(), search_done_signal(), searchString, Config::setGroup(), and Config::writeEntry().

Referenced by SearchDialog().

bool SearchDialog::forward_search  )  [slot]
 

Definition at line 93 of file SearchDialog.cpp.

Referenced by Gutenbrowser::search_slot().

bool SearchDialog::get_direction  )  [slot]
 

Definition at line 85 of file SearchDialog.cpp.

Referenced by Gutenbrowser::search_slot().

QString SearchDialog::get_text  )  [slot]
 

Definition at line 81 of file SearchDialog.cpp.

References SearchLineEdit.

Referenced by byeBye(), closed(), LibraryDialog::onButtonSearch(), and Gutenbrowser::search_slot().

int SearchDialog::getFlags  ) 
 

Definition at line 133 of file kateviewdialog.cpp.

References flags, m_opt1, m_opt2, m_opt3, m_opt4, m_opt5, m_opt6, m_optRegExp, m_replace, KateView::sfBackward, KateView::sfCaseSensitive, KateView::sfFromBeginning, KateView::sfPrompt, KateView::sfRegularExpression, KateView::sfReplace, KateView::sfSelected, and KateView::sfWholeWords.

Referenced by KateView::find(), and KateView::replace().

QString SearchDialog::getReplaceWith  ) 
 

Definition at line 128 of file kateviewdialog.cpp.

References m_replace.

Referenced by KateView::replace().

QString SearchDialog::getSearchFor  ) 
 

Definition at line 123 of file kateviewdialog.cpp.

References m_search.

Referenced by KateView::find(), and KateView::replace().

void SearchDialog::search_done_signal  )  [signal]
 

Referenced by closed().

void SearchDialog::search_signal  )  [signal]
 

Referenced by byeBye().

void SearchDialog::setLabel QString  labelText  )  [slot]
 

Definition at line 133 of file SearchDialog.cpp.

References label1Str, TextLabel1, and tr.

Referenced by LibraryDialog::onButtonSearch().

void SearchDialog::setSearchText const QString searchstr  ) 
 

Definition at line 174 of file kateviewdialog.cpp.

References m_search.

Referenced by KateView::find(), and KateView::replace().

void SearchDialog::slotOk  )  [protected, virtual, slot]
 

Reimplemented from KDialogBase.

Definition at line 154 of file kateviewdialog.cpp.

References QRegExp::isValid(), m_optRegExp, and m_search.


Member Data Documentation

QPushButton* SearchDialog::buttonCancel
 

Definition at line 33 of file SearchDialog.h.

Referenced by SearchDialog().

QPushButton* SearchDialog::buttonOk
 

Definition at line 32 of file SearchDialog.h.

Referenced by byeBye(), and SearchDialog().

QCheckBox* SearchDialog::caseSensitiveCheckBox
 

Definition at line 37 of file SearchDialog.h.

Referenced by LibraryDialog::onButtonSearch(), and SearchDialog().

Config* SearchDialog::cfg
 

Definition at line 38 of file SearchDialog.h.

Referenced by byeBye(), closed(), and SearchDialog().

QHBoxLayout* SearchDialog::hbox [protected]
 

Definition at line 40 of file SearchDialog.h.

QString SearchDialog::label1Str
 

Definition at line 36 of file SearchDialog.h.

Referenced by SearchDialog(), and setLabel().

QCheckBox* SearchDialog::m_opt1 [protected]
 

Definition at line 54 of file kateviewdialog.h.

Referenced by getFlags(), and SearchDialog().

QCheckBox* SearchDialog::m_opt2 [protected]
 

Definition at line 55 of file kateviewdialog.h.

Referenced by getFlags(), and SearchDialog().

QCheckBox* SearchDialog::m_opt3 [protected]
 

Definition at line 56 of file kateviewdialog.h.

Referenced by getFlags(), and SearchDialog().

QCheckBox* SearchDialog::m_opt4 [protected]
 

Definition at line 58 of file kateviewdialog.h.

Referenced by getFlags(), and SearchDialog().

QCheckBox* SearchDialog::m_opt5 [protected]
 

Definition at line 59 of file kateviewdialog.h.

Referenced by getFlags(), and SearchDialog().

QCheckBox* SearchDialog::m_opt6 [protected]
 

Definition at line 60 of file kateviewdialog.h.

Referenced by getFlags(), and SearchDialog().

QCheckBox* SearchDialog::m_optRegExp [protected]
 

Definition at line 57 of file kateviewdialog.h.

Referenced by getFlags(), SearchDialog(), and slotOk().

QComboBox* SearchDialog::m_replace [protected]
 

Definition at line 53 of file kateviewdialog.h.

Referenced by getFlags(), getReplaceWith(), and SearchDialog().

QComboBox* SearchDialog::m_search [protected]
 

Definition at line 52 of file kateviewdialog.h.

Referenced by getSearchFor(), SearchDialog(), setSearchText(), and slotOk().

QLineEdit* SearchDialog::SearchLineEdit
 

Definition at line 34 of file SearchDialog.h.

Referenced by get_text(), and SearchDialog().

QString SearchDialog::searchString
 

Definition at line 35 of file SearchDialog.h.

Referenced by byeBye(), closed(), and Gutenbrowser::Search().

QLabel* SearchDialog::TextLabel1
 

Definition at line 31 of file SearchDialog.h.

Referenced by SearchDialog(), and setLabel().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:51:23 2005 for OPIE by  doxygen 1.4.2