<?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>kwallet: KWallet::Wallet Class Reference (kwallet)</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=".">kwallet</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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceKWallet.html">KWallet</a> </li> <li class="navelem"><a class="el" href="classKWallet_1_1Wallet.html">Wallet</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#signals">Signals</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <div class="title">KWallet::Wallet Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="KWallet::Wallet" --><!-- doxytag: inherits="QObject,DCOPObject" --> <p>KDE <a class="el" href="classKWallet_1_1Wallet.html" title="KDE Wallet.">Wallet</a>. <a href="classKWallet_1_1Wallet.html#details">More...</a></p> <p><code>#include <<a class="el" href="kwallet_8h_source.html">kwallet.h</a>></code></p> <div class="dynheader"> Inheritance diagram for KWallet::Wallet:</div> <div class="dyncontent"> <div class="center"> <img src="classKWallet_1_1Wallet.png" usemap="#KWallet::Wallet_map" alt=""/> <map id="KWallet::Wallet_map" name="KWallet::Wallet_map"> <area href="qobject.html" alt="QObject" shape="rect" coords="0,0,94,24"/> <area doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classDCOPObject.html" alt="DCOPObject" shape="rect" coords="104,0,198,24"/> </map> </div></div> <p><a href="classKWallet_1_1Wallet-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  </td><td class="memItemRight" valign="bottom"><b>EntryType</b> { <br/>   <b>Unknown</b> = 0, <b>Password</b>, <b>Stream</b>, <b>Map</b>, <br/>   <b>Unused</b> = 0xffff <br/> }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><b>OpenType</b> { <b>Synchronous</b> = 0, <b>Asynchronous</b>, <b>Path</b>, <b>OpenTypeUnused</b> = 0xff }</td></tr> <tr><td colspan="2"><h2><a name="signals"></a> Signals</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a697ff23f1fbc85bd6e18f5e6bb078e01">walletClosed</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a2b0129c74641130020b7b95a56539580">folderUpdated</a> (const <a class="elRef" href="qstring.html">QString</a> &folder)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a6b4f07c045d7650ce30aa8df584ca975">folderListUpdated</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#abe99da68e094ad218c302c0851692980">folderRemoved</a> (const <a class="elRef" href="qstring.html">QString</a> &folder)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#aef7f7a9d3f2f1e81bb32d1c025e2a799">walletOpened</a> (bool success)</td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a443dc95f50e4a9d8e6d5282e13fedcde">~Wallet</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a130cd4fc92605d7e237d1105a9ef08c5">sync</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a17fb06745ae8c526baeff2b41fb3c1f0">lockWallet</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="elRef" href="qstring.html">QString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a2f292f521ce0805c3d4465ff4066138c">walletName</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a19e12fb4b32dedec796dd712a93f5df4">isOpen</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#afbcd4a0eacdadf15ccfeadf528b0b96e">requestChangePassword</a> (WId w=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a41a0c9ce1bb132ea65f57152d607f719">folderList</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a75593f21796f7423405dea3a65b74dfe">hasFolder</a> (const <a class="elRef" href="qstring.html">QString</a> &f)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#ae3da6744454ec13fb52f41731b215765">setFolder</a> (const <a class="elRef" href="qstring.html">QString</a> &f)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#aaa0b8a3b0eeb3cfb221581ae49c81ceb">removeFolder</a> (const <a class="elRef" href="qstring.html">QString</a> &f)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a13ea912cda6bb610c3888dad2fd52989">createFolder</a> (const <a class="elRef" href="qstring.html">QString</a> &f)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="elRef" href="qstring.html">QString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a60adf360e55acd5ca8604e371555859d">currentFolder</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a8f1b80deaefb2aafc956a9dedf3110f8">entryList</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a0f0dee017afd3b4d2ed05ae35d0af034">renameEntry</a> (const <a class="elRef" href="qstring.html">QString</a> &oldName, const <a class="elRef" href="qstring.html">QString</a> &newName)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a8287b46482402cf70d6d8831e4c06473">readEntry</a> (const <a class="elRef" href="qstring.html">QString</a> &key, <a class="elRef" href="qbytearray.html">QByteArray</a> &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#aa0b5e38d102373e501463daa9c648082">readMap</a> (const <a class="elRef" href="qstring.html">QString</a> &key, <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#ac8d99286d1b1be392fe9a4ec540388ac">readPassword</a> (const <a class="elRef" href="qstring.html">QString</a> &key, <a class="elRef" href="qstring.html">QString</a> &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a0d357348d5687dc66f0ecfaf2702f997">readEntryList</a> (const <a class="elRef" href="qstring.html">QString</a> &key, <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qbytearray.html">QByteArray</a> > &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a937a4191ec43f84798ab5e3e2ca6ad8e">readMapList</a> (const <a class="elRef" href="qstring.html">QString</a> &key, <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > > &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a6efc9a0c696b662be1528094311b6078">readPasswordList</a> (const <a class="elRef" href="qstring.html">QString</a> &key, <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a6d5989cc8fbe7e304a44dadf7de3e635">writeEntry</a> (const <a class="elRef" href="qstring.html">QString</a> &key, const <a class="elRef" href="qbytearray.html">QByteArray</a> &value, EntryType entryType)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a459ca4c60660976ebcfb53389c015df7">writeEntry</a> (const <a class="elRef" href="qstring.html">QString</a> &key, const <a class="elRef" href="qbytearray.html">QByteArray</a> &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#af859025af4a612a25e24724c9cdada52">writeMap</a> (const <a class="elRef" href="qstring.html">QString</a> &key, const <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#ad855eaa7974e230a5d26abb74fbbc89d">writePassword</a> (const <a class="elRef" href="qstring.html">QString</a> &key, const <a class="elRef" href="qstring.html">QString</a> &value)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a37950be8a2712446a7a86dca489499d2">hasEntry</a> (const <a class="elRef" href="qstring.html">QString</a> &key)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a24f8b5ae0670de3d1ec57ca1194047f0">removeEntry</a> (const <a class="elRef" href="qstring.html">QString</a> &key)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual EntryType </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#ac70609a0f05f136c45bb6ca516f9fe00">entryType</a> (const <a class="elRef" href="qstring.html">QString</a> &key)</td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a48ef2d3a1c1622cce7bb1c1655b2b842">walletList</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#aa4967b716b8f2be3647e1725e4b912e8">isEnabled</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a82ec0560e99f0ea21f524de8edbca77f">isOpen</a> (const <a class="elRef" href="qstring.html">QString</a> &<a class="elRef" href="qobject.html#name">name</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a31165700f48d8deb3c8568ff551c5c25">closeWallet</a> (const <a class="elRef" href="qstring.html">QString</a> &<a class="elRef" href="qobject.html#name">name</a>, bool force)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a6a01ec7d9c1caf5d45150202b611ff92">deleteWallet</a> (const <a class="elRef" href="qstring.html">QString</a> &<a class="elRef" href="qobject.html#name">name</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#ad4ef51d4d9c1489e23052f8ad852dbaf">disconnectApplication</a> (const <a class="elRef" href="qstring.html">QString</a> &wallet, const <a class="elRef" href="qcstring.html">QCString</a> &app)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKWallet_1_1Wallet.html">Wallet</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a4b362f2b74c8d8d2ccb7480b901eb949">openWallet</a> (const <a class="elRef" href="qstring.html">QString</a> &<a class="elRef" href="qobject.html#name">name</a>, WId w=0, OpenType ot=Synchronous)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a1aaf970f40573b4e39ae6167f4c2badd">users</a> (const <a class="elRef" href="qstring.html">QString</a> &wallet)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#ab1b58623275af43a137859e13a0f22ed">LocalWallet</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a571cde1bda4b8d00b4b43d3eb08530bb">NetworkWallet</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a000df53c2ab5e6824ce93d3fcf44ebb7">PasswordFolder</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#af644bc9318e68cc09b569a762daa3597">FormDataFolder</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a319a6d47c83295c271db2fdc91075eb4">changePassword</a> (const <a class="elRef" href="qstring.html">QString</a> &<a class="elRef" href="qobject.html#name">name</a>, WId w=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#ac0e1b26496c6316b1a02c71063d997b3">folderDoesNotExist</a> (const <a class="elRef" href="qstring.html">QString</a> &wallet, const <a class="elRef" href="qstring.html">QString</a> &folder)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#af480db9d17fdf17c94a333bacdf22785">keyDoesNotExist</a> (const <a class="elRef" href="qstring.html">QString</a> &wallet, const <a class="elRef" href="qstring.html">QString</a> &folder, const <a class="elRef" href="qstring.html">QString</a> &key)</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a0dc090b1e78c54242ff4e14d8270013e">Wallet</a> (int handle, const <a class="elRef" href="qstring.html">QString</a> &<a class="elRef" href="qobject.html#name">name</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKWallet_1_1Wallet.html#a9183eb0d05e5cd53058570cb3596b3b0">Wallet</a> (const <a class="el" href="classKWallet_1_1Wallet.html">Wallet</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e1702f5678c494c39bd1160debdd0b6"></a><!-- doxytag: member="KWallet::Wallet::virtual_hook" ref="a0e1702f5678c494c39bd1160debdd0b6" args="(int id, void *data)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>KDE <a class="el" href="classKWallet_1_1Wallet.html" title="KDE Wallet.">Wallet</a>. </p> <p>This class implements a generic system-wide <a class="el" href="classKWallet_1_1Wallet.html" title="KDE Wallet.">Wallet</a> for KDE. This is the ONLY public interface. The DCOP client is unsupported and considered to be private.</p> <dl class="author"><dt><b>Author:</b></dt><dd>George Staikos <<a href="mailto:staikos@kde.org">staikos@kde.org</a>> KDE <a class="el" href="classKWallet_1_1Wallet.html" title="KDE Wallet.">Wallet</a> Class </dd></dl> <p>Definition at line <a class="el" href="kwallet_8h_source.html#l00048">48</a> of file <a class="el" href="kwallet_8h_source.html">kwallet.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a0dc090b1e78c54242ff4e14d8270013e"></a><!-- doxytag: member="KWallet::Wallet::Wallet" ref="a0dc090b1e78c54242ff4e14d8270013e" args="(int handle, const QString &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Wallet::Wallet </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>handle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>name</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Construct a <a class="el" href="namespaceKWallet.html" title="Namespace collecting all the Wallet-related classes.">KWallet</a> object. </p> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00075">75</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a9183eb0d05e5cd53058570cb3596b3b0"></a><!-- doxytag: member="KWallet::Wallet::Wallet" ref="a9183eb0d05e5cd53058570cb3596b3b0" args="(const Wallet &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KWallet::Wallet::Wallet </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKWallet_1_1Wallet.html">Wallet</a> & </td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Copy a <a class="el" href="namespaceKWallet.html" title="Namespace collecting all the Wallet-related classes.">KWallet</a> object. </p> </div> </div> <a class="anchor" id="a443dc95f50e4a9d8e6d5282e13fedcde"></a><!-- doxytag: member="KWallet::Wallet::~Wallet" ref="a443dc95f50e4a9d8e6d5282e13fedcde" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Wallet::~Wallet </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destroy a <a class="el" href="namespaceKWallet.html" title="Namespace collecting all the Wallet-related classes.">KWallet</a> object. </p> <p>Closes the wallet. </p> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00106">106</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a319a6d47c83295c271db2fdc91075eb4"></a><!-- doxytag: member="KWallet::Wallet::changePassword" ref="a319a6d47c83295c271db2fdc91075eb4" args="(const QString &name, WId w=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wallet::changePassword </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">WId </td> <td class="paramname"><em>w</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Request to the wallet service to change the password of the wallet <code>name</code>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The the wallet to change the password of. </td></tr> <tr><td class="paramname">w</td><td>The window id to associate any dialogs with. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00129">129</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a31165700f48d8deb3c8568ff551c5c25"></a><!-- doxytag: member="KWallet::Wallet::closeWallet" ref="a31165700f48d8deb3c8568ff551c5c25" args="(const QString &name, bool force)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::closeWallet </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>force</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Close the wallet <code>name</code>. </p> <p>The wallet will only be closed if it is open but not in use (rare), or if it is forced closed. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name of the wallet to close. </td></tr> <tr><td class="paramname">force</td><td>Set true to force the wallet closed even if it is in use by others. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00154">154</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a13ea912cda6bb610c3888dad2fd52989"></a><!-- doxytag: member="KWallet::Wallet::createFolder" ref="a13ea912cda6bb610c3888dad2fd52989" args="(const QString &f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::createFolder </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>f</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Created the folder <code>f</code>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">f</td><td>the name of the folder to create </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the folder was successfully created. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00331">331</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a60adf360e55acd5ca8604e371555859d"></a><!-- doxytag: member="KWallet::Wallet::currentFolder" ref="a60adf360e55acd5ca8604e371555859d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" href="qstring.html">QString</a> & Wallet::currentFolder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine the current working folder in the wallet. </p> <p>If the folder name is empty, it is working in the global folder, which is valid but discouraged. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns the current working folder. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00392">392</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a6a01ec7d9c1caf5d45150202b611ff92"></a><!-- doxytag: member="KWallet::Wallet::deleteWallet" ref="a6a01ec7d9c1caf5d45150202b611ff92" args="(const QString &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::deleteWallet </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>name</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Delete the wallet <code>name</code>. </p> <p>The wallet will be forced closed first. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name of the wallet to delete. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00164">164</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="ad4ef51d4d9c1489e23052f8ad852dbaf"></a><!-- doxytag: member="KWallet::Wallet::disconnectApplication" ref="ad4ef51d4d9c1489e23052f8ad852dbaf" args="(const QString &wallet, const QCString &app)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::disconnectApplication </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>wallet</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> & </td> <td class="paramname"><em>app</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Disconnect the application <code>app</code> from <code>wallet</code>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">wallet</td><td>The name of the wallet to disconnect. </td></tr> <tr><td class="paramname">app</td><td>The name of the application to disconnect. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true on success, false on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00206">206</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a8f1b80deaefb2aafc956a9dedf3110f8"></a><!-- doxytag: member="KWallet::Wallet::entryList" ref="a8f1b80deaefb2aafc956a9dedf3110f8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> Wallet::entryList </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Return the list of keys of all entries in this folder. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns an empty list if the wallet is not open, or if the folder is empty. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00299">299</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="ac70609a0f05f136c45bb6ca516f9fe00"></a><!-- doxytag: member="KWallet::Wallet::entryType" ref="ac70609a0f05f136c45bb6ca516f9fe00" args="(const QString &key)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Wallet::EntryType Wallet::entryType </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine the type of the entry <code>key</code> in this folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key to look up. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns an enumerated type representing the type of the entry. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00628">628</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="ac0e1b26496c6316b1a02c71063d997b3"></a><!-- doxytag: member="KWallet::Wallet::folderDoesNotExist" ref="ac0e1b26496c6316b1a02c71063d997b3" args="(const QString &wallet, const QString &folder)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::folderDoesNotExist </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>wallet</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>folder</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine if a folder does not exist in a wallet. </p> <p>This does not require decryption of the wallet. This is a handy optimization to avoid prompting the user if your data is certainly not in the wallet. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">wallet</td><td>The wallet to look in. </td></tr> <tr><td class="paramname">folder</td><td>The folder to look up. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the folder does NOT exist in the wallet, or the wallet does not exist. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00689">689</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a41a0c9ce1bb132ea65f57152d607f719"></a><!-- doxytag: member="KWallet::Wallet::folderList" ref="a41a0c9ce1bb132ea65f57152d607f719" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> Wallet::folderList </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Obtain the list of all folders contained in the wallet. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns an empty list if the wallet is not open. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00283">283</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a6b4f07c045d7650ce30aa8df584ca975"></a><!-- doxytag: member="KWallet::Wallet::folderListUpdated" ref="a6b4f07c045d7650ce30aa8df584ca975" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KWallet::Wallet::folderListUpdated </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Emitted when the folder list is changed in this wallet. </p> </div> </div> <a class="anchor" id="abe99da68e094ad218c302c0851692980"></a><!-- doxytag: member="KWallet::Wallet::folderRemoved" ref="abe99da68e094ad218c302c0851692980" args="(const QString &folder)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KWallet::Wallet::folderRemoved </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>folder</em></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Emitted when a folder in this wallet is removed. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">folder</td><td>The folder that was removed. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2b0129c74641130020b7b95a56539580"></a><!-- doxytag: member="KWallet::Wallet::folderUpdated" ref="a2b0129c74641130020b7b95a56539580" args="(const QString &folder)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KWallet::Wallet::folderUpdated </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>folder</em></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Emitted when a folder in this wallet is updated. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">folder</td><td>The folder that was updated. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="af644bc9318e68cc09b569a762daa3597"></a><!-- doxytag: member="KWallet::Wallet::FormDataFolder" ref="af644bc9318e68cc09b569a762daa3597" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" href="qstring.html">QString</a> Wallet::FormDataFolder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The standardized name of the form data folder. </p> <p>It is automatically created when a wallet is created, but the user may still delete it so you should check for its existence and recreate it if necessary and desired. </p> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00069">69</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a37950be8a2712446a7a86dca489499d2"></a><!-- doxytag: member="KWallet::Wallet::hasEntry" ref="a37950be8a2712446a7a86dca489499d2" args="(const QString &key)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::hasEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine if the current folder has they entry <code>key</code>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key to search for. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the folder contains <code>key</code>. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00596">596</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a75593f21796f7423405dea3a65b74dfe"></a><!-- doxytag: member="KWallet::Wallet::hasFolder" ref="a75593f21796f7423405dea3a65b74dfe" args="(const QString &f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::hasFolder </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>f</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine if the folder <code>f</code> exists in the wallet. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">f</td><td>the name of the folder to check for </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the folder exists in the wallet. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00315">315</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="aa4967b716b8f2be3647e1725e4b912e8"></a><!-- doxytag: member="KWallet::Wallet::isEnabled" ref="aa4967b716b8f2be3647e1725e4b912e8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::isEnabled </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine if the KDE wallet is enabled. </p> <p>Normally you do not need to use this because open() will just fail. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the wallet enabled, else false. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00134">134</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a19e12fb4b32dedec796dd712a93f5df4"></a><!-- doxytag: member="KWallet::Wallet::isOpen" ref="a19e12fb4b32dedec796dd712a93f5df4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::isOpen </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine if the current wallet is open, and is a valid wallet handle. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the wallet handle is valid and open. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00259">259</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a82ec0560e99f0ea21f524de8edbca77f"></a><!-- doxytag: member="KWallet::Wallet::isOpen" ref="a82ec0560e99f0ea21f524de8edbca77f" args="(const QString &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::isOpen </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>name</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine if the wallet <code>name</code> is open by any application. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name of the wallet to check. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the wallet is open, else false. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00144">144</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="af480db9d17fdf17c94a333bacdf22785"></a><!-- doxytag: member="KWallet::Wallet::keyDoesNotExist" ref="af480db9d17fdf17c94a333bacdf22785" args="(const QString &wallet, const QString &folder, const QString &key)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::keyDoesNotExist </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>wallet</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>folder</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine if an entry in a folder does not exist in a wallet. </p> <p>This does not require decryption of the wallet. This is a handy optimization to avoid prompting the user if your data is certainly not in the wallet. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">wallet</td><td>The wallet to look in. </td></tr> <tr><td class="paramname">folder</td><td>The folder to look in. </td></tr> <tr><td class="paramname">key</td><td>The key to look up. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the key does NOT exist in the wallet, or the folder or wallet does not exist. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00699">699</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="ab1b58623275af43a137859e13a0f22ed"></a><!-- doxytag: member="KWallet::Wallet::LocalWallet" ref="ab1b58623275af43a137859e13a0f22ed" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" href="qstring.html">QString</a> Wallet::LocalWallet </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The name of the wallet used to store local passwords. </p> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00036">36</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a17fb06745ae8c526baeff2b41fb3c1f0"></a><!-- doxytag: member="KWallet::Wallet::lockWallet" ref="a17fb06745ae8c526baeff2b41fb3c1f0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::lockWallet </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This closes and locks the current wallet. </p> <p>It will disconnect all applications using the wallet. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00236">236</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a571cde1bda4b8d00b4b43d3eb08530bb"></a><!-- doxytag: member="KWallet::Wallet::NetworkWallet" ref="a571cde1bda4b8d00b4b43d3eb08530bb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" href="qstring.html">QString</a> Wallet::NetworkWallet </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The name of the wallet used to store network passwords. </p> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00054">54</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a4b362f2b74c8d8d2ccb7480b901eb949"></a><!-- doxytag: member="KWallet::Wallet::openWallet" ref="a4b362f2b74c8d8d2ccb7480b901eb949" args="(const QString &name, WId w=0, OpenType ot=Synchronous)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKWallet_1_1Wallet.html">Wallet</a> * Wallet::openWallet </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">WId </td> <td class="paramname"><em>w</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">OpenType </td> <td class="paramname"><em>ot</em> = <code>Synchronous</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Open the wallet <code>name</code>. </p> <p>The user will be prompted to allow your application to open the wallet, and may be prompted for a password. You are responsible for deleting this object when you are done with it. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name of the wallet to open. </td></tr> <tr><td class="paramname">ot</td><td>If Asynchronous, the call will return immediately with a non-null pointer to an invalid wallet. You must immediately connect the <a class="el" href="classKWallet_1_1Wallet.html#aef7f7a9d3f2f1e81bb32d1c025e2a799" title="Emitted when a wallet is opened in asynchronous mode.">walletOpened()</a> signal to a slot so that you will know when it is opened, or when it fails. </td></tr> <tr><td class="paramname">w</td><td>The window id to associate any dialogs with. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns a pointer to the wallet if successful, or a null pointer on error or if rejected. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00174">174</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a000df53c2ab5e6824ce93d3fcf44ebb7"></a><!-- doxytag: member="KWallet::Wallet::PasswordFolder" ref="a000df53c2ab5e6824ce93d3fcf44ebb7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" href="qstring.html">QString</a> Wallet::PasswordFolder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The standardized name of the password folder. </p> <p>It is automatically created when a wallet is created, but the user may still delete it so you should check for its existence and recreate it if necessary and desired. </p> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00065">65</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a8287b46482402cf70d6d8831e4c06473"></a><!-- doxytag: member="KWallet::Wallet::readEntry" ref="a8287b46482402cf70d6d8831e4c06473" args="(const QString &key, QByteArray &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::readEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qbytearray.html">QByteArray</a> & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Read the entry <code>key</code> from the current folder. </p> <p>The entry format is unknown except that it is either a <a class="elRef" href="qbytearray.html">QByteArray</a> or a <a class="elRef" href="qdatastream.html">QDataStream</a>, which effectively means that it is anything. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the entry to read. </td></tr> <tr><td class="paramname">value</td><td>A buffer to fill with the value. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00397">397</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a0d357348d5687dc66f0ecfaf2702f997"></a><!-- doxytag: member="KWallet::Wallet::readEntryList" ref="a0d357348d5687dc66f0ecfaf2702f997" args="(const QString &key, QMap< QString, QByteArray > &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::readEntryList </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qbytearray.html">QByteArray</a> > & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Read the entries matching <code>key</code> from the current folder. </p> <p>The entry format is unknown except that it is either a <a class="elRef" href="qbytearray.html">QByteArray</a> or a <a class="elRef" href="qdatastream.html">QDataStream</a>, which effectively means that it is anything. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the entry to read. Wildcards are supported. </td></tr> <tr><td class="paramname">value</td><td>A buffer to fill with the value. The key in the map is the entry key. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00414">414</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="aa0b5e38d102373e501463daa9c648082"></a><!-- doxytag: member="KWallet::Wallet::readMap" ref="aa0b5e38d102373e501463daa9c648082" args="(const QString &key, QMap< QString, QString > &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::readMap </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Read the map entry <code>key</code> from the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the entry to read. </td></tr> <tr><td class="paramname">value</td><td>A map buffer to fill with the value. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. Will return an error if the key was not originally written as a map. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00447">447</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a937a4191ec43f84798ab5e3e2ca6ad8e"></a><!-- doxytag: member="KWallet::Wallet::readMapList" ref="a937a4191ec43f84798ab5e3e2ca6ad8e" args="(const QString &key, QMap< QString, QMap< QString, QString > > &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::readMapList </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > > & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Read the map entry <code>key</code> from the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the entry to read. Wildcards are supported. </td></tr> <tr><td class="paramname">value</td><td>A buffer to fill with the value. The key in the map is the entry key. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. Will return an error if the key was not originally written as a map. </dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00469">469</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="ac8d99286d1b1be392fe9a4ec540388ac"></a><!-- doxytag: member="KWallet::Wallet::readPassword" ref="ac8d99286d1b1be392fe9a4ec540388ac" args="(const QString &key, QString &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::readPassword </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Read the password entry <code>key</code> from the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the entry to read. </td></tr> <tr><td class="paramname">value</td><td>A password buffer to fill with the value. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. Will return an error if the key was not originally written as a password. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00495">495</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a6efc9a0c696b662be1528094311b6078"></a><!-- doxytag: member="KWallet::Wallet::readPasswordList" ref="a6efc9a0c696b662be1528094311b6078" args="(const QString &key, QMap< QString, QString > &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::readPasswordList </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Read the password entry <code>key</code> from the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the entry to read. Wildcards are supported. </td></tr> <tr><td class="paramname">value</td><td>A buffer to fill with the value. The key in the map is the entry key. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. Will return an error if the key was not originally written as a password. </dd></dl> <dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00512">512</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a24f8b5ae0670de3d1ec57ca1194047f0"></a><!-- doxytag: member="KWallet::Wallet::removeEntry" ref="a24f8b5ae0670de3d1ec57ca1194047f0" args="(const QString &key)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::removeEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Remove the entry <code>key</code> from the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key to remove. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00612">612</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="aaa0b8a3b0eeb3cfb221581ae49c81ceb"></a><!-- doxytag: member="KWallet::Wallet::removeFolder" ref="aaa0b8a3b0eeb3cfb221581ae49c81ceb" args="(const QString &f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::removeFolder </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>f</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Remove the folder <code>f</code> and all its entries from the wallet. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">f</td><td>the name of the folder to remove </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the folder was successfully removed. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00372">372</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a0f0dee017afd3b4d2ed05ae35d0af034"></a><!-- doxytag: member="KWallet::Wallet::renameEntry" ref="a0f0dee017afd3b4d2ed05ae35d0af034" args="(const QString &oldName, const QString &newName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::renameEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>oldName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>newName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Rename the entry <code>oldName</code> to <code>newName</code>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">oldName</td><td>The original key of the entry. </td></tr> <tr><td class="paramname">newName</td><td>The new key of the entry. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00431">431</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="afbcd4a0eacdadf15ccfeadf528b0b96e"></a><!-- doxytag: member="KWallet::Wallet::requestChangePassword" ref="afbcd4a0eacdadf15ccfeadf528b0b96e" args="(WId w=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wallet::requestChangePassword </td> <td>(</td> <td class="paramtype">WId </td> <td class="paramname"><em>w</em> = <code>0</code></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Request to the wallet service to change the password of the current wallet. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">w</td><td>The window id to associate any dialogs with. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00264">264</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="ae3da6744454ec13fb52f41731b215765"></a><!-- doxytag: member="KWallet::Wallet::setFolder" ref="ae3da6744454ec13fb52f41731b215765" args="(const QString &f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wallet::setFolder </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>f</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set the current working folder to <code>f</code>. </p> <p>The folder must exist, or this call will fail. Create a folder with <a class="el" href="classKWallet_1_1Wallet.html#a13ea912cda6bb610c3888dad2fd52989" title="Created the folder f.">createFolder()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">f</td><td>the name of the folder to make the working folder </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the folder was successfully set. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00349">349</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a130cd4fc92605d7e237d1105a9ef08c5"></a><!-- doxytag: member="KWallet::Wallet::sync" ref="a130cd4fc92605d7e237d1105a9ef08c5" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::sync </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This syncs the wallet file on disk with what is in memory. </p> <p>You don't normally need to use this. It happens automatically on close. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00226">226</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a1aaf970f40573b4e39ae6167f4c2badd"></a><!-- doxytag: member="KWallet::Wallet::users" ref="a1aaf970f40573b4e39ae6167f4c2badd" args="(const QString &wallet)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> Wallet::users </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>wallet</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>List the applications that are using the wallet <code>wallet</code>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">wallet</td><td>The wallet to query. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns a list of all DCOP application IDs using the wallet. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00216">216</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a697ff23f1fbc85bd6e18f5e6bb078e01"></a><!-- doxytag: member="KWallet::Wallet::walletClosed" ref="a697ff23f1fbc85bd6e18f5e6bb078e01" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KWallet::Wallet::walletClosed </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Emitted when this wallet is closed. </p> </div> </div> <a class="anchor" id="a48ef2d3a1c1622cce7bb1c1655b2b842"></a><!-- doxytag: member="KWallet::Wallet::walletList" ref="a48ef2d3a1c1622cce7bb1c1655b2b842" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> Wallet::walletList </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>List all the wallets available. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns a list of the names of all wallets that are open. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00119">119</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a2f292f521ce0805c3d4465ff4066138c"></a><!-- doxytag: member="KWallet::Wallet::walletName" ref="a2f292f521ce0805c3d4465ff4066138c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" href="qstring.html">QString</a> & Wallet::walletName </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The name of the current wallet. </p> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00254">254</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="aef7f7a9d3f2f1e81bb32d1c025e2a799"></a><!-- doxytag: member="KWallet::Wallet::walletOpened" ref="aef7f7a9d3f2f1e81bb32d1c025e2a799" args="(bool success)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KWallet::Wallet::walletOpened </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>success</em></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Emitted when a wallet is opened in asynchronous mode. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">success</td><td>True if the wallet was opened successfully. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a6d5989cc8fbe7e304a44dadf7de3e635"></a><!-- doxytag: member="KWallet::Wallet::writeEntry" ref="a6d5989cc8fbe7e304a44dadf7de3e635" args="(const QString &key, const QByteArray &value, EntryType entryType)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::writeEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> & </td> <td class="paramname"><em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">EntryType </td> <td class="paramname"><em>entryType</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Write <code>key</code> = <code>value</code> as a binary entry to the current folder. </p> <p>Be careful with this, it could cause inconsistency in the future since you can put an arbitrary entry type in place. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the new entry. </td></tr> <tr><td class="paramname">value</td><td>The value of the entry. </td></tr> <tr><td class="paramname">entryType</td><td>The type of the entry. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00529">529</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="a459ca4c60660976ebcfb53389c015df7"></a><!-- doxytag: member="KWallet::Wallet::writeEntry" ref="a459ca4c60660976ebcfb53389c015df7" args="(const QString &key, const QByteArray &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::writeEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Write <code>key</code> = <code>value</code> as a binary entry to the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the new entry. </td></tr> <tr><td class="paramname">value</td><td>The value of the entry. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00545">545</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="af859025af4a612a25e24724c9cdada52"></a><!-- doxytag: member="KWallet::Wallet::writeMap" ref="af859025af4a612a25e24724c9cdada52" args="(const QString &key, const QMap< QString, QString > &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::writeMap </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qmap.html">QMap</a>< <a class="elRef" href="qstring.html">QString</a>, <a class="elRef" href="qstring.html">QString</a> > & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Write <code>key</code> = <code>value</code> as a map to the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the new entry. </td></tr> <tr><td class="paramname">value</td><td>The value of the map. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00561">561</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <a class="anchor" id="ad855eaa7974e230a5d26abb74fbbc89d"></a><!-- doxytag: member="KWallet::Wallet::writePassword" ref="ad855eaa7974e230a5d26abb74fbbc89d" args="(const QString &key, const QString &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Wallet::writePassword </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Write <code>key</code> = <code>value</code> as a password to the current folder. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>The key of the new entry. </td></tr> <tr><td class="paramname">value</td><td>The value of the password. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 on success, non-zero on error. </dd></dl> <p>Definition at line <a class="el" href="kwallet_8cc_source.html#l00580">580</a> of file <a class="el" href="kwallet_8cc_source.html">kwallet.cc</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kwallet_8h_source.html">kwallet.h</a></li> <li><a class="el" href="kwallet_8cc_source.html">kwallet.cc</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>kwallet</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="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="classKWallet_1_1Wallet.html">kwallet::wallet</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> <a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <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> <a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../kio/kio/html/index.html">kio</a></li><li> <a href="../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <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> <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="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>