<?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>kmail: KMail::AccountManager Class Reference (kmail)</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=".">kmail</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>kmail</h2> <!-- Generated by Doxygen 1.5.5 --> <div class="navpath"><a class="el" href="namespaceKMail.html">KMail</a>::<a class="el" href="classKMail_1_1AccountManager.html">AccountManager</a> </div> <div class="contents"> <h1>KMail::AccountManager Class Reference</h1><!-- doxytag: class="KMail::AccountManager" --><!-- doxytag: inherits="QObject" --><code>#include <<a class="el" href="accountmanager_8h-source.html">accountmanager.h</a>></code> <p> Inherits QObject. <p> <p> <a href="classKMail_1_1AccountManager-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> The account manager is responsible for creating accounts of various types via the factory method <a class="el" href="classKMail_1_1AccountManager.html#80f87e14ce727af38fdad9f4349df08b" title="Create a new account of given type with given name.">create()</a> and for keeping track of them. <p>Definition at line <a class="el" href="accountmanager_8h-source.html#l00035">35</a> of file <a class="el" href="accountmanager_8h-source.html">accountmanager.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Slots</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8d3d2aa81db71d15a60629f6f7cb1be9"></a><!-- doxytag: member="KMail::AccountManager::singleCheckMail" ref="8d3d2aa81db71d15a60629f6f7cb1be9" args="(KMAccount *, bool interactive=true)" --> void </td><td class="memItemRight" valign="bottom"><b>singleCheckMail</b> (KMAccount *, bool interactive=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34dc6ab49731338ed180e424f0536537"></a><!-- doxytag: member="KMail::AccountManager::singleInvalidateIMAPFolders" ref="34dc6ab49731338ed180e424f0536537" args="(KMAccount *)" --> void </td><td class="memItemRight" valign="bottom"><b>singleInvalidateIMAPFolders</b> (KMAccount *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d139f637315c06cc1d0ced1cdf78aefa"></a><!-- doxytag: member="KMail::AccountManager::intCheckMail" ref="d139f637315c06cc1d0ced1cdf78aefa" args="(int, bool interactive=true)" --> void </td><td class="memItemRight" valign="bottom"><b>intCheckMail</b> (int, bool interactive=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d84081c71e9cc703d907a72c6bfc672"></a><!-- doxytag: member="KMail::AccountManager::processNextCheck" ref="4d84081c71e9cc703d907a72c6bfc672" args="(bool newMail)" --> void </td><td class="memItemRight" valign="bottom"><b>processNextCheck</b> (bool newMail)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#94359c2eca1f2cf9ddd578a43347d127">addToTotalNewMailCount</a> (const QMap< QString, int > &newInFolder)</td></tr> <tr><td colspan="2"><br><h2>Signals</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#1bcf2bf9be196d4b8d9ea0b18646c700">checkedMail</a> (bool newMail, bool interactive, const QMap< QString, int > &newInFolder)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#1b91168156966eec2688cb1341a25ada">accountRemoved</a> (KMAccount *account)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#947ebd7ddbb3ec58b7d43f88f6019e31">accountAdded</a> (KMAccount *account)</td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#a53b1970db5c2f84d7c06c45730fc662">AccountManager</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#2b633adf8343c7ae75dcb98b2fe8a125">readConfig</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#a6da74d53951f05bfbc0a2ae50d2c778">writeConfig</a> (bool withSync=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">KMAccount * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#80f87e14ce727af38fdad9f4349df08b">create</a> (const QString &type, const QString &name=QString::null, uint id=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#a75fd1b366141da8ffb99eec462c0ac9">add</a> (KMAccount *account)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">KMAccount * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#f8c2abe2a69667320a30addb3e6370d6">findByName</a> (const QString &name) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">KMAccount * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#d01e5852c28fbd4db520979d09368464">find</a> (const uint id) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#9563f6172bb00ce6661ab80ae6728156">remove</a> (KMAccount *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const KMAccount * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#9ab78f4ffdb974c60040f400b4be3657">first</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad101403474c09396d953f87b127a505"></a><!-- doxytag: member="KMail::AccountManager::first" ref="ad101403474c09396d953f87b127a505" args="()" --> KMAccount * </td><td class="memItemRight" valign="bottom"><b>first</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const KMAccount * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#f21f9077b425ba7218d934342b2b5835">next</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34e44009c251481783b5d0d9995c8a11"></a><!-- doxytag: member="KMail::AccountManager::next" ref="34e44009c251481783b5d0d9995c8a11" args="()" --> KMAccount * </td><td class="memItemRight" valign="bottom"><b>next</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#09e0055ed35a1d4ab41fd2c115279344">checkMail</a> (bool interactive=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#ff0d1870a1f30369f7b496000688144f">invalidateIMAPFolders</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed307d037c92a9e0c8eb6590846fbd3e"></a><!-- doxytag: member="KMail::AccountManager::getAccounts" ref="ed307d037c92a9e0c8eb6590846fbd3e" args="() const " --> QStringList </td><td class="memItemRight" valign="bottom"><b>getAccounts</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#aee0579ee2b2e20d0a46af0221c2d82d">cancelMailCheck</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKMail_1_1AccountManager.html#1f930f825543690c66dfba6d065f0387">readPasswords</a> ()</td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edcf285364520c608d85249ec224c087"></a><!-- doxytag: member="KMail::AccountManager::::KMAccount" ref="edcf285364520c608d85249ec224c087" args="" --> class </td><td class="memItemRight" valign="bottom"><b>::KMAccount</b></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="a53b1970db5c2f84d7c06c45730fc662"></a><!-- doxytag: member="KMail::AccountManager::AccountManager" ref="a53b1970db5c2f84d7c06c45730fc662" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">AccountManager::AccountManager </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Initializes the account manager. <p> <a class="el" href="classKMail_1_1AccountManager.html#2b633adf8343c7ae75dcb98b2fe8a125" title="Completely reload accounts from config.">readConfig()</a> needs to be called in order to fill it with persisted account information from the config file. <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00032">32</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="2b633adf8343c7ae75dcb98b2fe8a125"></a><!-- doxytag: member="KMail::AccountManager::readConfig" ref="2b633adf8343c7ae75dcb98b2fe8a125" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::readConfig </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Completely reload accounts from config. <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00075">75</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="a6da74d53951f05bfbc0a2ae50d2c778"></a><!-- doxytag: member="KMail::AccountManager::writeConfig" ref="a6da74d53951f05bfbc0a2ae50d2c778" args="(bool withSync=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::writeConfig </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>withSync</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Write accounts to config. <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00048">48</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="80f87e14ce727af38fdad9f4349df08b"></a><!-- doxytag: member="KMail::AccountManager::create" ref="80f87e14ce727af38fdad9f4349df08b" args="(const QString &type, const QString &name=QString::null, uint id=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KMAccount * AccountManager::create </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>name</em> = <code>QString::null</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint </td> <td class="paramname"> <em>id</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new account of given type with given name. <p> Currently the types "local" for local mail folders and "pop" are supported. <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00201">201</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="a75fd1b366141da8ffb99eec462c0ac9"></a><!-- doxytag: member="KMail::AccountManager::add" ref="a75fd1b366141da8ffb99eec462c0ac9" args="(KMAccount *account)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::add </td> <td>(</td> <td class="paramtype">KMAccount * </td> <td class="paramname"> <em>account</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Adds an account to the list of accounts. <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00232">232</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="f8c2abe2a69667320a30addb3e6370d6"></a><!-- doxytag: member="KMail::AccountManager::findByName" ref="f8c2abe2a69667320a30addb3e6370d6" args="(const QString &name) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KMAccount * AccountManager::findByName </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Find account by name. <p> Returns 0 if account does not exist. Search is done case sensitive. <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00243">243</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="d01e5852c28fbd4db520979d09368464"></a><!-- doxytag: member="KMail::AccountManager::find" ref="d01e5852c28fbd4db520979d09368464" args="(const uint id) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KMAccount * AccountManager::find </td> <td>(</td> <td class="paramtype">const uint </td> <td class="paramname"> <em>id</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Find account by id. <p> Returns 0 if account does not exist. <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00255">255</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="9563f6172bb00ce6661ab80ae6728156"></a><!-- doxytag: member="KMail::AccountManager::remove" ref="9563f6172bb00ce6661ab80ae6728156" args="(KMAccount *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool AccountManager::remove </td> <td>(</td> <td class="paramtype">KMAccount * </td> <td class="paramname"> <em>acct</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Physically remove account. <p> Also deletes the given account object ! Returns FALSE and does nothing if the account cannot be removed. <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00287">287</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="9ab78f4ffdb974c60040f400b4be3657"></a><!-- doxytag: member="KMail::AccountManager::first" ref="9ab78f4ffdb974c60040f400b4be3657" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const KMAccount* KMail::AccountManager::first </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> First account of the list. <p> <p>Definition at line <a class="el" href="accountmanager_8h-source.html#l00074">74</a> of file <a class="el" href="accountmanager_8h-source.html">accountmanager.h</a>.</p> </div> </div><p> <a class="anchor" name="f21f9077b425ba7218d934342b2b5835"></a><!-- doxytag: member="KMail::AccountManager::next" ref="f21f9077b425ba7218d934342b2b5835" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const KMAccount* KMail::AccountManager::next </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Next account of the list. <p> <p>Definition at line <a class="el" href="accountmanager_8h-source.html#l00078">78</a> of file <a class="el" href="accountmanager_8h-source.html">accountmanager.h</a>.</p> </div> </div><p> <a class="anchor" name="09e0055ed35a1d4ab41fd2c115279344"></a><!-- doxytag: member="KMail::AccountManager::checkMail" ref="09e0055ed35a1d4ab41fd2c115279344" args="(bool interactive=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::checkMail </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>interactive</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Processes all accounts looking for new mail. <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00297">297</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="ff0d1870a1f30369f7b496000688144f"></a><!-- doxytag: member="KMail::AccountManager::invalidateIMAPFolders" ref="ff0d1870a1f30369f7b496000688144f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::invalidateIMAPFolders </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Delete all IMAP folders and resync them. <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00324">324</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="aee0579ee2b2e20d0a46af0221c2d82d"></a><!-- doxytag: member="KMail::AccountManager::cancelMailCheck" ref="aee0579ee2b2e20d0a46af0221c2d82d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::cancelMailCheck </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Called on exit (KMMainWin::queryExit). <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00385">385</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="1f930f825543690c66dfba6d065f0387"></a><!-- doxytag: member="KMail::AccountManager::readPasswords" ref="1f930f825543690c66dfba6d065f0387" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::readPasswords </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Read passwords of all accounts from the wallet. <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00394">394</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="94359c2eca1f2cf9ddd578a43347d127"></a><!-- doxytag: member="KMail::AccountManager::addToTotalNewMailCount" ref="94359c2eca1f2cf9ddd578a43347d127" args="(const QMap< QString, int > &newInFolder)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void AccountManager::addToTotalNewMailCount </td> <td>(</td> <td class="paramtype">const QMap< QString, int > & </td> <td class="paramname"> <em>newInFolder</em> </td> <td> ) </td> <td width="100%"><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p> this slot increases the count of new mails to show a total number after checking in multiple accounts. <p> <p>Definition at line <a class="el" href="accountmanager_8cpp-source.html#l00354">354</a> of file <a class="el" href="accountmanager_8cpp-source.html">accountmanager.cpp</a>.</p> </div> </div><p> <a class="anchor" name="1bcf2bf9be196d4b8d9ea0b18646c700"></a><!-- doxytag: member="KMail::AccountManager::checkedMail" ref="1bcf2bf9be196d4b8d9ea0b18646c700" args="(bool newMail, bool interactive, const QMap< QString, int > &newInFolder)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KMail::AccountManager::checkedMail </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>newMail</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>interactive</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QMap< QString, int > & </td> <td class="paramname"> <em>newInFolder</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Emitted if new mail has been collected. <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>newMail</em> </td><td>true if there was new mail </td></tr> <tr><td valign="top"></td><td valign="top"><em>interactive</em> </td><td>true if the mail check was initiated by the user </td></tr> <tr><td valign="top"></td><td valign="top"><em>newInFolder</em> </td><td>number of new messages for each folder </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="1b91168156966eec2688cb1341a25ada"></a><!-- doxytag: member="KMail::AccountManager::accountRemoved" ref="1b91168156966eec2688cb1341a25ada" args="(KMAccount *account)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KMail::AccountManager::accountRemoved </td> <td>(</td> <td class="paramtype">KMAccount * </td> <td class="paramname"> <em>account</em> </td> <td> ) </td> <td width="100%"><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p> emitted when an account is removed <p> </div> </div><p> <a class="anchor" name="947ebd7ddbb3ec58b7d43f88f6019e31"></a><!-- doxytag: member="KMail::AccountManager::accountAdded" ref="947ebd7ddbb3ec58b7d43f88f6019e31" args="(KMAccount *account)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KMail::AccountManager::accountAdded </td> <td>(</td> <td class="paramtype">KMAccount * </td> <td class="paramname"> <em>account</em> </td> <td> ) </td> <td width="100%"><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p> emitted when an account is added <p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="accountmanager_8h-source.html">accountmanager.h</a><li><a class="el" href="accountmanager_8cpp-source.html">accountmanager.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>kmail</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="classAccountUpdater.html">accountupdater</option>, <option value="classAttachmentModifyCommand.html">attachmentmodifycommand</option>, <option value="classFolderStorage.html">folderstorage</option>, <option value="classKCursorSaver.html">kcursorsaver</option>, <option value="classKleo_1_1KeyResolver.html">kleo::keyresolver</option>, <option value="classKListViewIndexedSearchLine.html">klistviewindexedsearchline</option>, <option value="classKMAcctFolder.html">kmacctfolder</option>, <option value="classKMAcctSelDlg.html">kmacctseldlg</option>, <option value="classKMail_1_1AccountComboBox.html">kmail::accountcombobox</option>, <option value="classKMail_1_1AccountManager.html">kmail::accountmanager</option>, <option value="classKMail_1_1ACLEntryDialog.html">kmail::aclentrydialog</option>, <option value="classKMail_1_1ACLJobs_1_1DeleteACLJob.html">kmail::acljobs::deleteacljob</option>, <option value="classKMail_1_1ACLJobs_1_1GetACLJob.html">kmail::acljobs::getacljob</option>, <option value="classKMail_1_1ACLJobs_1_1GetUserRightsJob.html">kmail::acljobs::getuserrightsjob</option>, <option value="classKMail_1_1ACLJobs_1_1MultiSetACLJob.html">kmail::acljobs::multisetacljob</option>, <option value="classKMail_1_1AnnotationJobs_1_1GetAnnotationJob.html">kmail::annotationjobs::getannotationjob</option>, <option value="classKMail_1_1AnnotationJobs_1_1MultiGetAnnotationJob.html">kmail::annotationjobs::multigetannotationjob</option>, <option value="classKMail_1_1AnnotationJobs_1_1MultiSetAnnotationJob.html">kmail::annotationjobs::multisetannotationjob</option>, <option value="classKMail_1_1AnnotationJobs_1_1MultiUrlGetAnnotationJob.html">kmail::annotationjobs::multiurlgetannotationjob</option>, <option value="classKMail_1_1AntiSpamConfig.html">kmail::antispamconfig</option>, <option value="classKMail_1_1AntiSpamWizard.html">kmail::antispamwizard</option>, <option value="classKMail_1_1AntiSpamWizard_1_1ConfigReader.html">kmail::antispamwizard::configreader</option>, <option value="classKMail_1_1AntiSpamWizard_1_1SpamToolConfig.html">kmail::antispamwizard::spamtoolconfig</option>, <option value="classKMail_1_1Callback.html">kmail::callback</option>, <option value="classKMail_1_1CopyFolderJob.html">kmail::copyfolderjob</option>, <option value="classKMail_1_1DictionaryComboBox.html">kmail::dictionarycombobox</option>, <option value="classKMail_1_1EditorWatcher.html">kmail::editorwatcher</option>, <option value="classKMail_1_1FilterImporterExporter.html">kmail::filterimporterexporter</option>, <option value="classKMail_1_1FilterLog.html">kmail::filterlog</option>, <option value="classKMail_1_1FilterLogDialog.html">kmail::filterlogdialog</option>, <option value="classKMail_1_1FolderDiaACLTab.html">kmail::folderdiaacltab</option>, <option value="classKMail_1_1FolderDiaGeneralTab.html">kmail::folderdiageneraltab</option>, <option value="classKMail_1_1FolderDiaQuotaTab.html">kmail::folderdiaquotatab</option>, <option value="classKMail_1_1FolderDiaTab.html">kmail::folderdiatab</option>, <option value="classKMail_1_1FolderDiaTemplatesTab.html">kmail::folderdiatemplatestab</option>, <option value="classKMail_1_1FolderRequester.html">kmail::folderrequester</option>, <option value="classKMail_1_1HeaderItem.html">kmail::headeritem</option>, <option value="classKMail_1_1HeaderStyle.html">kmail::headerstyle</option>, <option value="classKMail_1_1HtmlStatusBar.html">kmail::htmlstatusbar</option>, <option value="classKMail_1_1HtmlWriter.html">kmail::htmlwriter</option>, <option value="classKMail_1_1IdentityDrag.html">kmail::identitydrag</option>, <option value="classKMail_1_1IdentityListView.html">kmail::identitylistview</option>, <option value="classKMail_1_1IdentityListViewItem.html">kmail::identitylistviewitem</option>, <option value="classKMail_1_1Interface_1_1BodyPart.html">kmail::interface::bodypart</option>, <option value="classKMail_1_1Interface_1_1BodyPartFormatterPlugin.html">kmail::interface::bodypartformatterplugin</option>, <option value="classKMail_1_1Interface_1_1BodyPartMemento.html">kmail::interface::bodypartmemento</option>, <option value="classKMail_1_1Interface_1_1BodyPartURLHandler.html">kmail::interface::bodyparturlhandler</option>, <option value="classKMail_1_1Interface_1_1Observable.html">kmail::interface::observable</option>, <option value="classKMail_1_1Interface_1_1Observer.html">kmail::interface::observer</option>, <option value="classKMail_1_1JobScheduler.html">kmail::jobscheduler</option>, <option value="classKMail_1_1ListJob.html">kmail::listjob</option>, <option value="classKMail_1_1MaildirCompactionJob.html">kmail::maildircompactionjob</option>, <option value="classKMail_1_1MailingList.html">kmail::mailinglist</option>, <option value="classKMail_1_1MboxCompactionJob.html">kmail::mboxcompactionjob</option>, <option value="classKMail_1_1MessageActions.html">kmail::messageactions</option>, <option value="classKMail_1_1MessageCopyHelper.html">kmail::messagecopyhelper</option>, <option value="classKMail_1_1PartNodeBodyPart.html">kmail::partnodebodypart</option>, <option value="classKMail_1_1PopAccount.html">kmail::popaccount</option>, <option value="classKMail_1_1QuotaJobs_1_1GetQuotarootJob.html">kmail::quotajobs::getquotarootjob</option>, <option value="classKMail_1_1QuotaJobs_1_1GetStorageQuotaJob.html">kmail::quotajobs::getstoragequotajob</option>, <option value="classKMail_1_1RedirectDialog.html">kmail::redirectdialog</option>, <option value="classKMail_1_1RenameJob.html">kmail::renamejob</option>, <option value="classKMail_1_1RuleWidgetHandler.html">kmail::rulewidgethandler</option>, <option value="classKMail_1_1RuleWidgetHandlerManager.html">kmail::rulewidgethandlermanager</option>, <option value="classKMail_1_1ScheduledCompactionTask.html">kmail::scheduledcompactiontask</option>, <option value="classKMail_1_1ScheduledExpireTask.html">kmail::scheduledexpiretask</option>, <option value="classKMail_1_1ScheduledJob.html">kmail::scheduledjob</option>, <option value="classKMail_1_1ScheduledTask.html">kmail::scheduledtask</option>, <option value="classKMail_1_1SearchJob.html">kmail::searchjob</option>, <option value="classKMail_1_1SearchWindow.html">kmail::searchwindow</option>, <option value="classKMail_1_1SecondaryWindow.html">kmail::secondarywindow</option>, <option value="classKMail_1_1SieveDebugDialog.html">kmail::sievedebugdialog</option>, <option value="classKMail_1_1SortCacheItem.html">kmail::sortcacheitem</option>, <option value="classKMail_1_1SpamHeaderAnalyzer.html">kmail::spamheaderanalyzer</option>, <option value="classKMail_1_1SpamScore.html">kmail::spamscore</option>, <option value="classKMail_1_1TeeHtmlWriter.html">kmail::teehtmlwriter</option>, <option value="classKMail_1_1TransportManager.html">kmail::transportmanager</option>, <option value="classKMail_1_1UndoInfo.html">kmail::undoinfo</option>, <option value="classKMail_1_1URLHandler.html">kmail::urlhandler</option>, <option value="classKMail_1_1URLHandlerManager.html">kmail::urlhandlermanager</option>, <option value="classKMail_1_1Util_1_1LaterDeleter.html">kmail::util::laterdeleter</option>, <option value="classKMailICalIfaceImpl.html">kmailicalifaceimpl</option>, <option value="classKMailIface.html">kmailiface</option>, <option value="classKMDict.html">kmdict</option>, <option value="classKMDictItem.html">kmdictitem</option>, <option value="classKMFilterAction.html">kmfilteraction</option>, <option value="classKMFilterActionDict.html">kmfilteractiondict</option>, <option value="classKMFilterActionWidget.html">kmfilteractionwidget</option>, <option value="classKMFilterActionWithAddress.html">kmfilteractionwithaddress</option>, <option value="classKMFilterActionWithFolder.html">kmfilteractionwithfolder</option>, <option value="classKMFilterActionWithNone.html">kmfilteractionwithnone</option>, <option value="classKMFilterActionWithString.html">kmfilteractionwithstring</option>, <option value="classKMFilterActionWithStringList.html">kmfilteractionwithstringlist</option>, <option value="classKMFilterActionWithUOID.html">kmfilteractionwithuoid</option>, <option value="classKMFilterActionWithUrl.html">kmfilteractionwithurl</option>, <option value="classKMFilterDlg.html">kmfilterdlg</option>, <option value="classKMFilterListBox.html">kmfilterlistbox</option>, <option value="classKMFolder.html">kmfolder</option>, <option value="classKMFolderDialog.html">kmfolderdialog</option>, <option value="classKMFolderDir.html">kmfolderdir</option>, <option value="classKMFolderIndex.html">kmfolderindex</option>, <option value="classKMFolderOpener.html">kmfolderopener</option>, <option value="classKMHeaders.html">kmheaders</option>, <option value="classKMKernel.html">kmkernel</option>, <option value="classKMMenuCommand.html">kmmenucommand</option>, <option value="classKMMessage.html">kmmessage</option>, <option value="classKMMsgDict.html">kmmsgdict</option>, <option value="classKMMsgList.html">kmmsglist</option>, <option value="classKMMsgPartDialog.html">kmmsgpartdialog</option>, <option value="classKMMsgPartDialogCompat.html">kmmsgpartdialogcompat</option>, <option value="classKMPopHeadersView.html">kmpopheadersview</option>, <option value="classKMReaderWin.html">kmreaderwin</option>, <option value="classKMSearchPattern.html">kmsearchpattern</option>, <option value="classKMSearchPatternEdit.html">kmsearchpatternedit</option>, <option value="classKMSearchRule.html">kmsearchrule</option>, <option value="classKMSearchRuleNumerical.html">kmsearchrulenumerical</option>, <option value="classKMSearchRuleStatus.html">kmsearchrulestatus</option>, <option value="classKMSearchRuleString.html">kmsearchrulestring</option>, <option value="classKMSearchRuleWidget.html">kmsearchrulewidget</option>, <option value="classKMSystemTray.html">kmsystemtray</option>, <option value="classMailComposerIface.html">mailcomposeriface</option>, <option value="classScalix_1_1FolderAttributeParser.html">scalix::folderattributeparser</option>, <option value="classSnippetConfig.html">snippetconfig</option>, <option value="classSnippetGroup.html">snippetgroup</option>, <option value="classSnippetItem.html">snippetitem</option>, <option value="classSnippetSettings.html">snippetsettings</option>, <option value="classSnippetWidget.html">snippetwidget</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> <a href="../../akregator/src/html/index.html">src</a></li><li> <a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li> <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> <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> <a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li> <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> <a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li> <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="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">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>