Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 977

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KToolBarButton</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 KToolBarButton</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 A toolbar button. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH colspan="2">Internal Use Only</TH></TR><TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="ktoolbarbutton_h.html">ktoolbarbutton.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html">QToolButton</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KToolBarButton.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="#ref1">KToolBarButton</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& icon, int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent,
                 const char *name=0L, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &txt=QString::null,
                 <A HREF="../kdecore/KInstance.html">KInstance</A> *_instance = <A HREF="../kdecore/KGlobal.html#instance">KGlobal::instance</A>()) 
</LI>
<LI>&nbsp;<b><A HREF="#ref2">KToolBarButton</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& pixmap, int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent,
                 const char *name=0L, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &txt=QString::null) 
</LI>
<LI>&nbsp;<b><A HREF="#ref3">KToolBarButton</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0L, const char *name=0L) 
</LI>
<LI>&nbsp;<b><A HREF="#ref4">~KToolBarButton</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref5">setEnabled</A></b> (bool enable = true) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref6">setPixmap</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pixmap) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref7">setPixmap</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pixmap, bool generate) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref8">setDefaultPixmap</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& pixmap) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref9">setDisabledPixmap</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& pixmap) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref10">setText</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &text) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref11">setIcon</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &icon) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref12">setIcon</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &icon, bool generate) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref13">setDefaultIcon</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& icon) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref14">setDisabledIcon</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& icon) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref15">setIconSet</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qiconset.html">QIconSet</A> &iconset, bool on = false ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref16">on</A></b> (bool flag = true) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref17">toggle</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref18">setToggle</A></b> (bool toggle = true) 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *&nbsp;<b><A HREF="#ref19">popup</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref20">setPopup</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *p) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref21">setPopup</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *p, bool toggle) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref22">setDelayedPopup</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *p, bool toggle = false) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref23">setRadio</A></b> (bool f = true) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref24">setNoStyle</A></b> (bool no_style = true) 
</LI>
</ul><h4>Public Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref31">modeChange</A></b> () 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref32">setTextLabel</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>&) 
</LI>
</ul><h4>Signals</h4><ul><LI>void &nbsp;<b><A HREF="#ref25">clicked</A></b> (int) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref26">doubleClicked</A></b> (int) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref27">pressed</A></b> (int) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref28">released</A></b> (int) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref29">toggled</A></b> (int) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref30">highlighted</A></b> (int, bool) 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>void &nbsp;<b><A HREF="#ref33">paletteChange</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpalette.html">QPalette</A> &) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref34">leaveEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *e) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref35">enterEvent</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *e) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref36">drawButton</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpainter.html">QPainter</A> *p) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref37">eventFilter</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *o, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *e) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref38">showMenu</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref39">makeDefaultPixmap</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref40">makeDisabledPixmap</A></b> () 
</LI>
</ul><h4>Protected Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref46">slotClicked</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref47">slotPressed</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref48">slotReleased</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref49">slotToggled</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref50">slotDelayTimeout</A></b> () 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 A toolbar button. This is used internally by <A HREF="KToolBar.html">KToolBar</A>, use the
 KToolBar methods instead.
 </p>
<A NAME="KToolBarButton"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KToolBarButton</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& icon, int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent,
                 const char *name=0L, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &txt=QString::null,
                 <A HREF="../kdecore/KInstance.html">KInstance</A> *_instance = <A HREF="../kdecore/KGlobal.html#instance">KGlobal::instance</A>())
<br></td><td align="right"><h3><strong>KToolBarButton</strong></h3></td></tr></table><p></p><p>
 Construct a button with an icon loaded by the button itself.
 This will trust the button to load the correct icon with the
 correct size.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">Name of icon to load (may be absolute or relative)
</TD></TR>
<TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">Id of this button
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This button's parent
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">This button's internal name
</TD></TR>
<TR><TD align="left" valign="top"><i>txt</i></TD><TD align="left" valign="top">This button's text (in a tooltip or otherwise)
   </TD></TR>
</TABLE></P>
<A NAME="KToolBarButton"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KToolBarButton</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& pixmap, int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent,
                 const char *name=0L, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &txt=QString::null)
<br></td><td align="right"><h3><strong>KToolBarButton</strong></h3></td></tr></table><p></p><p>
 Construct a button with an existing pixmap.  It is not
 recommended that you use this as the internal icon loading code
 will almost always get it "right".
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">Name of icon to load (may be absolute or relative)
</TD></TR>
<TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">Id of this button
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This button's parent
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">This button's internal name
</TD></TR>
<TR><TD align="left" valign="top"><i>txt</i></TD><TD align="left" valign="top">This button's text (in a tooltip or otherwise)
   </TD></TR>
</TABLE></P>
<A NAME="KToolBarButton"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KToolBarButton</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0L, const char *name=0L)
<br></td><td align="right"><h3><strong>KToolBarButton</strong></h3></td></tr></table><p></p><p>
 Construct a separator button
</p>
<p></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">This button's parent
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">This button's internal name
   </TD></TR>
</TABLE></P>
<A NAME="~KToolBarButton"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>~KToolBarButton</strong> ()
<br></td><td align="right"><h3><strong>~KToolBarButton</strong></h3></td></tr></table><p></p><p>
 Standard destructor
   </p>
<A NAME="setEnabled"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setEnabled</strong> (bool enable = true)
<br></td><td align="right"><h3><strong>setEnabled</strong></h3></td></tr></table><p></p><p>
 Enable/Disable this button
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>enable</i></TD><TD align="left" valign="top">Defaults to true
   </TD></TR>
</TABLE></P>
<A NAME="setPixmap"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setPixmap</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pixmap)
<br></td><td align="right"><h3><strong>setPixmap</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Set the pixmap directly for this button.  This pixmap should be
 the active one... the dimmed and disabled pixmaps are constructed
 based on this one.  However, don't use this function unless you
 are positive that you don't want to use <A HREF="KToolBarButton.html#setIcon">setIcon</A>.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pixmap</i></TD><TD align="left" valign="top">The active pixmap
   </TD></TR>
</TABLE></P>
<A NAME="setPixmap"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setPixmap</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &pixmap, bool generate)
<br></td><td align="right"><h3><strong>setPixmap</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Set the pixmap directly for this button.  This pixmap should be
 the active one.. however, the disabled and default pixmaps will
 only be constructed if generate is true.  In any event,
 don't use this function unless you are positive that you don't
 want to use <A HREF="KToolBarButton.html#setIcon">setIcon</A>.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pixmap</i></TD><TD align="left" valign="top">The active pixmap
</TD></TR>
<TR><TD align="left" valign="top"><i>generate</i></TD><TD align="left" valign="top">If true, then the other pixmaps will be
                 automatically generated using configurable effects
   </TD></TR>
</TABLE></P>
<A NAME="setDefaultPixmap"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setDefaultPixmap</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& pixmap)
<br></td><td align="right"><h3><strong>setDefaultPixmap</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Force the button to use this pixmap as the default one rather
 then generating it using effects.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pixmap</i></TD><TD align="left" valign="top">The pixmap to use as the default (normal) one
   </TD></TR>
</TABLE></P>
<A NAME="setDisabledPixmap"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setDisabledPixmap</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A>& pixmap)
<br></td><td align="right"><h3><strong>setDisabledPixmap</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Force the button to use this pixmap when disabled one rather then
 generating it using effects.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pixmap</i></TD><TD align="left" valign="top">The pixmap to use when disabled
   </TD></TR>
</TABLE></P>
<A NAME="setText"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setText</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &text)
<br></td><td align="right"><h3><strong>setText</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Set the text for this button.  The text will be either used as a
 tooltip (IconOnly) or will be along side the icon
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The button (or tooltip) text
   </TD></TR>
</TABLE></P>
<A NAME="setIcon"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setIcon</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &icon)
<br></td><td align="right"><h3><strong>setIcon</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Set the icon for this button.  This icon should be the active
 one... the dimmed and disabled icons are constructed based on
 this one.  The actual pixmap will be loaded internally.  This
 function is preferred over <A HREF="KToolBarButton.html#setPixmap">setPixmap</A>
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">The name of the active pixmap
   </TD></TR>
</TABLE></P>
<A NAME="setIcon"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setIcon</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &icon, bool generate)
<br></td><td align="right"><h3><strong>setIcon</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Set the active icon for this button.  The pixmap itself is loaded
 internally based on the icon size...  .. the disabled and default
 pixmaps, however will only be constructed if generate is
 true.  This function is preferred over <A HREF="KToolBarButton.html#setPixmap">setPixmap</A>
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">The name of the active icon
</TD></TR>
<TR><TD align="left" valign="top"><i>generate</i></TD><TD align="left" valign="top">If true, then the other icons are automagically
                 generated from this one
   </TD></TR>
</TABLE></P>
<A NAME="setDefaultIcon"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setDefaultIcon</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& icon)
<br></td><td align="right"><h3><strong>setDefaultIcon</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Force the button to use this icon as the default one rather
 then generating it using effects.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">The icon to use as the default (normal) one
   </TD></TR>
</TABLE></P>
<A NAME="setDisabledIcon"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setDisabledIcon</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& icon)
<br></td><td align="right"><h3><strong>setDisabledIcon</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Force the button to use this icon when disabled one rather then
 generating it using effects.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">The icon to use when disabled
   </TD></TR>
</TABLE></P>
<A NAME="setIconSet"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setIconSet</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qiconset.html">QIconSet</A> &iconset, bool on = false )
<br></td><td align="right"><h3><strong>setIconSet</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Set the pixmaps for this toolbar button from a QIconSet.
 If you call this you don't need to call any of the other methods
 that set icons or pixmaps.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>iconset</i></TD><TD align="left" valign="top">The iconset to use
</TD></TR>
<TR><TD align="left" valign="top"><i>on</i></TD><TD align="left" valign="top">Unused. This is for compatibility with the Qt API.
   </TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#69f6e6">QToolButton</A>.</p>
<A NAME="on"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>on</strong> (bool flag = true)
<br></td><td align="right"><h3><strong>on</strong></h3></td></tr></table><p></p><p>
 Turn this button on or off
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>flag</i></TD><TD align="left" valign="top">true or false
   </TD></TR>
</TABLE></P>
<A NAME="toggle"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toggle</strong> ()
<br></td><td align="right"><h3><strong>toggle</strong></h3></td></tr></table><p></p><p>
 Toggle this button
   </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#794904">QToolButton</A>.</p>
<A NAME="setToggle"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setToggle</strong> (bool toggle = true)
<br></td><td align="right"><h3><strong>setToggle</strong></h3></td></tr></table><p></p><p>
 Turn this button into a toggle button or disable the toggle
 aspects of it.  This does not toggle the button itself.  Use <A HREF="KToolBarButton.html#toggle">toggle</A> for that.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>toggle</i></TD><TD align="left" valign="top">true or false
   </TD></TR>
</TABLE></P>
<A NAME="popup"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *&nbsp;<strong>popup</strong> ()
<br></td><td align="right"><h3><strong>popup</strong></h3></td></tr></table><p></p><p>
 Return a pointer to this button's popup menu (if it exists)
   </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#9d7556">QToolButton</A>.</p>
<A NAME="setPopup"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setPopup</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *p)
<br></td><td align="right"><h3><strong>setPopup</strong></h3></td></tr></table><p></p><p>
 Give this button a popup menu.  There will not be a delay when
 you press the button.  Use <A HREF="KToolBarButton.html#setDelayedPopup">setDelayedPopup</A> if you want that
 behavior
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>p</i></TD><TD align="left" valign="top">The new popup menu
   </TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#da1160">QToolButton</A>.</p>
<A NAME="setPopup"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setPopup</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *p, bool toggle)
<br></td><td align="right"><h3><strong>setPopup</strong></h3></td></tr></table><p></p><p>
 See <A HREF="KToolBarButton.html#setDelayedPopup">setDelayedPopup</A> for a description of toggle
   </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#da1160">QToolButton</A>.</p>
<A NAME="setDelayedPopup"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setDelayedPopup</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *p, bool toggle = false)
<br></td><td align="right"><h3><strong>setDelayedPopup</strong></h3></td></tr></table><p></p><p>
 Gives this button a delayed popup menu.
</p>
<p> This function allows you to add a delayed popup menu to the button.
 The popup menu is then only displayed when the button is pressed and
 held down for about half a second.  You can also make the poup-menu
 "sticky", i.e. visible until a selection is made or the mouse is
 clikced elsewhere, by simply setting the second argument to true.
 This "sticky" button feature allows you to make a selection without
 having to press and hold down the mouse while making a selection.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>p</i></TD><TD align="left" valign="top">the new popup menu
</TD></TR>
<TR><TD align="left" valign="top"><i>toggle</i></TD><TD align="left" valign="top">if true, makes the button "sticky" (toggled)
   </TD></TR>
</TABLE></P>
<A NAME="setRadio"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setRadio</strong> (bool f = true)
<br></td><td align="right"><h3><strong>setRadio</strong></h3></td></tr></table><p></p><p>
 Turn this button into a radio button
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>f</i></TD><TD align="left" valign="top">true or false
   </TD></TR>
</TABLE></P>
<A NAME="setNoStyle"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setNoStyle</strong> (bool no_style = true)
<br></td><td align="right"><h3><strong>setNoStyle</strong></h3></td></tr></table><p></p><p>
 Toolbar buttons naturally will assume the global styles
 concerning icons, icons sizes, etc.  You can use this function to
 explicitely turn this off, if you like.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>no_style</i></TD><TD align="left" valign="top">Will disable styles if true
   </TD></TR>
</TABLE></P>
<A NAME="clicked"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>clicked</strong> (int)
<br></td><td align="right"><h3><strong>clicked</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="doubleClicked"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>doubleClicked</strong> (int)
<br></td><td align="right"><h3><strong>doubleClicked</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="pressed"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>pressed</strong> (int)
<br></td><td align="right"><h3><strong>pressed</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="released"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>released</strong> (int)
<br></td><td align="right"><h3><strong>released</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="toggled"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toggled</strong> (int)
<br></td><td align="right"><h3><strong>toggled</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="highlighted"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>highlighted</strong> (int, bool)
<br></td><td align="right"><h3><strong>highlighted</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="modeChange"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>modeChange</strong> ()
<br></td><td align="right"><h3><strong>modeChange</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 This slot should be called whenever the toolbar mode has
 potentially changed.  This includes such events as text changing,
 orientation changing, etc.
   </p>
<A NAME="setTextLabel"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setTextLabel</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>&)
<br></td><td align="right"><h3><strong>setTextLabel</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#a66bc9">QToolButton</A>.</p>
<A NAME="paletteChange"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>paletteChange</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpalette.html">QPalette</A> &)
<br></td><td align="right"><h3><strong>paletteChange</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="leaveEvent"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>leaveEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *e)
<br></td><td align="right"><h3><strong>leaveEvent</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#eceaab">QToolButton</A>.</p>
<A NAME="enterEvent"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>enterEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *e)
<br></td><td align="right"><h3><strong>enterEvent</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#ca582c">QToolButton</A>.</p>
<A NAME="drawButton"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>drawButton</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpainter.html">QPainter</A> *p)
<br></td><td align="right"><h3><strong>drawButton</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtoolbutton.html#d1f903">QToolButton</A>.</p>
<A NAME="eventFilter"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>eventFilter</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *o, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *e)
<br></td><td align="right"><h3><strong>eventFilter</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="showMenu"></A><A NAME="ref38"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>showMenu</strong> ()
<br></td><td align="right"><h3><strong>showMenu</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="makeDefaultPixmap"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>makeDefaultPixmap</strong> ()
<br></td><td align="right"><h3><strong>makeDefaultPixmap</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="makeDisabledPixmap"></A><A NAME="ref40"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>makeDisabledPixmap</strong> ()
<br></td><td align="right"><h3><strong>makeDisabledPixmap</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="slotClicked"></A><A NAME="ref46"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotClicked</strong> ()
<br></td><td align="right"><h3><strong>slotClicked</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="slotPressed"></A><A NAME="ref47"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotPressed</strong> ()
<br></td><td align="right"><h3><strong>slotPressed</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="slotReleased"></A><A NAME="ref48"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotReleased</strong> ()
<br></td><td align="right"><h3><strong>slotReleased</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="slotToggled"></A><A NAME="ref49"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotToggled</strong> ()
<br></td><td align="right"><h3><strong>slotToggled</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="slotDelayTimeout"></A><A NAME="ref50"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotDelayTimeout</strong> ()
<br></td><td align="right"><h3><strong>slotDelayTimeout</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>