kexi

KexiScriptEditor Class Reference

#include <kexiscripteditor.h>

Inheritance diagram for KexiScriptEditor:

KexiEditor KexiViewBase KexiActionProxy List of all members.

Detailed Description

The KexiEditor class embeds text editor for editing scripting code.

Definition at line 36 of file kexiscripteditor.h.


Public Slots

void slotTextChanged ()
void setLineNo (long)

Public Member Functions

 KexiScriptEditor (KexiMainWindow *mainWin, QWidget *parent, const char *name=0)
virtual ~KexiScriptEditor ()
bool isInitialized () const
void initialize (Kross::Api::ScriptAction *scriptaction)

Constructor & Destructor Documentation

KexiScriptEditor::KexiScriptEditor ( KexiMainWindow mainWin,
QWidget *  parent,
const char *  name = 0 
)

Constructor.

Definition at line 44 of file kexiscripteditor.cpp.

KexiScriptEditor::~KexiScriptEditor (  )  [virtual]

Destructor.

Definition at line 50 of file kexiscripteditor.cpp.


Member Function Documentation

bool KexiScriptEditor::isInitialized (  )  const

Returns:
true if this editor is already initialized (initialize was called) else false is returned.

Definition at line 55 of file kexiscripteditor.cpp.

void KexiScriptEditor::initialize ( Kross::Api::ScriptAction *  scriptaction  ) 

Initializes the editor.

Call this if you like to start with a clear editor instance. Thinks like the language highlighter will be reset, undo/redo are cleared and setDirty(false) is set.

Todo:
remove after release

Definition at line 60 of file kexiscripteditor.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys