KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
ScriptEditorImplementation Class Reference

#include <ScriptEditorImplementation.h>

+ Inheritance diagram for ScriptEditorImplementation:

Signals

void find (const QString &)
 
void initFind ()
 
void nextFind (const QString &szText)
 
void replaceAll (const QString &szToReplace, const QString &szReplaceWith)
 

Public Member Functions

int cursor ()
 
QLineEdit * findLineEdit ()
 
int getCursor ()
 
virtual void getText (QString &szText)
 
virtual void getText (QByteArray &szText)
 
virtual bool isModified ()
 
 ScriptEditorImplementation (QWidget *par)
 
void setCursorPosition (int iPos)
 
virtual void setEnabled (bool bEnabled)
 
virtual void setFindText (const QString &szText)
 
virtual void setFocus ()
 
virtual void setModified (bool)
 
virtual void setReadOnly (bool bReadOnly)
 
virtual void setText (const char *txt)
 
virtual void setText (const QString &szText)
 
virtual void setText (const QByteArray &szText)
 
void setUnHighlightedText (const QString &szText)
 
virtual ~ScriptEditorImplementation ()
 
- Public Member Functions inherited from KviScriptEditor
virtual void setFindLineeditReadOnly (bool b)
 
virtual void setInfoText (const QString &text)
 

Public Attributes

QLineEdit * m_pFindLineEdit
 

Protected Slots

void configureColors ()
 
void loadFromFile ()
 
void optionsDialogFinished (int iResult)
 
void saveToFile ()
 
void slotFind ()
 
void slotInitFind ()
 
void slotNextFind (const QString &)
 
void slotReplaceAll (const QString &szToReplace, const QString &szReplaceWith)
 
void updateRowColLabel ()
 

Protected Member Functions

virtual void focusInEvent (QFocusEvent *e)
 
void loadOptions ()
 
void saveOptions ()
 
- Protected Member Functions inherited from KviScriptEditor
 KviScriptEditor (QWidget *par)
 
 ~KviScriptEditor ()
 

Protected Attributes

int m_lastCursorPos
 
ScriptEditorWidgetm_pEditor
 
ScriptEditorWidgetColorOptionsm_pOptionsDialog
 
QLabel * m_pRowColLabel
 
- Protected Attributes inherited from KviScriptEditor
QLineEdit * m_pFindLineedit
 

Additional Inherited Members

- Static Public Member Functions inherited from KviScriptEditor
static KviScriptEditorcreateInstance (QWidget *par)
 
static void destroyInstance (KviScriptEditor *e)
 
static KviScriptEditorgetDummyEditor (QWidget *par)
 

Constructor & Destructor Documentation

ScriptEditorImplementation::ScriptEditorImplementation ( QWidget *  par)
ScriptEditorImplementation::~ScriptEditorImplementation ( )
virtual

Member Function Documentation

void ScriptEditorImplementation::configureColors ( )
protectedslot
int ScriptEditorImplementation::cursor ( )
inline

References m_lastCursorPos.

void ScriptEditorImplementation::find ( const QString &  )
signal

Referenced by slotFind().

QLineEdit* ScriptEditorImplementation::findLineEdit ( )
inline

References m_pFindLineEdit.

void ScriptEditorImplementation::focusInEvent ( QFocusEvent *  e)
protectedvirtual

References m_pEditor.

int ScriptEditorImplementation::getCursor ( )
inlinevirtual

Reimplemented from KviScriptEditor.

References m_pEditor.

void ScriptEditorImplementation::getText ( QString &  szText)
virtual

Reimplemented from KviScriptEditor.

References m_pEditor.

void ScriptEditorImplementation::getText ( QByteArray &  szText)
virtual

Reimplemented from KviScriptEditor.

References m_pEditor.

void ScriptEditorImplementation::initFind ( )
signal

Referenced by slotInitFind().

bool ScriptEditorImplementation::isModified ( )
virtual

Reimplemented from KviScriptEditor.

References m_pEditor.

void ScriptEditorImplementation::loadFromFile ( )
protectedslot
void ScriptEditorImplementation::loadOptions ( )
protected
void ScriptEditorImplementation::nextFind ( const QString &  szText)
signal
void ScriptEditorImplementation::optionsDialogFinished ( int  iResult)
protectedslot
void ScriptEditorImplementation::replaceAll ( const QString &  szToReplace,
const QString &  szReplaceWith 
)
signal

Referenced by slotReplaceAll().

void ScriptEditorImplementation::saveOptions ( )
protected
void ScriptEditorImplementation::saveToFile ( )
protectedslot
void ScriptEditorImplementation::setCursorPosition ( int  iPos)
virtual

Reimplemented from KviScriptEditor.

References m_pEditor, and updateRowColLabel().

Referenced by loadFromFile().

void ScriptEditorImplementation::setEnabled ( bool  bEnabled)
virtual

References m_pEditor, and m_pRowColLabel.

void ScriptEditorImplementation::setFindText ( const QString &  szText)
virtual
void ScriptEditorImplementation::setFocus ( )
virtual

References m_pEditor.

void ScriptEditorImplementation::setModified ( bool  bModified)
virtual

Reimplemented from KviScriptEditor.

References m_pEditor.

void ScriptEditorImplementation::setReadOnly ( bool  bReadOnly)
virtual

Reimplemented from KviScriptEditor.

References m_pEditor.

void ScriptEditorImplementation::setText ( const char *  txt)
virtual

Reimplemented from KviScriptEditor.

void ScriptEditorImplementation::setText ( const QString &  szText)
virtual
void ScriptEditorImplementation::setText ( const QByteArray &  szText)
virtual

Reimplemented from KviScriptEditor.

References m_pEditor, and updateRowColLabel().

void ScriptEditorImplementation::setUnHighlightedText ( const QString &  szText)
virtual
void ScriptEditorImplementation::slotFind ( )
protectedslot

References find(), and m_pFindLineEdit.

Referenced by ScriptEditorImplementation().

void ScriptEditorImplementation::slotInitFind ( )
protectedslot

References initFind().

void ScriptEditorImplementation::slotNextFind ( const QString &  )
protectedslot
void ScriptEditorImplementation::slotReplaceAll ( const QString &  szToReplace,
const QString &  szReplaceWith 
)
protectedslot

References replaceAll().

void ScriptEditorImplementation::updateRowColLabel ( )
protectedslot

Member Data Documentation

int ScriptEditorImplementation::m_lastCursorPos
protected
ScriptEditorWidget* ScriptEditorImplementation::m_pEditor
protected
QLineEdit* ScriptEditorImplementation::m_pFindLineEdit
ScriptEditorWidgetColorOptions* ScriptEditorImplementation::m_pOptionsDialog
protected
QLabel* ScriptEditorImplementation::m_pRowColLabel
protected

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