Sophie

Sophie

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

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: KMessageBox 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-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">KMessageBox Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KMessageBox" -->
<p>Easy message dialog box.  
 <a href="classKMessageBox.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kmessagebox_8h_source.html">kmessagebox.h</a>&gt;</code></p>

<p><a href="classKMessageBox-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="classKMessageBox.html#a7b65482f7d03a391aff64c73f7cae32a">ButtonCode</a> { <br/>
&#160;&#160;<b>Ok</b> =  1, 
<b>Cancel</b> =  2, 
<b>Yes</b> =  3, 
<b>No</b> =  4, 
<br/>
&#160;&#160;<b>Continue</b> =  5
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>DialogType</b> { <br/>
&#160;&#160;<b>QuestionYesNo</b> =  1, 
<b>WarningYesNo</b> =  2, 
<b>WarningContinueCancel</b> =  3, 
<b>WarningYesNoCancel</b> =  4, 
<br/>
&#160;&#160;<b>Information</b> =  5, 
<b>Sorry</b> =  7, 
<b>Error</b> =  8, 
<b>QuestionYesNoCancel</b> =  9
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a034b43126da65e35596017aa37731c80">OptionsType</a> { <br/>
&#160;&#160;<a class="el" href="classKMessageBox.html#a034b43126da65e35596017aa37731c80a0247129727b4f9795754071af7d2fe23">Notify</a> =  1, 
<a class="el" href="classKMessageBox.html#a034b43126da65e35596017aa37731c80ae0a3429bc87a8ddb1f778d430f12f67a">AllowLink</a> =  2, 
<a class="el" href="classKMessageBox.html#a034b43126da65e35596017aa37731c80a9b48e076502151bd58107b48ef4fd26a">Dangerous</a> =  4, 
<a class="el" href="classKMessageBox.html#a034b43126da65e35596017aa37731c80a1b25aa3f02b775cc47ba9c092bfc0b0f">PlainCaption</a> =  8, 
<br/>
&#160;&#160;<a class="el" href="classKMessageBox.html#a034b43126da65e35596017aa37731c80a76c91103345e5dd5537d04b82c613bd4">NoExec</a> =  16
<br/>
 }</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 int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#af1f1a8e08ec4af3c5fee67e2e553c96d">questionYesNo</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ae32d5241691d34a11672f515955e954d">questionYesNoWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a34291f64cd9fb1beef9087f42a5cc50c">questionYesNoCancel</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a6ff9a194adbb4e924c7f1dd9bdfe03d4">questionYesNoCancelWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a5a56d385673a383813d6ae6ed6da3d44">questionYesNoList</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a875e4909d4862f0afb306464a356af93">questionYesNoListWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a334786d77558a971d1a58c09bdfff316">warningYesNo</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a4e9d3749e3e3eb787089fea72b9bc0a2">warningYesNoWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a85108a2bda3d99b1a9b663f4d0701da8">warningYesNoList</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ac4ef7585cf1d82a5b760777e82b1c926">warningYesNoListWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ae42807cfa5b1fb5eb30e0ffee34710b9">warningContinueCancel</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonContinue=KStdGuiItem::cont(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ae577daf90df05159644a9a4bc2332262">warningContinueCancelWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonContinue=KStdGuiItem::cont(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ae4975f53657fdb1f25ee7adee1b81864">warningContinueCancelList</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonContinue=KStdGuiItem::cont(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ae9d940ac94658208ef623e2f2a5067f5">warningContinueCancelListWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonContinue=KStdGuiItem::cont(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a9e1a7ffa0ef681ceacc0ef65fea7f0b5">warningYesNoCancel</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a3bcd1a29d11d5a2522f98c77d5e95816">warningYesNoCancelWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a3f294cb4b0d1779ac7858cf022f93c62">warningYesNoCancelList</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a747f20f738a66bfe152ecb678331669a">warningYesNoCancelListWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a7bb67ab10f06b33f1d20f8c140391d54">error</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#aed241e96acfc3708bfe431b7f6710a90">errorWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ac8d43e1ed09998f84ea46a99c686587a">errorList</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ae9d318b245e4b9ee7f84abd3f749f915">errorListWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a1e1ac7bf915e2ea93a5bfad416431519">detailedError</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;details, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#af9ba4d946d0202c0773b3c16e9ddbab4">detailedErrorWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;details, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a8ef4a2854b07b1111dd2bf535790d439">queuedDetailedError</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;details, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a15163412e6255939a388bd1eb3f5a629">queuedDetailedErrorWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;details, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ada9d4217f00ede5476fe7fed329cb5ab">sorry</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a0b1695a26d8cfdfc48f2fead202984db">sorryWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a534a405722c2b1130a185a70bc409698">detailedSorry</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;details, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ad21a46c324f95ee331e9d7f95253e7d8">detailedSorryWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;details, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ab65b0b4aeeae49d061f4b31ed2796105">information</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a47d5ef9d744862c7305e328ad71c6582">informationWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a1bb747ebda6239d3375c50ac20ba8521">informationList</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a68dcf11fd33c89ba66f978e071045a28">informationListWId</a> (WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a52c7a2abbacbd7d8c958e62f95a2a523">enableAllMessages</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#afdbe9df2b2869e81164f44326977b4f1">enableMessage</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a7ca8ca47504de7d32bf503a0969e0ed9">about</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a0d422566009a26c66bd61215fa5c452e">messageBox</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, DialogType type, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo, const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAskAgainName, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a57868c4b1d77a73ac296b9cae2fc7736">messageBox</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, DialogType type, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#acc2b2f4433b2cf99ffe9c23680e11ff2">messageBoxWId</a> (WId parent_id, DialogType type, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null, const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonYes=KStdGuiItem::yes(), const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;buttonNo=KStdGuiItem::no(), const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAskAgainName=QString::null, int options=Notify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#ad8daf053393284c016e2c432e62a9c3b">queuedMessageBox</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, DialogType type, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption, int options)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a455b4a98518d04cdc730f0a8682bab22">queuedMessageBoxWId</a> (WId parent_id, DialogType type, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption, int options)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a4fa8dfcc65a7e04e8042893943f4a391">queuedMessageBox</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, DialogType type, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#afe4283d449903cf8b776cb3fcfdd9642">queuedMessageBoxWId</a> (WId parent_id, DialogType type, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a42977c2f9bdacc43dd65801a8fa264d9">shouldBeShownYesNo</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName, <a class="el" href="classKMessageBox.html#a7b65482f7d03a391aff64c73f7cae32a">ButtonCode</a> &amp;result)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a8177f4ab754b72f82424175fcffb101f">shouldBeShownContinue</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a38083cf5201b08dbc39f214a602a211e">saveDontShowAgainYesNo</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName, <a class="el" href="classKMessageBox.html#a7b65482f7d03a391aff64c73f7cae32a">ButtonCode</a> result)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a3ae8206b9933ffd69e83e37c0e4a46b2">saveDontShowAgainContinue</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;dontShowAgainName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a1b9b292cd52abfb96de9f5f0005eca89">setDontShowAskAgainConfig</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *cfg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#a78c4dcd7b86d35ec3cd02b406dd1b917">createKMessageBox</a> (<a class="el" href="classKDialogBase.html">KDialogBase</a> *dialog, QMessageBox::Icon icon, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;ask, bool *checkboxReturn, int options, const <a class="elRef" href="qstring.html">QString</a> &amp;details=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMessageBox.html#aabf5dacdbe7abdf2d9bc7e359f6538fa">createKMessageBox</a> (<a class="el" href="classKDialogBase.html">KDialogBase</a> *dialog, <a class="elRef" href="qpixmap.html">QPixmap</a> icon, const <a class="elRef" href="qstring.html">QString</a> &amp;text, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;strlist, const <a class="elRef" href="qstring.html">QString</a> &amp;ask, bool *checkboxReturn, int options, const <a class="elRef" href="qstring.html">QString</a> &amp;details=QString::null, QMessageBox::Icon notifyType=QMessageBox::Information)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Easy message dialog box. </p>
<p>Provides convenience functions for some i18n'ed standard dialogs.</p>
<p>The text in message boxes is wrapped automatically. The text may either be plaintext or richtext. If the text is plaintext, a newline-character may be used to indicate the end of a paragraph.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Waldo Bastian (<a href="mailto:bastian@kde.org">bastian@kde.org</a>) </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8h_source.html#l00044">44</a> of file <a class="el" href="kmessagebox_8h_source.html">kmessagebox.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a7b65482f7d03a391aff64c73f7cae32a"></a><!-- doxytag: member="KMessageBox::ButtonCode" ref="a7b65482f7d03a391aff64c73f7cae32a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKMessageBox.html#a7b65482f7d03a391aff64c73f7cae32a">KMessageBox::ButtonCode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Button types. </p>

<p>Definition at line <a class="el" href="kmessagebox_8h_source.html#l00050">50</a> of file <a class="el" href="kmessagebox_8h_source.html">kmessagebox.h</a>.</p>

</div>
</div>
<a class="anchor" id="a034b43126da65e35596017aa37731c80"></a><!-- doxytag: member="KMessageBox::OptionsType" ref="a034b43126da65e35596017aa37731c80" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKMessageBox.html#a034b43126da65e35596017aa37731c80">KMessageBox::OptionsType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a034b43126da65e35596017aa37731c80a0247129727b4f9795754071af7d2fe23"></a><!-- doxytag: member="Notify" ref="a034b43126da65e35596017aa37731c80a0247129727b4f9795754071af7d2fe23" args="" -->Notify</em>&nbsp;</td><td>
<p>Emit a <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKNotifyClient.html">KNotifyClient</a> event. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a034b43126da65e35596017aa37731c80ae0a3429bc87a8ddb1f778d430f12f67a"></a><!-- doxytag: member="AllowLink" ref="a034b43126da65e35596017aa37731c80ae0a3429bc87a8ddb1f778d430f12f67a" args="" -->AllowLink</em>&nbsp;</td><td>
<p>The message may contain links. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a034b43126da65e35596017aa37731c80a9b48e076502151bd58107b48ef4fd26a"></a><!-- doxytag: member="Dangerous" ref="a034b43126da65e35596017aa37731c80a9b48e076502151bd58107b48ef4fd26a" args="" -->Dangerous</em>&nbsp;</td><td>
<p>The action to be confirmed by the dialog is a potentially destructive one. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a034b43126da65e35596017aa37731c80a1b25aa3f02b775cc47ba9c092bfc0b0f"></a><!-- doxytag: member="PlainCaption" ref="a034b43126da65e35596017aa37731c80a1b25aa3f02b775cc47ba9c092bfc0b0f" args="" -->PlainCaption</em>&nbsp;</td><td>
<p>Do not use <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#a1d78d1faf0df8f1803a7482af2f2d053">KApplication::makeStdCaption()</a> </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a034b43126da65e35596017aa37731c80a76c91103345e5dd5537d04b82c613bd4"></a><!-- doxytag: member="NoExec" ref="a034b43126da65e35596017aa37731c80a76c91103345e5dd5537d04b82c613bd4" args="" -->NoExec</em>&nbsp;</td><td>
<p>Do not call exec() in <a class="el" href="classKMessageBox.html#a78c4dcd7b86d35ec3cd02b406dd1b917" title="Create content and layout of a standard dialog.">createKMessageBox()</a> </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kmessagebox_8h_source.html#l00072">72</a> of file <a class="el" href="kmessagebox_8h_source.html">kmessagebox.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7ca8ca47504de7d32bf503a0969e0ed9"></a><!-- doxytag: member="KMessageBox::about" ref="a7ca8ca47504de7d32bf503a0969e0ed9" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::about </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display an "About" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("About \&lt;appname\&gt;"). </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Your program wants to show some general information about the application like the authors's names and email addresses.</p>
<p>The default button is "&amp;OK".</p>
<p>NOTE: The ok button will always have the i18n'ed text '&amp;OK'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00970">970</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a78c4dcd7b86d35ec3cd02b406dd1b917"></a><!-- doxytag: member="KMessageBox::createKMessageBox" ref="a78c4dcd7b86d35ec3cd02b406dd1b917" args="(KDialogBase *dialog, QMessageBox::Icon icon, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;ask, bool *checkboxReturn, int options, const QString &amp;details=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::createKMessageBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKDialogBase.html">KDialogBase</a> *&#160;</td>
          <td class="paramname"><em>dialog</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMessageBox::Icon&#160;</td>
          <td class="paramname"><em>icon</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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>ask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>checkboxReturn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</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>details</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create content and layout of a standard dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dialog</td><td>The parent dialog base </td></tr>
    <tr><td class="paramname">icon</td><td>Which predefined icon the message box shall show. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox </td></tr>
    <tr><td class="paramname">ask</td><td>The text of the checkbox. If empty none will be shown. </td></tr>
    <tr><td class="paramname">checkboxReturn</td><td>The result of the checkbox. If it's initially true then the checkbox will be checked by default. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType </td></tr>
    <tr><td class="paramname">details</td><td>Detailed message string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.3 </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classKDialogBase.html" title="A dialog base class with standard buttons and predefined layouts.">KDialogBase</a> button code, not a <a class="el" href="classKMessageBox.html" title="Easy message dialog box.">KMessageBox</a> button code, based on the buttonmask given to the constructor of the <code>dialog</code> (ie. will return <a class="el" href="classKDialogBase.html#a9f20cab1f7d03532b4c49f7d719b167cad27f9ffd4696a52b997f3b84eab5b2cd" title="Show Yes button.">KDialogBase::Yes</a> [256] instead of KMessageBox::Yes [3]). Will return KMessageBox::Cancel if the message box is queued for display instead of exec()ed immediately or if the option NoExec is set. </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>The <code>dialog</code> that is passed in is deleted by this function. Do not delete it yourself. </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00140">140</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aabf5dacdbe7abdf2d9bc7e359f6538fa"></a><!-- doxytag: member="KMessageBox::createKMessageBox" ref="aabf5dacdbe7abdf2d9bc7e359f6538fa" args="(KDialogBase *dialog, QPixmap icon, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;ask, bool *checkboxReturn, int options, const QString &amp;details=QString::null, QMessageBox::Icon notifyType=QMessageBox::Information)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::createKMessageBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKDialogBase.html">KDialogBase</a> *&#160;</td>
          <td class="paramname"><em>dialog</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qpixmap.html">QPixmap</a>&#160;</td>
          <td class="paramname"><em>icon</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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>ask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>checkboxReturn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</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>details</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMessageBox::Icon&#160;</td>
          <td class="paramname"><em>notifyType</em> = <code>QMessageBox::Information</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create content and layout of a standard dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dialog</td><td>The parent dialog base </td></tr>
    <tr><td class="paramname">icon</td><td>A <a class="elRef" href="qpixmap.html">QPixmap</a> containing the icon to be displayed in the dialog next to the text. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox </td></tr>
    <tr><td class="paramname">ask</td><td>The text of the checkbox. If empty none will be shown. </td></tr>
    <tr><td class="paramname">checkboxReturn</td><td>The result of the checkbox. If it's initially true then the checkbox will be checked by default. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType </td></tr>
    <tr><td class="paramname">details</td><td>Detailed message string. </td></tr>
    <tr><td class="paramname">notifyType</td><td>The type of notification to send when this message is presentend. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.3 </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classKDialogBase.html" title="A dialog base class with standard buttons and predefined layouts.">KDialogBase</a> button code, not a <a class="el" href="classKMessageBox.html" title="Easy message dialog box.">KMessageBox</a> button code, based on the buttonmask given to the constructor of the <code>dialog</code> (ie. will return <a class="el" href="classKDialogBase.html#a9f20cab1f7d03532b4c49f7d719b167cad27f9ffd4696a52b997f3b84eab5b2cd" title="Show Yes button.">KDialogBase::Yes</a> [256] instead of KMessageBox::Yes [3]). Will return KMessageBox::Cancel if the message box is queued for display instead of exec()ed immediately or if the option NoExec is set. </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>The <code>dialog</code> that is passed in is deleted by this function. Do not delete it yourself. </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00149">149</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1e1ac7bf915e2ea93a5bfad416431519"></a><!-- doxytag: member="KMessageBox::detailedError" ref="a1e1ac7bf915e2ea93a5bfad416431519" args="(QWidget *parent, const QString &amp;text, const QString &amp;details, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::detailedError </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>details</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Displays an "Error" dialog with a "Details &gt;&gt;" button. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">details</td><td>Detailed message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Error"). </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Your program messed up and now it's time to inform the user. To be used for important things like "Sorry, I deleted your hard disk."</p>
<p>The <code>details</code> message can conatin additional information about the problem and can be shown on request to advanced/interested users.</p>
<p>If your program detects the action specified by the user is somehow not allowed, this should never be reported with <a class="el" href="classKMessageBox.html#a7bb67ab10f06b33f1d20f8c140391d54" title="Display an &quot;Error&quot; dialog.">error()</a>. Use <a class="el" href="classKMessageBox.html#ada9d4217f00ede5476fe7fed329cb5ab" title="Display an &quot;Sorry&quot; dialog.">sorry()</a> instead to explain to the user that this action is not allowed.</p>
<p>The default button is "&amp;OK". Pressing "Esc" selects the OK-button.</p>
<p>NOTE: The OK button will always have the i18n'ed text '&amp;OK'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00776">776</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af9ba4d946d0202c0773b3c16e9ddbab4"></a><!-- doxytag: member="KMessageBox::detailedErrorWId" ref="af9ba4d946d0202c0773b3c16e9ddbab4" args="(WId parent_id, const QString &amp;text, const QString &amp;details, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::detailedErrorWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>details</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00784">784</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a534a405722c2b1130a185a70bc409698"></a><!-- doxytag: member="KMessageBox::detailedSorry" ref="a534a405722c2b1130a185a70bc409698" args="(QWidget *parent, const QString &amp;text, const QString &amp;details, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::detailedSorry </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>details</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Displays a "Sorry" dialog with a "Details &gt;&gt;" button. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">details</td><td>Detailed message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Sorry"). </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Either your program messed up and asks for understanding or your user did something stupid.</p>
<p>To be used for small problems like "Sorry, I can't find the file you specified."</p>
<p>And then <code>details</code> can contain something like "foobar.txt was not found in any of the following directories: /usr/bin,/usr/local/bin,/usr/sbin"</p>
<p>The default button is "&amp;OK". Pressing "Esc" selects the OK-button.</p>
<p>NOTE: The ok button will always have the i18n'ed text '&amp;OK'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00853">853</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad21a46c324f95ee331e9d7f95253e7d8"></a><!-- doxytag: member="KMessageBox::detailedSorryWId" ref="ad21a46c324f95ee331e9d7f95253e7d8" args="(WId parent_id, const QString &amp;text, const QString &amp;details, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::detailedSorryWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>details</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00861">861</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a52c7a2abbacbd7d8c958e62f95a2a523"></a><!-- doxytag: member="KMessageBox::enableAllMessages" ref="a52c7a2abbacbd7d8c958e62f95a2a523" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::enableAllMessages </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enable all messages which have been turned off with the <code>dontShowAgainName</code> feature. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00936">936</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afdbe9df2b2869e81164f44326977b4f1"></a><!-- doxytag: member="KMessageBox::enableMessage" ref="afdbe9df2b2869e81164f44326977b4f1" args="(const QString &amp;dontShowAgainName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::enableMessage </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>dontShowAgainName</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-enable a specific <code>dontShowAgainName</code> messages that had previously been turned off. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMessageBox.html#a38083cf5201b08dbc39f214a602a211e" title="Save the fact that the yes/no message box should not be shown again.">saveDontShowAgainYesNo()</a> </dd>
<dd>
<a class="el" href="classKMessageBox.html#a3ae8206b9933ffd69e83e37c0e4a46b2" title="Save the fact that the continue/cancel message box should not be shown again.">saveDontShowAgainContinue()</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00956">956</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7bb67ab10f06b33f1d20f8c140391d54"></a><!-- doxytag: member="KMessageBox::error" ref="a7bb67ab10f06b33f1d20f8c140391d54" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::error </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display an "Error" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Error"). </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Your program messed up and now it's time to inform the user. To be used for important things like "Sorry, I deleted your hard disk."</p>
<p>If your program detects the action specified by the user is somehow not allowed, this should never be reported with <a class="el" href="classKMessageBox.html#a7bb67ab10f06b33f1d20f8c140391d54" title="Display an &quot;Error&quot; dialog.">error()</a>. Use <a class="el" href="classKMessageBox.html#ada9d4217f00ede5476fe7fed329cb5ab" title="Display an &quot;Sorry&quot; dialog.">sorry()</a> instead to explain to the user that this action is not allowed.</p>
<p>The default button is "&amp;OK". Pressing "Esc" selects the OK-button.</p>
<p>NOTE: The OK button will always have the i18n'ed text '&amp;OK'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00734">734</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac8d43e1ed09998f84ea46a99c686587a"></a><!-- doxytag: member="KMessageBox::errorList" ref="ac8d43e1ed09998f84ea46a99c686587a" args="(QWidget *parent, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::errorList </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 <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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display an "Error" dialog with a listbox. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as <a class="el" href="classKMessageBox.html#a7bb67ab10f06b33f1d20f8c140391d54" title="Display an &quot;Error&quot; dialog.">error()</a>. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Error"). </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Your program messed up and now it's time to inform the user. To be used for important things like "Sorry, I deleted your hard disk."</p>
<p>If your program detects the action specified by the user is somehow not allowed, this should never be reported with <a class="el" href="classKMessageBox.html#a7bb67ab10f06b33f1d20f8c140391d54" title="Display an &quot;Error&quot; dialog.">error()</a>. Use <a class="el" href="classKMessageBox.html#ada9d4217f00ede5476fe7fed329cb5ab" title="Display an &quot;Sorry&quot; dialog.">sorry()</a> instead to explain to the user that this action is not allowed.</p>
<p>The default button is "&amp;OK". Pressing "Esc" selects the OK-button.</p>
<p>NOTE: The OK button will always have the i18n'ed text '&amp;OK'.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00748">748</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae9d318b245e4b9ee7f84abd3f749f915"></a><!-- doxytag: member="KMessageBox::errorListWId" ref="ae9d318b245e4b9ee7f84abd3f749f915" args="(WId parent_id, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::errorListWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00755">755</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aed241e96acfc3708bfe431b7f6710a90"></a><!-- doxytag: member="KMessageBox::errorWId" ref="aed241e96acfc3708bfe431b7f6710a90" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::errorWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00741">741</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab65b0b4aeeae49d061f4b31ed2796105"></a><!-- doxytag: member="KMessageBox::information" ref="ab65b0b4aeeae49d061f4b31ed2796105" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, const QString &amp;dontShowAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::information </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </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>dontShowAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display an "Information" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Information"). </td></tr>
    <tr><td class="paramname">dontShowAgainName</td><td>If provided, a checkbox is added with which further notifications can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Your program wants to tell the user something. To be used for things like: "Your bookmarks have been rearranged."</p>
<p>The default button is "&amp;OK". Pressing "Esc" selects the OK-button.</p>
<p>NOTE: The OK button will always have the i18n'ed text '&amp;OK'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00883">883</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1bb747ebda6239d3375c50ac20ba8521"></a><!-- doxytag: member="KMessageBox::informationList" ref="a1bb747ebda6239d3375c50ac20ba8521" args="(QWidget *parent, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const QString &amp;dontShowAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::informationList </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 <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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </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>dontShowAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display an "Information" dialog with a listbox. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as information. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Information"). </td></tr>
    <tr><td class="paramname">dontShowAgainName</td><td>If provided, a checkbox is added with which further notifications can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Your program wants to tell the user something. To be used for things like: "The following bookmarks have been rearranged:"</p>
<p>The default button is "&amp;OK". Pressing "Esc" selects the OK-button.</p>
<p>NOTE: The OK button will always have the i18n'ed text '&amp;OK'. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00897">897</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a68dcf11fd33c89ba66f978e071045a28"></a><!-- doxytag: member="KMessageBox::informationListWId" ref="a68dcf11fd33c89ba66f978e071045a28" args="(WId parent_id, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const QString &amp;dontShowAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::informationListWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </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>dontShowAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00905">905</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a47d5ef9d744862c7305e328ad71c6582"></a><!-- doxytag: member="KMessageBox::informationWId" ref="a47d5ef9d744862c7305e328ad71c6582" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, const QString &amp;dontShowAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::informationWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </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>dontShowAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00890">890</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0d422566009a26c66bd61215fa5c452e"></a><!-- doxytag: member="KMessageBox::messageBox" ref="a0d422566009a26c66bd61215fa5c452e" args="(QWidget *parent, DialogType type, const QString &amp;text, const QString &amp;caption, const KGuiItem &amp;buttonYes, const KGuiItem &amp;buttonNo, const QString &amp;dontShowAskAgainName, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::messageBox </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">DialogType&#160;</td>
          <td class="paramname"><em>type</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="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="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</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>dontShowAskAgainName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Alternate method to show a messagebox: </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">type</td><td>type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontShowAskAgainName</td><td>If provided, a checkbox is added with which further questions/informations can be turned off. If turned off all questions will be automatically answered with the last answer (either Yes or No), if the message box needs an answer. The string is used to lookup and store the setting in the applications config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. and for Information, none is used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a button code, as defined in <a class="el" href="classKMessageBox.html" title="Easy message dialog box.">KMessageBox</a>. </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00994">994</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a57868c4b1d77a73ac296b9cae2fc7736"></a><!-- doxytag: member="KMessageBox::messageBox" ref="a57868c4b1d77a73ac296b9cae2fc7736" args="(QWidget *parent, DialogType type, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::messageBox </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">DialogType&#160;</td>
          <td class="paramname"><em>type</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Alternate method to show a messagebox: </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">type</td><td>type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. and for Information, none is used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a button code, as defined in <a class="el" href="classKMessageBox.html" title="Easy message dialog box.">KMessageBox</a>. </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l01003">1003</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acc2b2f4433b2cf99ffe9c23680e11ff2"></a><!-- doxytag: member="KMessageBox::messageBoxWId" ref="acc2b2f4433b2cf99ffe9c23680e11ff2" args="(WId parent_id, DialogType type, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontShowAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::messageBoxWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DialogType&#160;</td>
          <td class="paramname"><em>type</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontShowAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l01011">1011</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af1f1a8e08ec4af3c5fee67e2e553c96d"></a><!-- doxytag: member="KMessageBox::questionYesNo" ref="af1f1a8e08ec4af3c5fee67e2e553c96d" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::questionYesNo </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a simple "question" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Question"). </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>'Yes' is returned if the Yes-button is pressed. 'No' is returned if the No-button is pressed.</dd></dl>
<p>To be used for questions like "Do you have a printer?"</p>
<p>The default button is "Yes". Pressing "Esc" selects "No". </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00317">317</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a34291f64cd9fb1beef9087f42a5cc50c"></a><!-- doxytag: member="KMessageBox::questionYesNoCancel" ref="a34291f64cd9fb1beef9087f42a5cc50c" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::questionYesNoCancel </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a simple "question" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Question"). </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>'Yes' is returned if the Yes-button is pressed. 'No' is returned if the No-button is pressed.</dd></dl>
<p>To be used for questions like "Do you want to discard the message or save it for later?",</p>
<p>The default button is "Yes". Pressing "Esc" selects "Cancel".</p>
<p>NOTE: The cancel button will always have the i18n'ed text '&amp;Cancel'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00452">452</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6ff9a194adbb4e924c7f1dd9bdfe03d4"></a><!-- doxytag: member="KMessageBox::questionYesNoCancelWId" ref="a6ff9a194adbb4e924c7f1dd9bdfe03d4" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::questionYesNoCancelWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00465">465</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5a56d385673a383813d6ae6ed6da3d44"></a><!-- doxytag: member="KMessageBox::questionYesNoList" ref="a5a56d385673a383813d6ae6ed6da3d44" args="(QWidget *parent, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::questionYesNoList </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 <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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a "question" dialog with a listbox to show information to the user. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as questionYesNo. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Question"). </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>'Yes' is returned if the Yes-button is pressed. 'No' is returned if the No-button is pressed.</dd></dl>
<p>To be used for questions like "Do you really want to delete these files?" And show the user exactly which files are going to be deleted in case he presses "Yes"</p>
<p>The default button is "Yes". Pressing "Esc" selects "No". </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00401">401</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a875e4909d4862f0afb306464a356af93"></a><!-- doxytag: member="KMessageBox::questionYesNoListWId" ref="a875e4909d4862f0afb306464a356af93" args="(WId parent_id, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::questionYesNoListWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00414">414</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae32d5241691d34a11672f515955e954d"></a><!-- doxytag: member="KMessageBox::questionYesNoWId" ref="ae32d5241691d34a11672f515955e954d" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::questionYesNoWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00329">329</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8ef4a2854b07b1111dd2bf535790d439"></a><!-- doxytag: member="KMessageBox::queuedDetailedError" ref="a8ef4a2854b07b1111dd2bf535790d439" args="(QWidget *parent, const QString &amp;text, const QString &amp;details, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::queuedDetailedError </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>details</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> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Like detailedError. </p>
<p>This function will return immediately, the messagebox will be shown once the application enters an event loop and no other messagebox is being shown.</p>
<p>Note that if the parent gets deleted, the messagebox will not be shown. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00806">806</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a15163412e6255939a388bd1eb3f5a629"></a><!-- doxytag: member="KMessageBox::queuedDetailedErrorWId" ref="a15163412e6255939a388bd1eb3f5a629" args="(WId parent_id, const QString &amp;text, const QString &amp;details, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::queuedDetailedErrorWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>details</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> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00814">814</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad8daf053393284c016e2c432e62a9c3b"></a><!-- doxytag: member="KMessageBox::queuedMessageBox" ref="ad8daf053393284c016e2c432e62a9c3b" args="(QWidget *parent, DialogType type, const QString &amp;text, const QString &amp;caption, int options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::queuedMessageBox </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">DialogType&#160;</td>
          <td class="paramname"><em>type</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="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">int&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Like messageBox. </p>
<p>Only for message boxes of type Information, Sorry or Error.</p>
<p>This function will return immediately, the messagebox will be shown once the application enters an event loop and no other messagebox is being shown.</p>
<p>Note that if the parent gets deleted, the messagebox will not be shown. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l01048">1048</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4fa8dfcc65a7e04e8042893943f4a391"></a><!-- doxytag: member="KMessageBox::queuedMessageBox" ref="a4fa8dfcc65a7e04e8042893943f4a391" args="(QWidget *parent, DialogType type, const QString &amp;text, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::queuedMessageBox </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">DialogType&#160;</td>
          <td class="paramname"><em>type</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This is an overloaded member function, provided for convenience. </p>
<p>It behaves essentially like the above function. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l01061">1061</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afe4283d449903cf8b776cb3fcfdd9642"></a><!-- doxytag: member="KMessageBox::queuedMessageBoxWId" ref="afe4283d449903cf8b776cb3fcfdd9642" args="(WId parent_id, DialogType type, const QString &amp;text, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::queuedMessageBoxWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DialogType&#160;</td>
          <td class="paramname"><em>type</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l01066">1066</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a455b4a98518d04cdc730f0a8682bab22"></a><!-- doxytag: member="KMessageBox::queuedMessageBoxWId" ref="a455b4a98518d04cdc730f0a8682bab22" args="(WId parent_id, DialogType type, const QString &amp;text, const QString &amp;caption, int options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::queuedMessageBoxWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DialogType&#160;</td>
          <td class="paramname"><em>type</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="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">int&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l01053">1053</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3ae8206b9933ffd69e83e37c0e4a46b2"></a><!-- doxytag: member="KMessageBox::saveDontShowAgainContinue" ref="a3ae8206b9933ffd69e83e37c0e4a46b2" args="(const QString &amp;dontShowAgainName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::saveDontShowAgainContinue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>dontShowAgainName</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save the fact that the continue/cancel message box should not be shown again. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dontShowAgainName</td><td>the name that identify the message box. If empty, this method does nothing. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00383">383</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a38083cf5201b08dbc39f214a602a211e"></a><!-- doxytag: member="KMessageBox::saveDontShowAgainYesNo" ref="a38083cf5201b08dbc39f214a602a211e" args="(const QString &amp;dontShowAgainName, ButtonCode result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::saveDontShowAgainYesNo </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>dontShowAgainName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKMessageBox.html#a7b65482f7d03a391aff64c73f7cae32a">ButtonCode</a>&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save the fact that the yes/no message box should not be shown again. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dontShowAgainName</td><td>the name that identify the message box. If empty, this method does nothing. </td></tr>
    <tr><td class="paramname">result</td><td>the value (Yes or No) that should be used as the result for the message box. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00371">371</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1b9b292cd52abfb96de9f5f0005eca89"></a><!-- doxytag: member="KMessageBox::setDontShowAskAgainConfig" ref="a1b9b292cd52abfb96de9f5f0005eca89" args="(KConfig *cfg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::setDontShowAskAgainConfig </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>cfg</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Use <code>cfg</code> for all settings related to the dontShowAgainName feature. </p>
<p>If <code>cfg</code> is 0 (default) <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobal.html#a71532b4619923ec5f7779c5f0065e6e7">KGlobal::config()</a> will be used. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00395">395</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8177f4ab754b72f82424175fcffb101f"></a><!-- doxytag: member="KMessageBox::shouldBeShownContinue" ref="a8177f4ab754b72f82424175fcffb101f" args="(const QString &amp;dontShowAgainName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMessageBox::shouldBeShownContinue </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>dontShowAgainName</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the corresponding continue/cancel message box should be shown. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dontShowAgainName</td><td>the name that identify the message box. If empty, true is always returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00361">361</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a42977c2f9bdacc43dd65801a8fa264d9"></a><!-- doxytag: member="KMessageBox::shouldBeShownYesNo" ref="a42977c2f9bdacc43dd65801a8fa264d9" args="(const QString &amp;dontShowAgainName, ButtonCode &amp;result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMessageBox::shouldBeShownYesNo </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>dontShowAgainName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKMessageBox.html#a7b65482f7d03a391aff64c73f7cae32a">ButtonCode</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the corresponding yes/no message box should be shown. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dontShowAgainName</td><td>the name that identify the message box. If empty, true is always returned. </td></tr>
    <tr><td class="paramname">result</td><td>is set to the result (Yes or No) that was chosen the last time the message box was shown. Only meaningful, if the message box should not be shown. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00341">341</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ada9d4217f00ede5476fe7fed329cb5ab"></a><!-- doxytag: member="KMessageBox::sorry" ref="ada9d4217f00ede5476fe7fed329cb5ab" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::sorry </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display an "Sorry" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Sorry"). </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>Either your program messed up and asks for understanding or your user did something stupid.</p>
<p>To be used for small problems like "Sorry, I can't find the file you specified."</p>
<p>The default button is "&amp;OK". Pressing "Esc" selects the OK-button.</p>
<p>NOTE: The ok button will always have the i18n'ed text '&amp;OK'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00825">825</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0b1695a26d8cfdfc48f2fead202984db"></a><!-- doxytag: member="KMessageBox::sorryWId" ref="a0b1695a26d8cfdfc48f2fead202984db" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMessageBox::sorryWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00832">832</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae42807cfa5b1fb5eb30e0ffee34710b9"></a><!-- doxytag: member="KMessageBox::warningContinueCancel" ref="ae42807cfa5b1fb5eb30e0ffee34710b9" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonContinue=KStdGuiItem::cont(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningContinueCancel </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonContinue</em> = <code>KStdGuiItem::cont()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a "warning" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Warning"). </td></tr>
    <tr><td class="paramname">buttonContinue</td><td>The text for the first button. </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>The second button always has the text "Cancel".</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>Continue</code> is returned if the Continue-button is pressed. <code>Cancel</code> is returned if the Cancel-button is pressed.</dd></dl>
<p>To be used for questions like "You are about to Print. Are you sure?" the continueButton should then be labeled "Print".</p>
<p>The default button is buttonContinue. Pressing "Esc" selects "Cancel". </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00585">585</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae4975f53657fdb1f25ee7adee1b81864"></a><!-- doxytag: member="KMessageBox::warningContinueCancelList" ref="ae4975f53657fdb1f25ee7adee1b81864" args="(QWidget *parent, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonContinue=KStdGuiItem::cont(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningContinueCancelList </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 <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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonContinue</em> = <code>KStdGuiItem::cont()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a "warning" dialog with a listbox to show information to the user. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as warningContinueCancel. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Warning"). </td></tr>
    <tr><td class="paramname">buttonContinue</td><td>The text for the first button. </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file.</td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<p>The second button always has the text "Cancel".</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>Continue</code> is returned if the Continue-button is pressed. <code>Cancel</code> is returned if the Cancel-button is pressed.</dd></dl>
<p>To be used for questions like "You are about to Print. Are you sure?" the continueButton should then be labeled "Print".</p>
<p>The default button is buttonContinue. Pressing "Esc" selects "Cancel". </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00609">609</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae9d940ac94658208ef623e2f2a5067f5"></a><!-- doxytag: member="KMessageBox::warningContinueCancelListWId" ref="ae9d940ac94658208ef623e2f2a5067f5" args="(WId parent_id, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonContinue=KStdGuiItem::cont(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningContinueCancelListWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonContinue</em> = <code>KStdGuiItem::cont()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00621">621</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae577daf90df05159644a9a4bc2332262"></a><!-- doxytag: member="KMessageBox::warningContinueCancelWId" ref="ae577daf90df05159644a9a4bc2332262" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonContinue=KStdGuiItem::cont(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningContinueCancelWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonContinue</em> = <code>KStdGuiItem::cont()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00597">597</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a334786d77558a971d1a58c09bdfff316"></a><!-- doxytag: member="KMessageBox::warningYesNo" ref="a334786d77558a971d1a58c09bdfff316" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNo </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify&#160;|&#160;Dangerous</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a "warning" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Warning"). </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>Yes</code> is returned if the Yes-button is pressed. <code>No</code> is returned if the No-button is pressed.</dd></dl>
<p>To be used for questions "Shall I update your configuration?" The text should explain the implication of both options.</p>
<p>The default button is "No". Pressing "Esc" selects "No". </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00505">505</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9e1a7ffa0ef681ceacc0ef65fea7f0b5"></a><!-- doxytag: member="KMessageBox::warningYesNoCancel" ref="a9e1a7ffa0ef681ceacc0ef65fea7f0b5" args="(QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNoCancel </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 <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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a Yes/No/Cancel "warning" dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Warning"). </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further questions can be turned off. If turned off all questions will be automatically answered with the last answer (either Yes or No). The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>Yes</code> is returned if the Yes-button is pressed. <code>No</code> is returned if the No-button is pressed. <code>Cancel</code> is retunred if the Cancel- button is pressed.</dd></dl>
<p>To be used for questions "Do you want to save your changes?" The text should explain the implication of choosing 'No'.</p>
<p>The default button is "Yes". Pressing "Esc" selects "Cancel"</p>
<p>NOTE: The cancel button will always have the i18n'ed text '&amp;Cancel'. </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00658">658</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3f294cb4b0d1779ac7858cf022f93c62"></a><!-- doxytag: member="KMessageBox::warningYesNoCancelList" ref="a3f294cb4b0d1779ac7858cf022f93c62" args="(QWidget *parent, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNoCancelList </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 <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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a Yes/No/Cancel "warning" dialog with a listbox to show information to the user. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as warningYesNoCancel. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Warning"). </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further questions can be turned off. If turned off all questions will be automatically answered with the last answer (either Yes or No). The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>Yes</code> is returned if the Yes-button is pressed. <code>No</code> is returned if the No-button is pressed. <code>Cancel</code> is retunred if the Cancel- button is pressed.</dd></dl>
<p>To be used for questions "Do you want to save your changes?" The text should explain the implication of choosing 'No'.</p>
<p>The default button is "Yes". Pressing "Esc" selects "Cancel"</p>
<p>NOTE: The cancel button will always have the i18n'ed text '&amp;Cancel'.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00682">682</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a747f20f738a66bfe152ecb678331669a"></a><!-- doxytag: member="KMessageBox::warningYesNoCancelListWId" ref="a747f20f738a66bfe152ecb678331669a" args="(WId parent_id, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNoCancelListWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00695">695</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3bcd1a29d11d5a2522f98c77d5e95816"></a><!-- doxytag: member="KMessageBox::warningYesNoCancelWId" ref="a3bcd1a29d11d5a2522f98c77d5e95816" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNoCancelWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00670">670</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a85108a2bda3d99b1a9b663f4d0701da8"></a><!-- doxytag: member="KMessageBox::warningYesNoList" ref="a85108a2bda3d99b1a9b663f4d0701da8" args="(QWidget *parent, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNoList </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 <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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify&#160;|&#160;Dangerous</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Display a "warning" dialog with a listbox to show information to the user. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>If <code>parent</code> is 0, then the message box becomes an application-global modal dialog box. If <code>parent</code> is a widget, the message box becomes modal relative to parent. </td></tr>
    <tr><td class="paramname">text</td><td>Message string. </td></tr>
    <tr><td class="paramname">strlist</td><td>List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as questionYesNo. </td></tr>
    <tr><td class="paramname">caption</td><td>Message box title. The application name is added to the title. The default title is i18n("Question"). </td></tr>
    <tr><td class="paramname">buttonYes</td><td>The text for the first button. The default is i18n("&amp;Yes"). </td></tr>
    <tr><td class="paramname">buttonNo</td><td>The text for the second button. The default is i18n("&amp;No"). </td></tr>
    <tr><td class="paramname">dontAskAgainName</td><td>If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If <code>dontAskAgainName</code> starts with a ':' then the setting is stored in the global config file. </td></tr>
    <tr><td class="paramname">options</td><td>see OptionsType</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>'Yes' is returned if the Yes-button is pressed. 'No' is returned if the No-button is pressed.</dd></dl>
<p>To be used for questions like "Do you really want to delete these files?" And show the user exactly which files are going to be deleted in case he presses "Yes"</p>
<p>The default button is "No". Pressing "Esc" selects "No". </p>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00529">529</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac4ef7585cf1d82a5b760777e82b1c926"></a><!-- doxytag: member="KMessageBox::warningYesNoListWId" ref="ac4ef7585cf1d82a5b760777e82b1c926" args="(WId parent_id, const QString &amp;text, const QStringList &amp;strlist, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNoListWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>strlist</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> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify&#160;|&#160;Dangerous</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00542">542</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4e9d3749e3e3eb787089fea72b9bc0a2"></a><!-- doxytag: member="KMessageBox::warningYesNoWId" ref="a4e9d3749e3e3eb787089fea72b9bc0a2" args="(WId parent_id, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonYes=KStdGuiItem::yes(), const KGuiItem &amp;buttonNo=KStdGuiItem::no(), const QString &amp;dontAskAgainName=QString::null, int options=Notify|Dangerous)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMessageBox::warningYesNoWId </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</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="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonYes</em> = <code>KStdGuiItem::yes()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKGuiItem.html">KGuiItem</a> &amp;&#160;</td>
          <td class="paramname"><em>buttonNo</em> = <code>KStdGuiItem::no()</code>, </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>dontAskAgainName</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>Notify&#160;|&#160;Dangerous</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function accepts the window id of the parent window, instead of QWidget*. </p>
<p>It should be used only when necessary. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmessagebox_8cpp_source.html#l00517">517</a> of file <a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kmessagebox_8h_source.html">kmessagebox.h</a></li>
<li><a class="el" href="kmessagebox_8cpp_source.html">kmessagebox.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>