tdetexteditor.cpp
220 Editor *KTextEditor::createEditor ( const char* libname, TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name )
222 return KParts::ComponentFactory::createPartInstanceFromLibrary<Editor>( libname, parentWidget, widgetName, parent, name );
225 Document *KTextEditor::createDocument ( const char* libname, TQObject *parent, const char *name )
227 return KParts::ComponentFactory::createPartInstanceFromLibrary<Document>( libname, 0, 0, parent, name );
long documentListPosition() const
Returns the list position of this document in your app, if applicable.
Definition: tdetexteditor.cpp:125
void setDocumentListPosition(long pos)
Sets the list position of this document in your app, if applicable.
Definition: tdetexteditor.cpp:130
TQCString documentDCOPSuffix() const
Returns this document's DCOP suffix for identifiying its DCOP interface.
Definition: tdetexteditor.cpp:135
unsigned int documentNumber() const
Returns the global number of this document in your app.
Definition: tdetexteditor.cpp:120
This is a simplfied version of the Document & View classes Usage: Load it, merge it's gui + be happy ...
Definition: editor.h:40
Editor(TQObject *parent=0, const char *name=0)
Create a new editor widget.
Definition: tdetexteditor.cpp:205
View(class Document *, TQWidget *parent, const char *name=0)
Create a new view to the given document.
Definition: tdetexteditor.cpp:143
TQCString viewDCOPSuffix() const
Returns the DCOP suffix to allow identification of this view's DCOP interface.
Definition: tdetexteditor.cpp:158
KTextEditor is KDE's standard text editing KPart interface.
Definition: blockselectiondcopinterface.h:10
TQString name(StdAccel id)