3
<TITLE>class toTemplateItem</TITLE>
5
<META NAME="Generator" CONTENT="KDOC ">
7
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
8
<TABLE WIDTH="100%" BORDER="0">
12
<TR><TD valign="top" align="left" cellspacing="10">
13
<h1>class toTemplateItem</h1>
15
<TD valign="top" align="right" colspan="1"> This is an item that is contained in a template. <small><A HREF="#longdesc">More...</A></small></TD></TR>
19
<TR><TH>Definition</TH><TD><code>#include <<A HREF="totemplate_h.html">totemplate.h</A>></code></TD></TR>
20
<TR><TH>Inherits</TH><TD><A HREF="toResultViewItem.html">toResultViewItem</A> <small>[public ]</small></TD></TR>
21
<TR><TH>Inherited by</TH><TD><A HREF="toTemplateSQL.html">toTemplateSQL</A>, <A HREF="toTemplateText.html">toTemplateText</A></TD></TR>
22
<TR><TH><A HREF="full-list-toTemplateItem.html">List of all Methods</A></TH></TR>
25
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
26
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
27
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
28
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
29
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
30
</TABLE></TD></TR></TABLE>
31
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref2">toTemplateItem</A></b> (<A HREF="toTemplateProvider.html">toTemplateProvider</A> &prov,<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name)
33
<LI> <b><A HREF="#ref3">toTemplateItem</A></b> (<A HREF="toTemplateItem.html">toTemplateItem</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name,<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *after=NULL)
35
<LI><A HREF="toTemplateProvider.html">toTemplateProvider</A> & <b><A HREF="#ref4">provider</A></b> (void)
37
<LI>virtual void <b><A HREF="#ref5">expand</A></b> (void)
39
<LI>virtual void <b><A HREF="#ref6">selected</A></b> (void)
41
<LI>virtual void <b><A HREF="#ref7">collapse</A></b> (void)
43
<LI>virtual <A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> * <b><A HREF="#ref8">selectedWidget</A></b> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent)
45
<LI>virtual void <b><A HREF="#ref9">setSelected</A></b> (bool sel)
47
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> This is an item that is contained in a template. It is different in the expand and
48
collapse methods that are called when this item is expanded or collapsed from the
51
<A NAME="toTemplateItem"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toTemplateItem</strong> (<A HREF="toTemplateProvider.html">toTemplateProvider</A> &prov,<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name)
52
<br></td><td align="right"><h3><strong>toTemplateItem</strong></h3></td></tr></table><p></p><p> Create an item.
54
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
55
<TR><TD align="left" valign="top"><i>prov</i></TD><TD align="left" valign="top">Provider for this item.
57
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of this item.
59
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Contents of the first column of the item.
62
<A NAME="toTemplateItem"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toTemplateItem</strong> (<A HREF="toTemplateItem.html">toTemplateItem</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name,<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *after=NULL)
63
<br></td><td align="right"><h3><strong>toTemplateItem</strong></h3></td></tr></table><p></p><p> Create an item.
65
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
66
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of this item.
68
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Contents of the first column of the item.
70
<TR><TD align="left" valign="top"><i>after</i></TD><TD align="left" valign="top">The item to put this item after.
73
<A NAME="provider"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toTemplateProvider.html">toTemplateProvider</A> & <strong>provider</strong> (void)
74
<br></td><td align="right"><h3><strong>provider</strong></h3></td></tr></table><p></p><p> Get a reference to the provider of this item.
76
<p><b>Returns</b>: Reference to provider.
78
<A NAME="expand"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>expand</strong> (void)
79
<br></td><td align="right"><h3><strong>expand</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> This function is called when the item is expanded and can be used to fill up the
82
<A NAME="selected"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>selected</strong> (void)
83
<br></td><td align="right"><h3><strong>selected</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> This function is called when the item is selected by doubleclicking or pressing return.
85
<A NAME="collapse"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>collapse</strong> (void)
86
<br></td><td align="right"><h3><strong>collapse</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> This function is called when the item is collapsed.
88
<A NAME="selectedWidget"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> * <strong>selectedWidget</strong> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent)
89
<br></td><td align="right"><h3><strong>selectedWidget</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> This function can be used to return a widget that is displays extra information for
90
this item. Return NULL if no widget is to be displayed. The widget will be deleted
91
when this item is no longer shown.
93
<A NAME="setSelected"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setSelected</strong> (bool sel)
94
<br></td><td align="right"><h3><strong>setSelected</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Reimplemented for internal reasons.
98
<tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>