KTextEditor::Editor Class Reference
#include <editor.h>
Inheritance diagram for KTextEditor::Editor:

Public Member Functions | |
Editor (TQObject *parent=0, const char *name=0) | |
unsigned int | editorNumber () const |
![]() | |
ReadWritePart (TQObject *parent=0, const char *name=0) | |
bool | isReadWrite () const |
virtual void | setReadWrite (bool readwrite=true) |
bool | isModified () const |
bool | queryClose () |
virtual bool | closeURL () |
bool | closeURL (bool promptToSave) |
virtual bool | saveAs (const KURL &url) |
virtual void | setModified (bool modified) |
![]() | |
ReadOnlyPart (TQObject *parent=0, const char *name=0) | |
void | setProgressInfoEnabled (bool show) |
bool | isProgressInfoEnabled () const |
KURL | url () const |
bool | openStream (const TQString &mimeType, const KURL &url) |
bool | writeStream (const TQByteArray &data) |
bool | closeStream () |
![]() | |
Part (TQObject *parent=0, const char *name=0) | |
virtual void | embed (TQWidget *parentWidget) |
virtual TQWidget * | widget () |
PartManager * | manager () const |
virtual Part * | hitTest (TQWidget *widget, const TQPoint &globalPos) |
virtual void | setSelectable (bool selectable) |
bool | isSelectable () const |
Friends | |
class | PrivateEditor |
Additional Inherited Members | |
![]() | |
virtual void | setModified () |
virtual bool | save () |
bool | waitSaveComplete () |
![]() | |
virtual bool | openURL (const KURL &url) |
![]() | |
void | sigQueryClose (bool *handled, bool *abortClosing) |
![]() | |
void | started (TDEIO::Job *) |
void | completed () |
void | completed (bool pendingAction) |
void | canceled (const TQString &errMsg) |
![]() | |
void | setWindowCaption (const TQString &caption) |
void | setStatusBarText (const TQString &text) |
![]() | |
virtual bool | saveFile ()=0 |
virtual bool | saveToURL () |
![]() | |
virtual bool | openFile ()=0 |
virtual void | guiActivateEvent (GUIActivateEvent *event) |
![]() | |
virtual void | setWidget (TQWidget *widget) |
virtual void | partActivateEvent (PartActivateEvent *event) |
virtual void | partSelectEvent (PartSelectEvent *event) |
TQWidget * | hostContainer (const TQString &containerName) |
![]() | |
KURL | m_url |
TQString | m_file |
bool | m_bTemp |
Detailed Description
This is a simplfied version of the Document & View classes Usage: Load it, merge it's gui + be happy Extensibility: Use the Document / View classes if you want advanced features, interfaces, etc.
This class is just a good text editor widget replacement for applications which just need an embedded text edtor and are not interested in using advanced interfaces.
Constructor & Destructor Documentation
Editor::Editor | ( | TQObject * | parent = 0 , |
const char * | name = 0 |
||
) |
Create a new editor widget.
Definition at line 205 of file tdetexteditor.cpp.
The documentation for this class was generated from the following files: