Songbook-Client  0.7
This application is a manager of customguitar songbooks
 All Classes Files Functions Variables Enumerations Enumerator Pages
Public Slots | Public Member Functions
CFindReplaceDialog Class Reference

CFindReplaceDialog is a find and replace dialog. More...

#include <find-replace-dialog.hh>

List of all members.

Public Slots

bool find ()
void replace ()
void replaceAll ()

Public Member Functions

 CFindReplaceDialog (QWidget *parent=0)
 Constructor.
virtual ~CFindReplaceDialog ()
 Destructor.
void setTextEditor (QPlainTextEdit *editor)
void writeSettings ()
void readSettings ()
int historySize () const
void setHistorySize (int value)

Detailed Description

CFindReplaceDialog is a find and replace dialog.

find-replace.png

Member Function Documentation

bool CFindReplaceDialog::find ( )
slot

Finds the next occurrence in the editor's contents based upon the settings of the dialog.

See also:
replace, replaceAll
int CFindReplaceDialog::historySize ( ) const

Returns the maximum size of history.

See also:
setHistorySize
void CFindReplaceDialog::readSettings ( )

Reads the settings of the dialog.

See also:
writeSettings
void CFindReplaceDialog::replace ( )
slot

Replace the current selection in the editor.

See also:
find, replaceAll
void CFindReplaceDialog::replaceAll ( )
slot

Replace all occurences in the editor.

See also:
find, replace
void CFindReplaceDialog::setHistorySize ( int  value)

Sets the maximum size of history to value.

See also:
historySize
void CFindReplaceDialog::setTextEditor ( QPlainTextEdit *  editor)

Sets editor as the text editor upon which find and replace operations are applied.

void CFindReplaceDialog::writeSettings ( )

Saves the settings of the dialog.

See also:
readSettings

The documentation for this class was generated from the following files: