Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 98d6b53e11e983e268c3e19f14e091a0 > files > 1156

kdepim-devel-doc-3.5.9-9mdv2008.1.x86_64.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>kalarm/lib: MessageBox Class Reference (kalarm/lib)</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" />



<style type="text/css">
<!--
hr { display: none; }
#content h2 { margin-left: 0px; }
table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; }
td.mdRow { padding: 8px 20px; }
td.md { font-weight: bold; }
td.mdname1 { font-weight: bold; color: #602020; }
td.mdname { font-weight: bold; color: #602020;  }

-->
</style>

</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>
  <img id="nav_header_logo_right" alt="" align="right" src="../../../pimlogo.png" border="0" />

  <div id="nav_header_title" align="left">KDE PIM 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_left" style="text-align: left;">
/ <a href="../../../">API Reference</a>
 / <a href="../../html/index.html">kalarm</a> / <a href=".">lib</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;">
    <h2><a name="content"></a>kalarm/lib</h2>


<!-- Generated by Doxygen 1.5.5 -->
<div class="contents">
<h1>MessageBox Class Reference</h1><!-- doxytag: class="MessageBox" --><!-- doxytag: inherits="KMessageBox" --><code>#include &lt;<a class="el" href="messagebox_8h-source.html">messagebox.h</a>&gt;</code>
<p>
Inherits KMessageBox.
<p>

<p>
<a href="classMessageBox-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Enhanced KMessageBox. 
<p>
The <a class="el" href="classMessageBox.html" title="Enhanced KMessageBox.">MessageBox</a> class provides an extension to KMessageBox, including the option for Continue/Cancel message boxes to have a default button of Cancel.<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>David Jarvie &lt;<a href="mailto:software@astrojar.org.uk">software@astrojar.org.uk</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="messagebox_8h-source.html#l00036">36</a> of file <a class="el" href="messagebox_8h-source.html">messagebox.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#62df833a42d05385063073855b9ebe42">AskType</a> { <b>CONT_CANCEL_DEF_CONT</b>, 
<b>CONT_CANCEL_DEF_CANCEL</b>, 
<b>YES_NO_DEF_NO</b>
 }</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static ButtonCode&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#d8d798b25a41c0e835f6809e985fa09e">getContinueDefault</a> (const QString &amp;dontAskAgainName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#5d1850058b0cc3bb029c1ab20034aadb">setContinueDefault</a> (const QString &amp;dontAskAgainName, ButtonCode defaultButton)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#d96b92e8d7bd4a9f22df0636d99af222">warningContinueCancel</a> (QWidget *parent, ButtonCode defaultButton, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonContinue=KStdGuiItem::cont(), const QString &amp;dontAskAgainName=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#b14adfa418fae0ac7a8b2075436615e7">warningContinueCancel</a> (QWidget *parent, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonContinue=KStdGuiItem::cont(), const QString &amp;dontAskAgainName=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#fabd5cac5d944324ca8344ebc6308f48">setDefaultShouldBeShownContinue</a> (const QString &amp;dontShowAgainName, bool defaultShow)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#81bcade7703f42fde9ca6c2a15c4aff9">shouldBeShownContinue</a> (const QString &amp;dontShowAgainName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#5fb927e6b5ec22a776a246eb425bbe32">saveDontShowAgainYesNo</a> (const QString &amp;dontShowAgainName, bool dontShow=true, ButtonCode result=No)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#f06d540825718de90f61530d85fc749b">saveDontShowAgainContinue</a> (const QString &amp;dontShowAgainName, bool dontShow=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMessageBox.html#8902f2c355265460870e9a89a2784f1f">setDontShowAskAgainConfig</a> (KConfig *cfg)</td></tr>

</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="62df833a42d05385063073855b9ebe42"></a><!-- doxytag: member="MessageBox::AskType" ref="62df833a42d05385063073855b9ebe42" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classMessageBox.html#62df833a42d05385063073855b9ebe42">MessageBox::AskType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classMessageBox.html" title="Enhanced KMessageBox.">MessageBox</a> types. 
<p>
<ul>
<li>CONT_CANCEL_DEF_CONT - Continue/Cancel, with Continue as the default button. </li>
<li>CONT_CANCEL_DEF_CANCEL - Continue/Cancel, with Cancel as the default button. </li>
<li>YES_NO_DEF_NO - Yes/No, with No as the default button. </li>
</ul>

<p>Definition at line <a class="el" href="messagebox_8h-source.html#l00044">44</a> of file <a class="el" href="messagebox_8h-source.html">messagebox.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d8d798b25a41c0e835f6809e985fa09e"></a><!-- doxytag: member="MessageBox::getContinueDefault" ref="d8d798b25a41c0e835f6809e985fa09e" args="(const QString &amp;dontAskAgainName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KMessageBox::ButtonCode MessageBox::getContinueDefault           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontAskAgainName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the default button for the Continue/Cancel message box with the specified "don't ask again" name. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dontAskAgainName</em>&nbsp;</td><td>The identifier controlling whether the message box is suppressed. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00043">43</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="5d1850058b0cc3bb029c1ab20034aadb"></a><!-- doxytag: member="MessageBox::setContinueDefault" ref="5d1850058b0cc3bb029c1ab20034aadb" args="(const QString &amp;dontAskAgainName, ButtonCode defaultButton)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MessageBox::setContinueDefault           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontAskAgainName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ButtonCode&nbsp;</td>
          <td class="paramname"> <em>defaultButton</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the default button for the Continue/Cancel message box with the specified "don't ask again" name. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dontAskAgainName</em>&nbsp;</td><td>The identifier controlling whether the message box is suppressed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>defaultButton</em>&nbsp;</td><td>The default button for the message box. Valid values are Continue or Cancel. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00034">34</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="d96b92e8d7bd4a9f22df0636d99af222"></a><!-- doxytag: member="MessageBox::warningContinueCancel" ref="d96b92e8d7bd4a9f22df0636d99af222" args="(QWidget *parent, ButtonCode defaultButton, const QString &amp;text, const QString &amp;caption=QString::null, const KGuiItem &amp;buttonContinue=KStdGuiItem::cont(), const QString &amp;dontAskAgainName=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MessageBox::warningContinueCancel           </td>
          <td>(</td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ButtonCode&nbsp;</td>
          <td class="paramname"> <em>defaultButton</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KGuiItem &amp;&nbsp;</td>
          <td class="paramname"> <em>buttonContinue</em> = <code>KStdGuiItem::cont()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontAskAgainName</em> = <code>QString::null</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Displays a Continue/Cancel message box with the option as to which button is the default. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Parent widget </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>defaultButton</em>&nbsp;</td><td>The default button for the message box. Valid values are Continue or Cancel. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Message string </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>caption</em>&nbsp;</td><td>Caption (window title) of the message box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>buttonContinue</em>&nbsp;</td><td>The text for the first button (default = i18n("Continue")) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dontAskAgainName</em>&nbsp;</td><td>If specified, the message box will only be suppressed if the user chose Continue last time. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00075">75</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="b14adfa418fae0ac7a8b2075436615e7"></a><!-- doxytag: member="MessageBox::warningContinueCancel" ref="b14adfa418fae0ac7a8b2075436615e7" 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)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MessageBox::warningContinueCancel           </td>
          <td>(</td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>caption</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KGuiItem &amp;&nbsp;</td>
          <td class="paramname"> <em>buttonContinue</em> = <code>KStdGuiItem::cont()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontAskAgainName</em> = <code>QString::null</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Displays a Continue/Cancel message box. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Parent widget </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Message string </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>caption</em>&nbsp;</td><td>Caption (window title) of the message box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>buttonContinue</em>&nbsp;</td><td>The text for the first button (default = i18n("Continue")) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dontAskAgainName</em>&nbsp;</td><td>If specified, (1) The message box will only be suppressed if the user chose Continue last time, and (2) The default button is that last set with either <a class="el" href="classMessageBox.html#5d1850058b0cc3bb029c1ab20034aadb" title="Sets the default button for the Continue/Cancel message box with the specified &quot;don&#39;t...">setContinueDefault()</a> or <a class="el" href="classMessageBox.html#d96b92e8d7bd4a9f22df0636d99af222" title="Displays a Continue/Cancel message box with the option as to which button is the...">warningContinueCancel()</a> for the same <code>dontAskAgainName</code> value. If neither method has been used to set a default button, Continue is the default. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00063">63</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="fabd5cac5d944324ca8344ebc6308f48"></a><!-- doxytag: member="MessageBox::setDefaultShouldBeShownContinue" ref="fabd5cac5d944324ca8344ebc6308f48" args="(const QString &amp;dontShowAgainName, bool defaultShow)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MessageBox::setDefaultShouldBeShownContinue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontShowAgainName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>defaultShow</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If there is no current setting for whether a non-Yes/No message box should be shown, sets it to <code>defaultShow</code>. 
<p>
If a Continue/Cancel message box has Cancel as the default button, either <a class="el" href="classMessageBox.html#5d1850058b0cc3bb029c1ab20034aadb" title="Sets the default button for the Continue/Cancel message box with the specified &quot;don&#39;t...">setContinueDefault()</a> or <a class="el" href="classMessageBox.html#d96b92e8d7bd4a9f22df0636d99af222" title="Displays a Continue/Cancel message box with the option as to which button is the...">warningContinueCancel()</a> must have been called previously to set this for the specified <code>dontShowAgainName</code> value. <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if <code>defaultShow</code> was written. </dd></dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00106">106</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="81bcade7703f42fde9ca6c2a15c4aff9"></a><!-- doxytag: member="MessageBox::shouldBeShownContinue" ref="81bcade7703f42fde9ca6c2a15c4aff9" args="(const QString &amp;dontShowAgainName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MessageBox::shouldBeShownContinue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontShowAgainName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns whether a non-Yes/No message box should be shown. 
<p>
If the message box has Cancel as the default button, either <a class="el" href="classMessageBox.html#5d1850058b0cc3bb029c1ab20034aadb" title="Sets the default button for the Continue/Cancel message box with the specified &quot;don&#39;t...">setContinueDefault()</a> or <a class="el" href="classMessageBox.html#d96b92e8d7bd4a9f22df0636d99af222" title="Displays a Continue/Cancel message box with the option as to which button is the...">warningContinueCancel()</a> must have been called previously to set this for the specified <code>dontShowAgainName</code> value. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dontShowAgainName</em>&nbsp;</td><td>The identifier controlling whether the message box is suppressed. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00127">127</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="5fb927e6b5ec22a776a246eb425bbe32"></a><!-- doxytag: member="MessageBox::saveDontShowAgainYesNo" ref="5fb927e6b5ec22a776a246eb425bbe32" args="(const QString &amp;dontShowAgainName, bool dontShow=true, ButtonCode result=No)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MessageBox::saveDontShowAgainYesNo           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontShowAgainName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>dontShow</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ButtonCode&nbsp;</td>
          <td class="paramname"> <em>result</em> = <code>No</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Stores whether the Yes/No message box should or should not be shown again. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dontShowAgainName</em>&nbsp;</td><td>The identifier controlling whether the message box is suppressed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dontShow</em>&nbsp;</td><td>If true, the message box will be suppressed and will return <code>result</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>The button code to return if the message box is suppressed. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00142">142</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f06d540825718de90f61530d85fc749b"></a><!-- doxytag: member="MessageBox::saveDontShowAgainContinue" ref="f06d540825718de90f61530d85fc749b" args="(const QString &amp;dontShowAgainName, bool dontShow=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MessageBox::saveDontShowAgainContinue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dontShowAgainName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>dontShow</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Stores whether a non-Yes/No message box should or should not be shown again. 
<p>
If the message box has Cancel as the default button, either <a class="el" href="classMessageBox.html#5d1850058b0cc3bb029c1ab20034aadb" title="Sets the default button for the Continue/Cancel message box with the specified &quot;don&#39;t...">setContinueDefault()</a> or <a class="el" href="classMessageBox.html#d96b92e8d7bd4a9f22df0636d99af222" title="Displays a Continue/Cancel message box with the option as to which button is the...">warningContinueCancel()</a> must have been called previously to set this for the specified <code>dontShowAgainName</code> value. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dontShowAgainName</em>&nbsp;</td><td>The identifier controlling whether the message box is suppressed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dontShow</em>&nbsp;</td><td>If true, the message box will be suppressed and will return Continue. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="messagebox_8cpp-source.html#l00155">155</a> of file <a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="8902f2c355265460870e9a89a2784f1f"></a><!-- doxytag: member="MessageBox::setDontShowAskAgainConfig" ref="8902f2c355265460870e9a89a2784f1f" args="(KConfig *cfg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void MessageBox::setDontShowAskAgainConfig           </td>
          <td>(</td>
          <td class="paramtype">KConfig *&nbsp;</td>
          <td class="paramname"> <em>cfg</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the KConfig object to be used by the <a class="el" href="classMessageBox.html" title="Enhanced KMessageBox.">MessageBox</a> class. 
<p>

<p>Definition at line <a class="el" href="messagebox_8h-source.html#l00117">117</a> of file <a class="el" href="messagebox_8h-source.html">messagebox.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="messagebox_8h-source.html">messagebox.h</a><li><a class="el" href="messagebox_8cpp-source.html">messagebox.cpp</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kalarm/lib</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</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="functions.html">Class Members</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="classButtonGroup.html">buttongroup</option>,  <option value="classCheckBox.html">checkbox</option>,  <option value="classColourCombo.html">colourcombo</option>,  <option value="classColourList.html">colourlist</option>,  <option value="classComboBox.html">combobox</option>,  <option value="classDailyTimer.html">dailytimer</option>,  <option value="classDateEdit.html">dateedit</option>,  <option value="classDateTime.html">datetime</option>,  <option value="classLabel.html">label</option>,  <option value="classLineEdit.html">lineedit</option>,  <option value="classMessageBox.html">messagebox</option>,  <option value="classMidnightTimer.html">midnighttimer</option>,  <option value="classMinuteTimer.html">minutetimer</option>,  <option value="classPushButton.html">pushbutton</option>,  <option value="classRadioButton.html">radiobutton</option>,  <option value="classShellProcess.html">shellprocess</option>,  <option value="classSlider.html">slider</option>,  <option value="classSpinBox.html">spinbox</option>,  <option value="classSpinBox2.html">spinbox2</option>,  <option value="classSynchTimer.html">synchtimer</option>,  <option value="classTimeEdit.html">timeedit</option>,  <option value="classTimePeriod.html">timeperiod</option>,  <option value="classTimeSpinBox.html">timespinbox</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../akregator/html/index.html">akregator</a></li><li>&nbsp;&nbsp;<a href="../../../akregator/src/html/index.html">src</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../../certmanager/html/index.html">certmanager</a></li><li>&nbsp;&nbsp;<a href="../../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../../kalarm/html/index.html">kalarm</a></li><li>&nbsp;&nbsp;<a href="../../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../../kandy/html/index.html">kandy</a></li><li><a href="../../../karm/html/index.html">karm</a></li><li><a href="../../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../../kgantt/html/index.html">kgantt</a></li><li><a href="../../../kioslaves/html/index.html">kioslaves</a></li><li>&nbsp;&nbsp;<a href="../../../kioslaves/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../../kmail/html/index.html">kmail</a></li><li><a href="../../../knotes/html/index.html">knotes</a></li><li><a href="../../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../../kontact/html/index.html">kontact</a></li><li><a href="../../../korganizer/html/index.html">korganizer</a></li><li><a href="../../../kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../../kpilot/kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../../libkcal/html/index.html">libkcal</a></li><li><a href="../../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../../libkmime/html/index.html">libkmime</a></li><li><a href="../../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../../libkpimidentities/html/index.html">libkpimidentities</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>