templateinterface.cpp
61 i18n( "This template uses personal data that is stored in the TDE addressbook, but you have not selected a personal entry. You can still use the template without one, but you will have to type personal data. Would you like to select one now?" ), \
152bool TemplateInterface::insertTemplateText ( uint line, uint column, const TQString &templateString, const TQMap<TQString, TQString> &initialValues, TQWidget *parentWindow )
185 && insertTemplateTextImplementation( line, column, templateString, enhancedInitValues, parentWindow );
This is an interface for inserting template strings with user editable fields into a document.
Definition templateinterface.h:38
virtual bool insertTemplateTextImplementation(uint line, uint column, const TQString &templateString, const TQMap< TQString, TQString > &initialValues, TQWidget *parentWindow=0)=0
You must implement this, it is called by insertTemplateText, after all default values are inserted.
static bool expandMacros(TQMap< TQString, TQString > &initialValues, TQWidget *parentWindow)
Parses templateString for macros in the form [$%]{NAME} and finds the value corresponding to NAME if ...
Definition templateinterface.cpp:73
bool insertTemplateText(uint line, uint column, const TQString &templateString, const TQMap< TQString, TQString > &initialValues, TQWidget *parentWindow=0)
Inserts an interactive ediable template text at line "line", column "col".
Definition templateinterface.cpp:152
KTextEditor is KDE's standard text editing KPart interface.
Definition blockselectiondcopinterface.h:10