~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to doc/help/api/toTemplateItem.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2009-04-07 13:16:05 UTC
  • mfrom: (1.2.7 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090407131605-u422yigfv7jgg0l0
Tags: 2.0.0-3
* Cleaned up packaging a little bit.
* Added homepage information to control file.
* Bumped Standards-Version to 3.8.1.
* Released to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<HTML>
2
 
<HEAD>
3
 
<TITLE>class toTemplateItem</TITLE>
4
 
 
5
 
<META NAME="Generator" CONTENT="KDOC ">
6
 
</HEAD>
7
 
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
8
 
<TABLE WIDTH="100%" BORDER="0">
9
 
<TR>
10
 
<TD>
11
 
        <TABLE BORDER="0">
12
 
                <TR><TD valign="top" align="left" cellspacing="10">
13
 
                <h1>class toTemplateItem</h1>
14
 
                </TD>
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>
16
 
        </TABLE>
17
 
        <HR>
18
 
        <TABLE BORDER="0">
19
 
                <TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="totemplate_h.html">totemplate.h</A>&gt;</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>
23
 
        </TABLE>
24
 
        </TD>
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>&nbsp;<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) 
32
 
</LI>
33
 
<LI>&nbsp;<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) 
34
 
</LI>
35
 
<LI><A HREF="toTemplateProvider.html">toTemplateProvider</A> &&nbsp;<b><A HREF="#ref4">provider</A></b> (void) 
36
 
</LI>
37
 
<LI>virtual  void &nbsp;<b><A HREF="#ref5">expand</A></b> (void) 
38
 
</LI>
39
 
<LI>virtual  void &nbsp;<b><A HREF="#ref6">selected</A></b> (void) 
40
 
</LI>
41
 
<LI>virtual  void &nbsp;<b><A HREF="#ref7">collapse</A></b> (void) 
42
 
</LI>
43
 
<LI>virtual  <A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *&nbsp;<b><A HREF="#ref8">selectedWidget</A></b> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent) 
44
 
</LI>
45
 
<LI>virtual  void &nbsp;<b><A HREF="#ref9">setSelected</A></b> (bool sel) 
46
 
</LI>
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
49
 
 template widget.
50
 
 </p>
51
 
<A NAME="toTemplateItem"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<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.
53
 
</p>
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.
56
 
</TD></TR>
57
 
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of this item.
58
 
</TD></TR>
59
 
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Contents of the first column of the item.
60
 
   </TD></TR>
61
 
</TABLE></P>
62
 
<A NAME="toTemplateItem"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<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.
64
 
</p>
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.
67
 
</TD></TR>
68
 
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Contents of the first column of the item.
69
 
</TD></TR>
70
 
<TR><TD align="left" valign="top"><i>after</i></TD><TD align="left" valign="top">The item to put this item after.
71
 
   </TD></TR>
72
 
</TABLE></P>
73
 
<A NAME="provider"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toTemplateProvider.html">toTemplateProvider</A> &&nbsp;<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.
75
 
</p>
76
 
<p><b>Returns</b>: Reference to provider.
77
 
   </p>
78
 
<A NAME="expand"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<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
80
 
 list when needed.
81
 
   </p>
82
 
<A NAME="selected"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<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.
84
 
   </p>
85
 
<A NAME="collapse"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<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.
87
 
   </p>
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> *&nbsp;<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.
92
 
   </p>
93
 
<A NAME="setSelected"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<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.
95
 
   </p>
96
 
<HR>
97
 
        <table>
98
 
        <tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>
99
 
        </table>
100
 
</BODY>
101
 
</HTML>