File: toTemplateProvider.html

package info (click to toggle)
tora 1.3.21-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,252 kB
  • ctags: 10,397
  • sloc: cpp: 108,822; sh: 10,861; makefile: 766; xml: 69; perl: 6
file content (120 lines) | stat: -rw-r--r-- 9,584 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<HTML>
<HEAD>
<TITLE>class toTemplateProvider</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class toTemplateProvider</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 This is the base class of a provider of template items. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH colspan="2">Contains pure virtuals</TH></TR><TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="totemplate_h.html">totemplate.h</A>&gt;</code></TD></TR>
<TR><TH><A HREF="full-list-toTemplateProvider.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref6">toTemplateProvider</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &name) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref7">~toTemplateProvider</A></b> () 
</LI>
<LI>const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &nbsp;<b><A HREF="#ref8">name</A></b> () 
</LI>
<LI>virtual  void &nbsp;<b><i><A HREF="#ref9">insertItems</A></i></b> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,<A HREF="/usr/lib/qt3/doc/html/qtoolbar.html">QToolBar</A> *toolbar) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref10">exportData</A></b> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref12">importData</A></b> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix) 
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static  void &nbsp;<b><A HREF="#ref11">exportAllData</A></b> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref13">importAllData</A></b> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref14">setShown</A></b> (bool shown) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref15">setToolKey</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &key) 
</LI>
</ul><h4>Public Members</h4><ul><LI>friend class <b><A HREF="#ref16">toTemplate</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 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.
 </p>
<A NAME="toTemplateProvider"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>toTemplateProvider</strong> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &name)
<br></td><td align="right"><h3><strong>toTemplateProvider</strong></h3></td></tr></table><p></p><p> List of currently available template providers.
   </p>
<A NAME="~toTemplateProvider"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~toTemplateProvider</strong> ()
<br></td><td align="right"><h3><strong>~toTemplateProvider</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="name"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &nbsp;<strong>name</strong> ()
<br></td><td align="right"><h3><strong>name</strong></h3></td></tr></table><p></p><p> Get name of this template provider.
   </p>
<A NAME="insertItems"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<i><strong>insertItems</strong></i> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,<A HREF="/usr/lib/qt3/doc/html/qtoolbar.html">QToolBar</A> *toolbar)
<br></td><td align="right"><h3><i><strong>insertItems</strong></i></h3></td></tr></table><p> <small>[pure virtual]</small></p><p> Insert a parent item for this template provider into a list view.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">The list into which to insert the item.
</TD></TR>
<TR><TD align="left" valign="top"><i>toolbar</i></TD><TD align="left" valign="top">The template toolbar if any buttons are to be added on it.
   </TD></TR>
</TABLE></P>
<A NAME="exportData"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>exportData</strong> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix)
<br></td><td align="right"><h3><strong>exportData</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Save settings for this template provider.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Map of data.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix of where to save info.
   </TD></TR>
</TABLE></P>
<A NAME="exportAllData"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>exportAllData</strong> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix)
<br></td><td align="right"><h3><strong>exportAllData</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Save settings for all template providers.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Map of data.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix of where to save info.
   </TD></TR>
</TABLE></P>
<A NAME="importData"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>importData</strong> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix)
<br></td><td align="right"><h3><strong>importData</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Import data
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to read from a map.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to read data from.
   </TD></TR>
</TABLE></P>
<A NAME="importAllData"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>importAllData</strong> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix)
<br></td><td align="right"><h3><strong>importAllData</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Import data for all template providers.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to read from a map.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to read data from.
   </TD></TR>
</TABLE></P>
<A NAME="setShown"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setShown</strong> (bool shown)
<br></td><td align="right"><h3><strong>setShown</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Used internally to indicate if template help is shown.
   </p>
<A NAME="setToolKey"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setToolKey</strong> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &key)
<br></td><td align="right"><h3><strong>setToolKey</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Used internally to indicate tool key string
   </p>
<A NAME="toTemplate"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>friend class  <strong>toTemplate</strong>
</td><td align="right"><h3><strong>toTemplate</strong></h3></td></tr></table><p></p><HR>
	<table>
	<tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>
	</table>
</BODY>
</HTML>