Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 3480

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kdeui: KPassivePopup Class Reference (kdeui)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">kdeui</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<div class="title">KPassivePopup Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KPassivePopup" --><!-- doxytag: inherits="QFrame" -->
<p>A dialog-like popup that displays messages without interupting the user.  
 <a href="classKPassivePopup.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KPassivePopup:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKPassivePopup.png" usemap="#KPassivePopup_map" alt=""/>
  <map id="KPassivePopup_map" name="KPassivePopup_map">
<area href="qframe.html" alt="QFrame" shape="rect" coords="0,0,100,24"/>
</map>
 </div></div>

<p><a href="classKPassivePopup-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ab601e81f84f0eee5b22f11f9b35d3b10">PopupStyle</a> { <a class="el" href="classKPassivePopup.html#ab601e81f84f0eee5b22f11f9b35d3b10a5967c51584652b06b8f300a7e316cef6">Boxed</a>, 
<a class="el" href="classKPassivePopup.html#ab601e81f84f0eee5b22f11f9b35d3b10aec76a5c8b0350390bc042b0dd0d3b9e9">Balloon</a>, 
<a class="el" href="classKPassivePopup.html#ab601e81f84f0eee5b22f11f9b35d3b10a3e794f8178d731af26bf7132ad6e50a3">CustomStyle</a> = 128
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a23969439de8e2a6a5ea54c06e22f907e">setTimeout</a> (int delay)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ab99878c4327f28994804e71274d909f9">show</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a55c6fdadeab7be0e6d3588006c8a7dc0">show</a> (const <a class="elRef" href="qpoint.html">QPoint</a> &amp;p)</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ac828ba59677ea9183f9c7c05445d2136">clicked</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a250cc271170583e0505f13132ff02e2d">clicked</a> (<a class="elRef" href="qpoint.html">QPoint</a> pos)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ab15ced94489745f22ca1b6ac3891c335">KPassivePopup</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const char *name=0, WFlags f=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#acf1da64da9cf7382da477515474dd278">KPassivePopup</a> (WId parent, const char *name=0, WFlags f=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a24a2685514de1336b09808a3b15713bc">KPassivePopup</a> (int popupStyle, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const char *name=0, WFlags f=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a9d3dbcf3308df523f14cc4afc8a37119">KPassivePopup</a> (int popupStyle, WId parent, const char *name=0, WFlags f=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a35172064c7f775c7ff0d12a02d73e73c">~KPassivePopup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa">setView</a> (<a class="elRef" href="qwidget.html">QWidget</a> *child)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#aa838b2144c7601e7de9f0db209c39754">setView</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#aeb555f89ff6d6aced18a4a286d6ff537">setView</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;icon)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qvbox.html">QVBox</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ad5ca0d646be539914aa7db82052b167c">standardView</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;icon, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0L)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ae94b9a09aaeb132620fc467a91848966">view</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#adcbbcef0b9dbdc77facc385b5a881b8f">timeout</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa">setAutoDelete</a> (bool autoDelete)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a8aced59e1c01e7215d641a768bd3dc40">autoDelete</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a8ea02c62793b8929c4617982dae96a4c">setAnchor</a> (const <a class="elRef" href="qpoint.html">QPoint</a> &amp;anchor)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a789b17974efe36090afebc7ea5520f7f">message</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;text, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ab98ee0412628693764cde0c7e7501524">message</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a42fde01f0f79c00f5d5d1e742fd205f0">message</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;icon, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0, int timeout=-1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a711014e8d0740b0b47648a8f72fd0d1d">message</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;icon, WId parent, const char *name=0, int timeout=-1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a3be3fe49b07415df750e268acd42bc4c">message</a> (int popupStyle, const <a class="elRef" href="qstring.html">QString</a> &amp;text, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ae93a5efc7ef15e51dad33178e614d9de">message</a> (int popupStyle, const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a55b492abf4c326f86cc54da690bf4b77">message</a> (int popupStyle, const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;icon, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0, int timeout=-1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKPassivePopup.html">KPassivePopup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ab1b90f9f75dbeb5d7f0062a8342d4bd3">message</a> (int popupStyle, const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;icon, WId parent, const char *name=0, int timeout=-1)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a8763f6829327b32abee0ed0d79e0eb4c">positionSelf</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a6a53995ae703451e2cce1230db8737ec">hideEvent</a> (<a class="elRef" href="qhideevent.html">QHideEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a17f3d9d4e829c5046621ebed73597507">moveNear</a> (<a class="elRef" href="qrect.html">QRect</a> target)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#add661014f9ae551e45d738f3603a5e23">mouseReleaseEvent</a> (<a class="elRef" href="qmouseevent.html">QMouseEvent</a> *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qrect.html">QRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#ad1906e1e21bf50daae74f53557aeb1b2">defaultArea</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#aa11104e242974c965eec52b9ca3a54e7">updateMask</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPassivePopup.html#a5d318eab218593dfcb83f5e129168cf6">paintEvent</a> (<a class="elRef" href="qpaintevent.html">QPaintEvent</a> *pe)</td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8aee3e967eb7b225fb1cc528c7773c6"></a><!-- doxytag: member="KPassivePopup::autoDelete" ref="ad8aee3e967eb7b225fb1cc528c7773c6" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoDelete</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7956b8dd0c11481fa40177eb24dea743"></a><!-- doxytag: member="KPassivePopup::timeout" ref="a7956b8dd0c11481fa40177eb24dea743" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>timeout</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A dialog-like popup that displays messages without interupting the user. </p>
<p>The simplest uses of <a class="el" href="classKPassivePopup.html" title="A dialog-like popup that displays messages without interupting the user.">KPassivePopup</a> are by using the various <a class="el" href="classKPassivePopup.html#a789b17974efe36090afebc7ea5520f7f" title="Convenience method that displays popup with the specified message beside the icon of the specified wi...">message()</a> static methods. The position the popup appears at depends on the type of the parent window:</p>
<ul>
<li>Normal Windows: The popup is placed adjacent to the icon of the window. </li>
<li>System Tray Windows: The popup is placed adjact to the system tray window itself. </li>
<li>Skip Taskbar Windows: The popup is placed adjact to the window itself if it is visible, and at the edge of the desktop otherwise.</li>
</ul>
<p>You also have the option of calling show with a <a class="elRef" href="qpoint.html">QPoint</a> as a parameter that removes the automatic placing of <a class="el" href="classKPassivePopup.html" title="A dialog-like popup that displays messages without interupting the user.">KPassivePopup</a> and shows it in the point you want.</p>
<p>The most basic use of <a class="el" href="classKPassivePopup.html" title="A dialog-like popup that displays messages without interupting the user.">KPassivePopup</a> displays a popup containing a piece of text: </p>
<div class="fragment"><pre class="fragment">    <a class="code" href="classKPassivePopup.html#a789b17974efe36090afebc7ea5520f7f" title="Convenience method that displays popup with the specified message beside the icon of the specified wi...">KPassivePopup::message</a>( <span class="stringliteral">&quot;This is the message&quot;</span>, <span class="keyword">this</span> );
</pre></div><p> We can create popups with titles and icons too, as this example shows: </p>
<div class="fragment"><pre class="fragment">    <a class="codeRef" href="qpixmap.html">QPixmap</a> px;
    px.<a class="codeRef" href="qpixmap.html#load">load</a>( <span class="stringliteral">&quot;hi32-app-logtracker.png&quot;</span> );
    <a class="code" href="classKPassivePopup.html#a789b17974efe36090afebc7ea5520f7f" title="Convenience method that displays popup with the specified message beside the icon of the specified wi...">KPassivePopup::message</a>( <span class="stringliteral">&quot;Some title&quot;</span>, <span class="stringliteral">&quot;This is the main text&quot;</span>, px, <span class="keyword">this</span> );
</pre></div><p> For more control over the popup, you can use the <a class="el" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa" title="Sets the main view to be the specified widget (which must be a child of the popup).">setView(QWidget *)</a> method to create a custom popup. </p>
<div class="fragment"><pre class="fragment">    <a class="code" href="classKPassivePopup.html" title="A dialog-like popup that displays messages without interupting the user.">KPassivePopup</a> *pop = <span class="keyword">new</span> <a class="code" href="classKPassivePopup.html#ab15ced94489745f22ca1b6ac3891c335" title="Creates a popup for the specified widget.">KPassivePopup</a>( parent );

    <a class="codeRef" href="qvbox.html">QVBox</a> *vb = <span class="keyword">new</span> <a class="codeRef" href="qvbox.html">QVBox</a>( pop );
    (void) <span class="keyword">new</span> <a class="codeRef" href="qlabel.html">QLabel</a>( vb, <span class="stringliteral">&quot;&lt;b&gt;Isn&#39;t this great?&lt;/b&gt;&quot;</span> );

    <a class="codeRef" href="qhbox.html">QHBox</a> *box = <span class="keyword">new</span> <a class="codeRef" href="qhbox.html">QHBox</a>( vb );
    (void) <span class="keyword">new</span> <a class="codeRef" href="qpushbutton.html">QPushButton</a>( box, <span class="stringliteral">&quot;Yes&quot;</span> );
    (void) <span class="keyword">new</span> <a class="codeRef" href="qpushbutton.html">QPushButton</a>( box, <span class="stringliteral">&quot;No&quot;</span> );

    pop-&gt;<a class="code" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa" title="Sets the main view to be the specified widget (which must be a child of the popup).">setView</a>( vb );
    pop-&gt;<a class="code" href="classKPassivePopup.html#ab99878c4327f28994804e71274d909f9" title="Reimplemented to reposition the popup.">show</a>();
</pre></div><dl class="version"><dt><b>Version:</b></dt><dd></dd></dl>
<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a> 428049 2005-06-22 21:24:17Z aacid </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Richard Moore, <a href="mailto:rich@kde.org">rich@kde.org</a> </dd>
<dd>
Sascha Cunz, <a href="mailto:sascha.cunz@tiscali.de">sascha.cunz@tiscali.de</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8h_source.html#l00068">68</a> of file <a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="ab601e81f84f0eee5b22f11f9b35d3b10"></a><!-- doxytag: member="KPassivePopup::PopupStyle" ref="ab601e81f84f0eee5b22f11f9b35d3b10" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKPassivePopup.html#ab601e81f84f0eee5b22f11f9b35d3b10">KPassivePopup::PopupStyle</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Styles that a <a class="el" href="classKPassivePopup.html" title="A dialog-like popup that displays messages without interupting the user.">KPassivePopup</a> can have. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ab601e81f84f0eee5b22f11f9b35d3b10a5967c51584652b06b8f300a7e316cef6"></a><!-- doxytag: member="Boxed" ref="ab601e81f84f0eee5b22f11f9b35d3b10a5967c51584652b06b8f300a7e316cef6" args="" -->Boxed</em>&nbsp;</td><td>
<p>Information will appear in a framed box (default) </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab601e81f84f0eee5b22f11f9b35d3b10aec76a5c8b0350390bc042b0dd0d3b9e9"></a><!-- doxytag: member="Balloon" ref="ab601e81f84f0eee5b22f11f9b35d3b10aec76a5c8b0350390bc042b0dd0d3b9e9" args="" -->Balloon</em>&nbsp;</td><td>
<p>Information will appear in a comic-alike balloon. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab601e81f84f0eee5b22f11f9b35d3b10a3e794f8178d731af26bf7132ad6e50a3"></a><!-- doxytag: member="CustomStyle" ref="ab601e81f84f0eee5b22f11f9b35d3b10a3e794f8178d731af26bf7132ad6e50a3" args="" -->CustomStyle</em>&nbsp;</td><td>
<p>Ids greater than this are reserved for use by subclasses. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kpassivepopup_8h_source.html#l00079">79</a> of file <a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab15ced94489745f22ca1b6ac3891c335"></a><!-- doxytag: member="KPassivePopup::KPassivePopup" ref="ab15ced94489745f22ca1b6ac3891c335" args="(QWidget *parent=0, const char *name=0, WFlags f=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPassivePopup::KPassivePopup </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&#160;</td>
          <td class="paramname"><em>f</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a popup for the specified widget. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00049">49</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acf1da64da9cf7382da477515474dd278"></a><!-- doxytag: member="KPassivePopup::KPassivePopup" ref="acf1da64da9cf7382da477515474dd278" args="(WId parent, const char *name=0, WFlags f=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPassivePopup::KPassivePopup </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&#160;</td>
          <td class="paramname"><em>f</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a popup for the specified window. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00058">58</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a24a2685514de1336b09808a3b15713bc"></a><!-- doxytag: member="KPassivePopup::KPassivePopup" ref="a24a2685514de1336b09808a3b15713bc" args="(int popupStyle, QWidget *parent=0, const char *name=0, WFlags f=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPassivePopup::KPassivePopup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>popupStyle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&#160;</td>
          <td class="paramname"><em>f</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a popup for the specified widget. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00067">67</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9d3dbcf3308df523f14cc4afc8a37119"></a><!-- doxytag: member="KPassivePopup::KPassivePopup" ref="a9d3dbcf3308df523f14cc4afc8a37119" args="(int popupStyle, WId parent, const char *name=0, WFlags f=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPassivePopup::KPassivePopup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>popupStyle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&#160;</td>
          <td class="paramname"><em>f</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a popup for the specified window. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00076">76</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a35172064c7f775c7ff0d12a02d73e73c"></a><!-- doxytag: member="KPassivePopup::~KPassivePopup" ref="a35172064c7f775c7ff0d12a02d73e73c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPassivePopup::~KPassivePopup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cleans up. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00103">103</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8aced59e1c01e7215d641a768bd3dc40"></a><!-- doxytag: member="KPassivePopup::autoDelete" ref="a8aced59e1c01e7215d641a768bd3dc40" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KPassivePopup::autoDelete </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the widget auto-deletes itself when the timeout occurs. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8h_source.html#l00173">173</a> of file <a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac828ba59677ea9183f9c7c05445d2136"></a><!-- doxytag: member="KPassivePopup::clicked" ref="ac828ba59677ea9183f9c7c05445d2136" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::clicked </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the popup is clicked. </p>

</div>
</div>
<a class="anchor" id="a250cc271170583e0505f13132ff02e2d"></a><!-- doxytag: member="KPassivePopup::clicked" ref="a250cc271170583e0505f13132ff02e2d" args="(QPoint pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::clicked </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qpoint.html">QPoint</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the popup is clicked. </p>

</div>
</div>
<a class="anchor" id="ad1906e1e21bf50daae74f53557aeb1b2"></a><!-- doxytag: member="KPassivePopup::defaultArea" ref="ad1906e1e21bf50daae74f53557aeb1b2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qrect.html">QRect</a> KPassivePopup::defaultArea </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If no relative window (eg taskbar button, system tray window) is available, use this rectangle (pass it to <a class="el" href="classKPassivePopup.html#a17f3d9d4e829c5046621ebed73597507" title="Moves the popup to be adjacent to the icon of the specified rectangle.">moveNear()</a>). </p>
<p>Basically <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKWinModule.html#a4fef713d2fa88161fe9a091b4ce0c652">KWinModule::workArea()</a> with width and height set to 0 so that moveNear uses the upper-left position. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="elRef" href="qrect.html">QRect</a> to be passed to <a class="el" href="classKPassivePopup.html#a17f3d9d4e829c5046621ebed73597507" title="Moves the popup to be adjacent to the icon of the specified rectangle.">moveNear()</a> if no other is available. </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00233">233</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6a53995ae703451e2cce1230db8737ec"></a><!-- doxytag: member="KPassivePopup::hideEvent" ref="a6a53995ae703451e2cce1230db8737ec" args="(QHideEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::hideEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qhideevent.html">QHideEvent</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented to destroy the object when autoDelete() is enabled. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00226">226</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a55b492abf4c326f86cc54da690bf4b77"></a><!-- doxytag: member="KPassivePopup::message" ref="a55b492abf4c326f86cc54da690bf4b77" args="(int popupStyle, const QString &amp;caption, const QString &amp;text, const QPixmap &amp;icon, QWidget *parent, const char *name=0, int timeout=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>popupStyle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;&#160;</td>
          <td class="paramname"><em>icon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeout</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified widget. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00460">460</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab1b90f9f75dbeb5d7f0062a8342d4bd3"></a><!-- doxytag: member="KPassivePopup::message" ref="ab1b90f9f75dbeb5d7f0062a8342d4bd3" args="(int popupStyle, const QString &amp;caption, const QString &amp;text, const QPixmap &amp;icon, WId parent, const char *name=0, int timeout=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>popupStyle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;&#160;</td>
          <td class="paramname"><em>icon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeout</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified window. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00484">484</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab98ee0412628693764cde0c7e7501524"></a><!-- doxytag: member="KPassivePopup::message" ref="ab98ee0412628693764cde0c7e7501524" args="(const QString &amp;caption, const QString &amp;text, QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified caption and message beside the icon of the specified widget. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00448">448</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a789b17974efe36090afebc7ea5520f7f"></a><!-- doxytag: member="KPassivePopup::message" ref="a789b17974efe36090afebc7ea5520f7f" args="(const QString &amp;text, QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified message beside the icon of the specified widget. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00443">443</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a711014e8d0740b0b47648a8f72fd0d1d"></a><!-- doxytag: member="KPassivePopup::message" ref="a711014e8d0740b0b47648a8f72fd0d1d" args="(const QString &amp;caption, const QString &amp;text, const QPixmap &amp;icon, WId parent, const char *name=0, int timeout=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;&#160;</td>
          <td class="paramname"><em>icon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeout</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified window. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00454">454</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a42fde01f0f79c00f5d5d1e742fd205f0"></a><!-- doxytag: member="KPassivePopup::message" ref="a42fde01f0f79c00f5d5d1e742fd205f0" args="(const QString &amp;caption, const QString &amp;text, const QPixmap &amp;icon, QWidget *parent, const char *name=0, int timeout=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;&#160;</td>
          <td class="paramname"><em>icon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeout</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified widget. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00436">436</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3be3fe49b07415df750e268acd42bc4c"></a><!-- doxytag: member="KPassivePopup::message" ref="a3be3fe49b07415df750e268acd42bc4c" args="(int popupStyle, const QString &amp;text, QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>popupStyle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified popup-style and message beside the icon of the specified widget. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00473">473</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae93a5efc7ef15e51dad33178e614d9de"></a><!-- doxytag: member="KPassivePopup::message" ref="ae93a5efc7ef15e51dad33178e614d9de" args="(int popupStyle, const QString &amp;caption, const QString &amp;text, QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPassivePopup.html">KPassivePopup</a> * KPassivePopup::message </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>popupStyle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method that displays popup with the specified popup-style, caption and message beside the icon of the specified widget. </p>
<p>Note that the returned object is destroyed when it is hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#a6e0685fff0e50e91a1051463b4d043aa" title="Enables / disables auto-deletion of this widget when the timeout occurs.">setAutoDelete</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00478">478</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="add661014f9ae551e45d738f3603a5e23"></a><!-- doxytag: member="KPassivePopup::mouseReleaseEvent" ref="add661014f9ae551e45d738f3603a5e23" args="(QMouseEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::mouseReleaseEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qmouseevent.html">QMouseEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented to detect mouse clicks. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00185">185</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a17f3d9d4e829c5046621ebed73597507"></a><!-- doxytag: member="KPassivePopup::moveNear" ref="a17f3d9d4e829c5046621ebed73597507" args="(QRect target)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::moveNear </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qrect.html">QRect</a>&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Moves the popup to be adjacent to the icon of the specified rectangle. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00294">294</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5d318eab218593dfcb83f5e129168cf6"></a><!-- doxytag: member="KPassivePopup::paintEvent" ref="a5d318eab218593dfcb83f5e129168cf6" args="(QPaintEvent *pe)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::paintEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qpaintevent.html">QPaintEvent</a> *&#160;</td>
          <td class="paramname"><em>pe</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Overwrite to paint the border when PopupStyle == Balloon. </p>
<p>Unused if PopupStyle == Boxed </p>

<p>Reimplemented from <a class="elRef" href="qframe.html#paintEvent">QFrame</a>.</p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00346">346</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8763f6829327b32abee0ed0d79e0eb4c"></a><!-- doxytag: member="KPassivePopup::positionSelf" ref="a8763f6829327b32abee0ed0d79e0eb4c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::positionSelf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method positions the popup. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00253">253</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8ea02c62793b8929c4617982dae96a4c"></a><!-- doxytag: member="KPassivePopup::setAnchor" ref="a8ea02c62793b8929c4617982dae96a4c" args="(const QPoint &amp;anchor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::setAnchor </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qpoint.html">QPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>anchor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the anchor of this balloon. </p>
<p>The balloon tries automatically to adjust itself somehow around the point. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00340">340</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6e0685fff0e50e91a1051463b4d043aa"></a><!-- doxytag: member="KPassivePopup::setAutoDelete" ref="a6e0685fff0e50e91a1051463b4d043aa" args="(bool autoDelete)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::setAutoDelete </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>autoDelete</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables / disables auto-deletion of this widget when the timeout occurs. </p>
<p>The default is false. If you use the class-methods <a class="el" href="classKPassivePopup.html#a789b17974efe36090afebc7ea5520f7f" title="Convenience method that displays popup with the specified message beside the icon of the specified wi...">message()</a>, auto-delection is turned on by default. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00180">180</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a23969439de8e2a6a5ea54c06e22f907e"></a><!-- doxytag: member="KPassivePopup::setTimeout" ref="a23969439de8e2a6a5ea54c06e22f907e" args="(int delay)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::setTimeout </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>delay</em></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the delay for the popup is removed automatically. </p>
<p>Setting the delay to 0 disables the timeout, if you're doing this, you may want to connect the <a class="el" href="classKPassivePopup.html#ac828ba59677ea9183f9c7c05445d2136" title="Emitted when the popup is clicked.">clicked()</a> signal to the hide() slot. Setting the delay to -1 makes it use the default value.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>timeout </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00167">167</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeb555f89ff6d6aced18a4a286d6ff537"></a><!-- doxytag: member="KPassivePopup::setView" ref="aeb555f89ff6d6aced18a4a286d6ff537" args="(const QString &amp;caption, const QString &amp;text, const QPixmap &amp;icon)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::setView </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;&#160;</td>
          <td class="paramname"><em>icon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a standard view then calls <a class="el" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa" title="Sets the main view to be the specified widget (which must be a child of the popup).">setView(QWidget*)</a> . </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00119">119</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa838b2144c7601e7de9f0db209c39754"></a><!-- doxytag: member="KPassivePopup::setView" ref="aa838b2144c7601e7de9f0db209c39754" args="(const QString &amp;caption, const QString &amp;text=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::setView </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a standard view then calls <a class="el" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa" title="Sets the main view to be the specified widget (which must be a child of the popup).">setView(QWidget*)</a> . </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00162">162</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae6b4e592ed66952a358ed0dc3c9e3aaa"></a><!-- doxytag: member="KPassivePopup::setView" ref="ae6b4e592ed66952a358ed0dc3c9e3aaa" args="(QWidget *child)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::setView </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>child</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the main view to be the specified widget (which must be a child of the popup). </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00108">108</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a55c6fdadeab7be0e6d3588006c8a7dc0"></a><!-- doxytag: member="KPassivePopup::show" ref="a55c6fdadeab7be0e6d3588006c8a7dc0" args="(const QPoint &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::show </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qpoint.html">QPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Shows the popup in the given point. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00220">220</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab99878c4327f28994804e71274d909f9"></a><!-- doxytag: member="KPassivePopup::show" ref="ab99878c4327f28994804e71274d909f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::show </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented to reposition the popup. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00195">195</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad5ca0d646be539914aa7db82052b167c"></a><!-- doxytag: member="KPassivePopup::standardView" ref="ad5ca0d646be539914aa7db82052b167c" args="(const QString &amp;caption, const QString &amp;text, const QPixmap &amp;icon, QWidget *parent=0L)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qvbox.html">QVBox</a> * KPassivePopup::standardView </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;&#160;</td>
          <td class="paramname"><em>icon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0L</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a widget that is used as standard view if one of the <a class="el" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa" title="Sets the main view to be the specified widget (which must be a child of the popup).">setView()</a> methods taking the <a class="elRef" href="qstring.html">QString</a> arguments is used. </p>
<p>You can use the returned widget to customize the passivepopup while keeping the look similar to the "standard" passivepopups.</p>
<p>After customizing the widget, pass it to <a class="el" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa" title="Sets the main view to be the specified widget (which must be a child of the popup).">setView( QWidget* )</a></p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">caption</td><td>The window caption (title) on the popup </td></tr>
    <tr><td class="paramname">text</td><td>The text for the popup </td></tr>
    <tr><td class="paramname">icon</td><td>The icon to use for the popup </td></tr>
    <tr><td class="paramname">parent</td><td>The parent widget used for the returned <a class="elRef" href="qvbox.html">QVBox</a>. If left 0L, then "this", i.e. the passive popup object will be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a <a class="elRef" href="qvbox.html">QVBox</a> containing the given arguments, looking like the standard passivepopups. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKPassivePopup.html#ae6b4e592ed66952a358ed0dc3c9e3aaa" title="Sets the main view to be the specified widget (which must be a child of the popup).">setView( QWidget * )</a> </dd>
<dd>
<a class="el" href="classKPassivePopup.html#aa838b2144c7601e7de9f0db209c39754" title="Creates a standard view then calls setView(QWidget*) .">setView( const QString&amp;, const QString&amp; )</a> </dd>
<dd>
<a class="el" href="classKPassivePopup.html#aeb555f89ff6d6aced18a4a286d6ff537" title="Creates a standard view then calls setView(QWidget*) .">setView( const QString&amp;, const QString&amp;, const QPixmap&amp; )</a> </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00126">126</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adcbbcef0b9dbdc77facc385b5a881b8f"></a><!-- doxytag: member="KPassivePopup::timeout" ref="adcbbcef0b9dbdc77facc385b5a881b8f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KPassivePopup::timeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the delay before the popup is removed automatically. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8h_source.html#l00159">159</a> of file <a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa11104e242974c965eec52b9ca3a54e7"></a><!-- doxytag: member="KPassivePopup::updateMask" ref="aa11104e242974c965eec52b9ca3a54e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPassivePopup::updateMask </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates the transparency mask. </p>
<p>Unused if PopupStyle == Boxed </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

<p>Definition at line <a class="el" href="kpassivepopup_8cpp_source.html#l00357">357</a> of file <a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae94b9a09aaeb132620fc467a91848966"></a><!-- doxytag: member="KPassivePopup::view" ref="ae94b9a09aaeb132620fc467a91848966" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qwidget.html">QWidget</a>* KPassivePopup::view </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the main view. </p>

<p>Definition at line <a class="el" href="kpassivepopup_8h_source.html#l00154">154</a> of file <a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kpassivepopup_8h_source.html">kpassivepopup.h</a></li>
<li><a class="el" href="kpassivepopup_8cpp_source.html">kpassivepopup.cpp</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kdeui</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKAboutApplication.html">kaboutapplication</option>,  <option value="classKAboutContainer.html">kaboutcontainer</option>,  <option value="classKAboutContainerBase.html">kaboutcontainerbase</option>,  <option value="classKAboutContributor.html">kaboutcontributor</option>,  <option value="classKAboutDialog.html">kaboutdialog</option>,  <option value="classKAboutKDE.html">kaboutkde</option>,  <option value="classKAboutWidget.html">kaboutwidget</option>,  <option value="classKAccelGen_1_1Deref.html">kaccelgen::deref</option>,  <option value="classKAccelGen_1_1Deref__Key.html">kaccelgen::deref__key</option>,  <option value="classKAction.html">kaction</option>,  <option value="classKActionCollection.html">kactioncollection</option>,  <option value="classKActionMenu.html">kactionmenu</option>,  <option value="classKActionSelector.html">kactionselector</option>,  <option value="classKActiveLabel.html">kactivelabel</option>,  <option value="classKAnimWidget.html">kanimwidget</option>,  <option value="classKArrowButton.html">karrowbutton</option>,  <option value="classKAuthIcon.html">kauthicon</option>,  <option value="classKBugReport.html">kbugreport</option>,  <option value="classKButtonBox.html">kbuttonbox</option>,  <option value="classKCharSelect.html">kcharselect</option>,  <option value="classKCharSelectTable.html">kcharselecttable</option>,  <option value="classKCModule.html">kcmodule</option>,  <option value="classKColor.html">kcolor</option>,  <option value="classKColorButton.html">kcolorbutton</option>,  <option value="classKColorCells.html">kcolorcells</option>,  <option value="classKColorCombo.html">kcolorcombo</option>,  <option value="classKColorDialog.html">kcolordialog</option>,  <option value="classKColorDrag.html">kcolordrag</option>,  <option value="classKColorPatch.html">kcolorpatch</option>,  <option value="classKComboBox.html">kcombobox</option>,  <option value="classKCommand.html">kcommand</option>,  <option value="classKCommandHistory.html">kcommandhistory</option>,  <option value="classKCompletionBox.html">kcompletionbox</option>,  <option value="classKConfigDialog.html">kconfigdialog</option>,  <option value="classKContextMenuManager.html">kcontextmenumanager</option>,  <option value="classKCursor.html">kcursor</option>,  <option value="classKCursorPrivate.html">kcursorprivate</option>,  <option value="classKCursorPrivateAutoHideEventFilter.html">kcursorprivateautohideeventfilter</option>,  <option value="classKDateInternalMonthPicker.html">kdateinternalmonthpicker</option>,  <option value="classKDateInternalWeekSelector.html">kdateinternalweekselector</option>,  <option value="classKDateInternalYearSelector.html">kdateinternalyearselector</option>,  <option value="classKDatePicker.html">kdatepicker</option>,  <option value="classKDateTable.html">kdatetable</option>,  <option value="classKDateTimeWidget.html">kdatetimewidget</option>,  <option value="classKDateValidator.html">kdatevalidator</option>,  <option value="classKDateWidget.html">kdatewidget</option>,  <option value="classKDCOPActionProxy.html">kdcopactionproxy</option>,  <option value="classKDEPrivate_1_1ToolBarHandler.html">kdeprivate::toolbarhandler</option>,  <option value="classKDialog.html">kdialog</option>,  <option value="classKDialogBase.html">kdialogbase</option>,  <option value="classKDialogBaseButton.html">kdialogbasebutton</option>,  <option value="classKDialogBaseTile.html">kdialogbasetile</option>,  <option value="classKDictSpellingHighlighter.html">kdictspellinghighlighter</option>,  <option value="classKDockButton__Private.html">kdockbutton__private</option>,  <option value="classKDockMainWindow.html">kdockmainwindow</option>,  <option value="classKDockManager.html">kdockmanager</option>,  <option value="classKDockSplitter.html">kdocksplitter</option>,  <option value="classKDockTabGroup.html">kdocktabgroup</option>,  <option value="classKDockWidget.html">kdockwidget</option>,  <option value="classKDockWidgetAbstractHeader.html">kdockwidgetabstractheader</option>,  <option value="classKDockWidgetAbstractHeaderDrag.html">kdockwidgetabstractheaderdrag</option>,  <option value="classKDockWidgetHeader.html">kdockwidgetheader</option>,  <option value="classKDockWidgetHeaderDrag.html">kdockwidgetheaderdrag</option>,  <option value="classKDockWidgetPrivate.html">kdockwidgetprivate</option>,  <option value="classKDockWindow.html">kdockwindow</option>,  <option value="classKDoubleNumInput.html">kdoublenuminput</option>,  <option value="classKDoubleSpinBox.html">kdoublespinbox</option>,  <option value="classKDoubleValidator.html">kdoublevalidator</option>,  <option value="classKDualColorButton.html">kdualcolorbutton</option>,  <option value="classKEdit.html">kedit</option>,  <option value="classKEditListBox.html">keditlistbox</option>,  <option value="classKEditListBox_1_1CustomEditor.html">keditlistbox::customeditor</option>,  <option value="classKEditToolbar.html">kedittoolbar</option>,  <option value="classKEditToolbarWidget.html">kedittoolbarwidget</option>,  <option value="classKFloatValidator.html">kfloatvalidator</option>,  <option value="classKFontChooser.html">kfontchooser</option>,  <option value="classKFontCombo.html">kfontcombo</option>,  <option value="classKFontDialog.html">kfontdialog</option>,  <option value="classKFontRequester.html">kfontrequester</option>,  <option value="classKGradientSelector.html">kgradientselector</option>,  <option value="classKGuiItem.html">kguiitem</option>,  <option value="classKHelpMenu.html">khelpmenu</option>,  <option value="classKHistoryCombo.html">khistorycombo</option>,  <option value="classKHSSelector.html">khsselector</option>,  <option value="classKIconView.html">kiconview</option>,  <option value="classKIconViewItem.html">kiconviewitem</option>,  <option value="classKIconViewSearchLine.html">kiconviewsearchline</option>,  <option value="classKImageTrackLabel.html">kimagetracklabel</option>,  <option value="classKInputDialog.html">kinputdialog</option>,  <option value="classKIntNumInput.html">kintnuminput</option>,  <option value="classKIntSpinBox.html">kintspinbox</option>,  <option value="classKIntValidator.html">kintvalidator</option>,  <option value="classKJanusWidget.html">kjanuswidget</option>,  <option value="classKKeyButton.html">kkeybutton</option>,  <option value="classKKeyChooser.html">kkeychooser</option>,  <option value="classKKeyDialog.html">kkeydialog</option>,  <option value="classKLanguageButton.html">klanguagebutton</option>,  <option value="classKLed.html">kled</option>,  <option value="classKLineEdit.html">klineedit</option>,  <option value="classKLineEditDlg.html">klineeditdlg</option>,  <option value="classKListAction.html">klistaction</option>,  <option value="classKListBox.html">klistbox</option>,  <option value="classKListView.html">klistview</option>,  <option value="classKListViewItem.html">klistviewitem</option>,  <option value="classKListViewLineEdit.html">klistviewlineedit</option>,  <option value="classKListViewSearchLine.html">klistviewsearchline</option>,  <option value="classKListViewSearchLineWidget.html">klistviewsearchlinewidget</option>,  <option value="classKMacroCommand.html">kmacrocommand</option>,  <option value="classKMainWindow.html">kmainwindow</option>,  <option value="classKMainWindowInterface.html">kmainwindowinterface</option>,  <option value="classKMenuBar.html">kmenubar</option>,  <option value="classKMessageBox.html">kmessagebox</option>,  <option value="classKMimeTypeValidator.html">kmimetypevalidator</option>,  <option value="classKNamedCommand.html">knamedcommand</option>,  <option value="classKNumInput.html">knuminput</option>,  <option value="classKPaletteTable.html">kpalettetable</option>,  <option value="classKPanelApplet.html">kpanelapplet</option>,  <option value="classKPanelAppMenu.html">kpanelappmenu</option>,  <option value="classKPanelExtension.html">kpanelextension</option>,  <option value="classKPanelMenu.html">kpanelmenu</option>,  <option value="classKPassivePopup.html">kpassivepopup</option>,  <option value="classKPasswordDialog.html">kpassworddialog</option>,  <option value="classKPasswordEdit.html">kpasswordedit</option>,  <option value="classKPasteTextAction.html">kpastetextaction</option>,  <option value="classKPixmapIO.html">kpixmapio</option>,  <option value="classKPixmapRegionSelectorDialog.html">kpixmapregionselectordialog</option>,  <option value="classKPixmapRegionSelectorWidget.html">kpixmapregionselectorwidget</option>,  <option value="classKPopupFrame.html">kpopupframe</option>,  <option value="classKPopupMenu.html">kpopupmenu</option>,  <option value="classKPopupTitle.html">kpopuptitle</option>,  <option value="classKProgress.html">kprogress</option>,  <option value="classKProgressDialog.html">kprogressdialog</option>,  <option value="classKPushButton.html">kpushbutton</option>,  <option value="classKRadioAction.html">kradioaction</option>,  <option value="classKRecentFilesAction.html">krecentfilesaction</option>,  <option value="classKRestrictedLine.html">krestrictedline</option>,  <option value="classKRootPermsIcon.html">krootpermsicon</option>,  <option value="classKRootPixmap.html">krootpixmap</option>,  <option value="classKRuler.html">kruler</option>,  <option value="classKScrollView.html">kscrollview</option>,  <option value="classKSelectAction.html">kselectaction</option>,  <option value="classKSelector.html">kselector</option>,  <option value="classKSeparator.html">kseparator</option>,  <option value="classKShortcutDialog.html">kshortcutdialog</option>,  <option value="classKSpell.html">kspell</option>,  <option value="classKSpellConfig.html">kspellconfig</option>,  <option value="classKSplashScreen.html">ksplashscreen</option>,  <option value="classKSqueezedTextLabel.html">ksqueezedtextlabel</option>,  <option value="classKStatusBar.html">kstatusbar</option>,  <option value="classKStatusBarLabel.html">kstatusbarlabel</option>,  <option value="classKStdGuiItem.html">kstdguiitem</option>,  <option value="classKStringListValidator.html">kstringlistvalidator</option>,  <option value="classKSwitchLanguageDialog.html">kswitchlanguagedialog</option>,  <option value="classKSyntaxHighlighter.html">ksyntaxhighlighter</option>,  <option value="classKSystemTray.html">ksystemtray</option>,  <option value="classKTabBar.html">ktabbar</option>,  <option value="classKTabCtl.html">ktabctl</option>,  <option value="classKTabWidget.html">ktabwidget</option>,  <option value="classKTextBrowser.html">ktextbrowser</option>,  <option value="classKTextEdit.html">ktextedit</option>,  <option value="classKTimeWidget.html">ktimewidget</option>,  <option value="classKTimezoneWidget.html">ktimezonewidget</option>,  <option value="classKTipDatabase.html">ktipdatabase</option>,  <option value="classKTipDialog.html">ktipdialog</option>,  <option value="classKToggleAction.html">ktoggleaction</option>,  <option value="classKToggleFullScreenAction.html">ktogglefullscreenaction</option>,  <option value="classKToggleToolBarAction.html">ktoggletoolbaraction</option>,  <option value="classKToolBar.html">ktoolbar</option>,  <option value="classKToolBarButton.html">ktoolbarbutton</option>,  <option value="classKToolBarButtonList.html">ktoolbarbuttonlist</option>,  <option value="classKToolBarLabelAction.html">ktoolbarlabelaction</option>,  <option value="classKToolBarPopupAction.html">ktoolbarpopupaction</option>,  <option value="classKToolBarRadioGroup.html">ktoolbarradiogroup</option>,  <option value="classKURLLabel.html">kurllabel</option>,  <option value="classKValueSelector.html">kvalueselector</option>,  <option value="classKWidgetAction.html">kwidgetaction</option>,  <option value="classKWindowInfo.html">kwindowinfo</option>,  <option value="classKWizard.html">kwizard</option>,  <option value="classKWordWrap.html">kwordwrap</option>,  <option value="classKWritePermsIcon.html">kwritepermsicon</option>,  <option value="classKXMLGUIBuilder.html">kxmlguibuilder</option>,  <option value="classKXMLGUIClient.html">kxmlguiclient</option>,  <option value="classKXMLGUIFactory.html">kxmlguifactory</option>,  <option value="classKXYSelector.html">kxyselector</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>