KexiScriptEditor Class Reference
#include <kexiscripteditor.h>
Inheritance diagram for KexiScriptEditor:
Public Slots | |
| void | slotTextChanged () |
| void | setLineNo (long) |
| Public Slots inherited from KexiEditor | |
| void | setText (const TQString &text) |
| void | slotConfigureEditor () |
| Public Slots inherited from KexiViewBase | |
| virtual void | setFocus () |
| virtual void | propertySetSwitched () |
| void | setDirty (bool set) |
| void | setDirty () |
Public Member Functions | |
| KexiScriptEditor (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0) | |
| virtual | ~KexiScriptEditor () |
| bool | isInitialized () const |
| void | initialize (Kross::Api::ScriptAction *scriptaction) |
| Public Member Functions inherited from KexiEditor | |
| KexiEditor (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0) | |
| virtual | ~KexiEditor () |
| TQString | text () |
| void | setHighlightMode (const TQString &highlightmodename) |
| void | jump (int character) |
| void | setCursorPosition (int line, int col) |
| void | clearUndoRedo () |
| Public Member Functions inherited from KexiViewBase | |
| KexiViewBase (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0) | |
| KexiMainWindow * | mainWin () const |
| KexiDialogBase * | parentDialog () const |
| KexiPart::Part * | part () const |
| virtual TQSize | preferredSizeHint (const TQSize &otherSize) |
| virtual bool | eventFilter (TQObject *o, TQEvent *e) |
| void | addChildView (KexiViewBase *childView) |
| virtual bool | dirty () const |
| int | viewMode () const |
| virtual TDEAction * | sharedAction (const char *action_name) |
| virtual void | setAvailable (const char *action_name, bool set) |
| Public Member Functions inherited from KexiActionProxy | |
| KexiActionProxy (TQObject *receiver, KexiSharedActionHost *host=0) | |
| bool | activateSharedAction (const char *action_name, bool alsoCheckInChildren=true) |
| void | setSharedActionHost (KexiSharedActionHost &host) |
| bool | isAvailable (const char *action_name, bool alsoCheckInChildren=true) const |
| bool | isSupported (const char *action_name) const |
| void | setActionProxyParent_internal (KexiActionProxy *parent) |
Additional Inherited Members | |
| Signals inherited from KexiEditor | |
| void | textChanged () |
| Signals inherited from KexiViewBase | |
| void | closing (bool &cancel) |
| void | focus (bool in) |
| Static Public Member Functions inherited from KexiEditor | |
| static bool | isAdvancedEditor () |
| Public Attributes inherited from KexiActionProxy | |
| KexiActionProxy * | m_focusedChild |
| Protected Member Functions inherited from KexiEditor | |
| virtual void | updateActions (bool activated) |
| Protected Member Functions inherited from KexiViewBase | |
| virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
| virtual tristate | afterSwitchFrom (int mode) |
| virtual void | closeEvent (TQCloseEvent *e) |
| virtual KoProperty::Set * | propertySet () |
| void | propertySetReloaded (bool preservePrevSelection=false, const TQCString &propertyToSelect=TQCString()) |
| virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
| bool | loadDataBlock (TQString &dataString, const TQString &dataID=TQString(), bool canBeEmpty=false) |
| virtual tristate | storeData (bool dontAsk=false) |
| bool | storeDataBlock (const TQString &dataString, const TQString &dataID=TQString()) |
| bool | removeDataBlock (const TQString &dataID=TQString()) |
| void | setViewWidget (TQWidget *w, bool focusProxy=false) |
| virtual void | setFocusInternal () |
| virtual void | parentDialogDetached () |
| virtual void | parentDialogAttached () |
| Protected Member Functions inherited from KexiActionProxy | |
| void | plugSharedAction (const char *action_name, TQObject *receiver, const char *slot) |
| void | unplugSharedAction (const char *action_name) |
| void | plugSharedAction (const char *action_name, const char *slot) |
| int | plugSharedAction (const char *action_name, TQWidget *w) |
| void | plugSharedActionToExternalGUI (const char *action_name, KXMLGUIClient *client) |
| void | plugSharedActionsToExternalGUI (const TQValueList< TQCString > &action_names, KXMLGUIClient *client) |
| void | unplugSharedAction (const char *action_name, TQWidget *w) |
| TDEAction * | plugSharedAction (const char *action_name, const TQString &alternativeText, TQWidget *w) |
| TQObject * | receiver () const |
| void | addActionProxyChild (KexiActionProxy *child) |
| void | takeActionProxyChild (KexiActionProxy *child) |
| Protected Attributes inherited from KexiViewBase | |
| TQString | m_defaultIconName |
| KexiMainWindow * | m_mainWin |
| KexiDialogBase * | m_dialog |
| TQWidget * | m_viewWidget |
| KexiViewBase * | m_parentView |
| TQGuardedPtr< TQWidget > | m_lastFocusedChildBeforeFocusOut |
| Protected Attributes inherited from KexiActionProxy | |
| KexiSharedActionHost * | m_host |
| TQGuardedPtr< TQObject > | m_receiver |
| TQAsciiDict< TQPair< TQSignal *, bool > > | m_signals |
| TQPtrList< KexiActionProxy > | m_sharedActionChildren |
| TQPtrList< TDEAction > | m_alternativeActions |
| KexiActionProxy * | m_actionProxyParent |
| TQObject | m_signal_parent |
| TDEAction_setEnabled_Helper * | m_TDEAction_setEnabled_helper |
Detailed Description
The KexiEditor class embeds text editor for editing scripting code.
Definition at line 36 of file kexiscripteditor.h.
Constructor & Destructor Documentation
◆ KexiScriptEditor()
| KexiScriptEditor::KexiScriptEditor | ( | KexiMainWindow * | mainWin, |
| TQWidget * | parent, | ||
| const char * | name = 0 ) |
Constructor.
Definition at line 44 of file kexiscripteditor.cpp.
◆ ~KexiScriptEditor()
|
virtual |
Destructor.
Definition at line 50 of file kexiscripteditor.cpp.
Member Function Documentation
◆ initialize()
| 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.
◆ isInitialized()
| 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.
◆ setLineNo
|
slot |
Definition at line 98 of file kexiscripteditor.cpp.
◆ slotTextChanged
|
slot |
Definition at line 91 of file kexiscripteditor.cpp.
The documentation for this class was generated from the following files:
