class toTemplateProvider

This is the base class of a provider of template items. More...

Contains pure virtuals
Definition#include <totemplate.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Public Members


Detailed Description

This is the base class of a provider of template items. Usually it is created with a static object just like the tools. It can also be assumed that a maximum of one template window will be opened.

 toTemplateProvider (const QCString &name)

toTemplateProvider

List of currently available template providers.

 ~toTemplateProvider ()

~toTemplateProvider

[virtual]

const QCString  name ()

name

Get name of this template provider.

void  insertItems (QListView *parent,QToolBar *toolbar)

insertItems

[pure virtual]

Insert a parent item for this template provider into a list view.

Parameters:
parentThe list into which to insert the item.
toolbarThe template toolbar if any buttons are to be added on it.

void  exportData (std::map<QCString,QString> &data,const QCString &prefix)

exportData

[virtual]

Save settings for this template provider.

Parameters:
dataMap of data.
prefixPrefix of where to save info.

void  exportAllData (std::map<QCString,QString> &data,const QCString &prefix)

exportAllData

[static]

Save settings for all template providers.

Parameters:
dataMap of data.
prefixPrefix of where to save info.

void  importData (std::map<QCString,QString> &data,const QCString &prefix)

importData

[virtual]

Import data

Parameters:
dataData to read from a map.
prefixPrefix to read data from.

void  importAllData (std::map<QCString,QString> &data,const QCString &prefix)

importAllData

[static]

Import data for all template providers.

Parameters:
dataData to read from a map.
prefixPrefix to read data from.

void  setShown (bool shown)

setShown

[static]

Used internally to indicate if template help is shown.

void  setToolKey (const QCString &key)

setToolKey

[static]

Used internally to indicate tool key string

friend class toTemplate

toTemplate