<?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>knewstuff: KNS::DownloadDialog Class Reference (knewstuff)</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=".">knewstuff</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="namespaceKNS.html">KNS</a> </li> <li class="navelem"><a class="el" href="classKNS_1_1DownloadDialog.html">DownloadDialog</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-slots">Public Slots</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-slots">Protected Slots</a> </div> <div class="headertitle"> <div class="title">KNS::DownloadDialog Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="KNS::DownloadDialog" --><!-- doxytag: inherits="KDialogBase" --> <p>Common download dialog for data browsing and installation. <a href="classKNS_1_1DownloadDialog.html#details">More...</a></p> <p><code>#include <<a class="el" href="downloaddialog_8h_source.html">downloaddialog.h</a>></code></p> <p>Inherits KDialogBase.</p> <p><a href="classKNS_1_1DownloadDialog-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-slots"></a> Public Slots</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a95e84db307ec52eaa935fb1b3f8b03af">slotProviders</a> (<a class="elRef" href="qptrlist.html">Provider::List</a> *list)</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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#aa930ab6b25ba9108c93c66c557bfff6f">DownloadDialog</a> (<a class="el" href="classKNS_1_1Engine.html">Engine</a> *engine, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &caption)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#acb289f17af41f4e297b43d2c23e73c62">DownloadDialog</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const <a class="elRef" href="qstring.html">QString</a> &caption)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a9630731160f0ecabbd0dfee2a8dd9752">~DownloadDialog</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#ab4b2a21538f9a20f460d6897ddaf01dd">setType</a> (<a class="elRef" href="qstring.html">QString</a> type)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#ad2e7e335733809225b3558e07a79ac4b">load</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a44dc63fc2bb13e1525496ce64e746576">setProviderList</a> (const <a class="elRef" href="qstring.html">QString</a> &providerList)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a0b3073d3e345f08643a4048882c595c6">load</a> (<a class="elRef" href="qstring.html">QString</a> providerList)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a420b559100ae8c734be56d257352e1c6">addProvider</a> (<a class="el" href="classKNS_1_1Provider.html">Provider</a> *p)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a4f8c3e16235c8b5187818015b1bd2a22">addEntry</a> (<a class="el" href="classKNS_1_1Entry.html">Entry</a> *entry)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a8903ed88608a5b6ad56c223c6995f391">addEntry</a> (<a class="el" href="classKNS_1_1Entry.html">Entry</a> *entry, const <a class="elRef" href="qstringlist.html">QStringList</a> &variants)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a4fb3da65ee0ff36b430e9e84448e8b99">clear</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a3562e44f5f434ef01f58ddded71956b5">DownloadDialog</a> (<a class="el" href="classKNS_1_1Engine.html">Engine</a> *engine, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a834b656234a43b7db62a5d4b6eb6b0d8">DownloadDialog</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qptrlist.html">QPtrList</a>< <a class="el" href="classKNS_1_1Entry.html">Entry</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a56bda3bd22a5c6efdf684cb87f1297e7">installedEntries</a> ()</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 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#a09bd461976b6238856ae562df377396b">open</a> (const <a class="elRef" href="qstring.html">QString</a> &type, const <a class="elRef" href="qstring.html">QString</a> &caption)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKNS_1_1DownloadDialog.html#ad9e3481999af8ce9000521ea46dc3b61">open</a> (<a class="elRef" href="qstring.html">QString</a> type) KDE_DEPRECATED</td></tr> <tr><td colspan="2"><h2><a name="pro-slots"></a> Protected Slots</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b5b853f2c39e277049de5d381238a2d"></a><!-- doxytag: member="KNS::DownloadDialog::slotApply" ref="a6b5b853f2c39e277049de5d381238a2d" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>slotApply</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf9f9001f5487430d31e6faead1aa96c"></a><!-- doxytag: member="KNS::DownloadDialog::slotOk" ref="adf9f9001f5487430d31e6faead1aa96c" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>slotOk</b> ()</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Common download dialog for data browsing and installation. </p> <p>It provides an easy-to-use convenience method named <a class="el" href="classKNS_1_1DownloadDialog.html#a09bd461976b6238856ae562df377396b" title="Opens the download dialog.">open()</a> which does all the work, unless a more complex operation is needed. </p> <div class="fragment"><pre class="fragment"> <a class="code" href="classKNS_1_1DownloadDialog.html#a09bd461976b6238856ae562df377396b" title="Opens the download dialog.">KNewStuff::DownloadDialog::open</a>(<span class="stringliteral">"kdesktop/wallpapers"</span>); </pre></div><dl class="author"><dt><b>Author:</b></dt><dd>Josef Spillner (<a href="mailto:spillner@kde.org">spillner@kde.org</a>) </dd></dl> <dl class="user"><dt><b>Maintainer:</b></dt><dd>Josef Spillner (<a href="mailto:spillner@kde.org">spillner@kde.org</a>) </dd></dl> <p>Definition at line <a class="el" href="downloaddialog_8h_source.html#l00057">57</a> of file <a class="el" href="downloaddialog_8h_source.html">downloaddialog.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="aa930ab6b25ba9108c93c66c557bfff6f"></a><!-- doxytag: member="KNS::DownloadDialog::DownloadDialog" ref="aa930ab6b25ba9108c93c66c557bfff6f" args="(Engine *engine, QWidget *parent, const QString &caption)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DownloadDialog::DownloadDialog </td> <td>(</td> <td class="paramtype"><a class="el" href="classKNS_1_1Engine.html">Engine</a> * </td> <td class="paramname"><em>engine</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>caption</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">engine</td><td>a pre-built engine object, or NULL if the download dialog should create an engine on its own </td></tr> <tr><td class="paramname">parent</td><td>the parent window </td></tr> <tr><td class="paramname">caption</td><td>the dialog caption </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00123">123</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="acb289f17af41f4e297b43d2c23e73c62"></a><!-- doxytag: member="KNS::DownloadDialog::DownloadDialog" ref="acb289f17af41f4e297b43d2c23e73c62" args="(QWidget *parent, const QString &caption)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DownloadDialog::DownloadDialog </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>caption</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Alternative constructor. </p> <p>Always uses an internal engine.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">parent</td><td>the parent window </td></tr> <tr><td class="paramname">caption</td><td>the dialog caption </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00130">130</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a9630731160f0ecabbd0dfee2a8dd9752"></a><!-- doxytag: member="KNS::DownloadDialog::~DownloadDialog" ref="a9630731160f0ecabbd0dfee2a8dd9752" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DownloadDialog::~DownloadDialog </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00156">156</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a3562e44f5f434ef01f58ddded71956b5"></a><!-- doxytag: member="KNS::DownloadDialog::DownloadDialog" ref="a3562e44f5f434ef01f58ddded71956b5" args="(Engine *engine, QWidget *parent=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DownloadDialog::DownloadDialog </td> <td>(</td> <td class="paramtype"><a class="el" href="classKNS_1_1Engine.html">Engine</a> * </td> <td class="paramname"><em>engine</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">engine</td><td>a pre-built engine object, or NULL if the download dialog should create an engine on its own </td></tr> <tr><td class="paramname">parent</td><td>the parent window </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00100">100</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a834b656234a43b7db62a5d4b6eb6b0d8"></a><!-- doxytag: member="KNS::DownloadDialog::DownloadDialog" ref="a834b656234a43b7db62a5d4b6eb6b0d8" args="(QWidget *parent=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DownloadDialog::DownloadDialog </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Alternative constructor. </p> <p>Always uses an internal engine.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">parent</td><td>the parent window </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00107">107</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4f8c3e16235c8b5187818015b1bd2a22"></a><!-- doxytag: member="KNS::DownloadDialog::addEntry" ref="a4f8c3e16235c8b5187818015b1bd2a22" args="(Entry *entry)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::addEntry </td> <td>(</td> <td class="paramtype"><a class="el" href="classKNS_1_1Entry.html">Entry</a> * </td> <td class="paramname"><em>entry</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds an additional entry to the current provider. </p> <p>This is normally done internally.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">entry</td><td>a Hotstuff data entry to be added </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00448">448</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a8903ed88608a5b6ad56c223c6995f391"></a><!-- doxytag: member="KNS::DownloadDialog::addEntry" ref="a8903ed88608a5b6ad56c223c6995f391" args="(Entry *entry, const QStringList &variants)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::addEntry </td> <td>(</td> <td class="paramtype"><a class="el" href="classKNS_1_1Entry.html">Entry</a> * </td> <td class="paramname"><em>entry</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> & </td> <td class="paramname"><em>variants</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds an additional entry to the current provider. </p> <p>This is normally done internal. This version takes into accounts the download variant.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">entry</td><td>a Hotstuff data entry to be added </td></tr> <tr><td class="paramname">variants</td><td>all variants this entry is intended for </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00411">411</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a420b559100ae8c734be56d257352e1c6"></a><!-- doxytag: member="KNS::DownloadDialog::addProvider" ref="a420b559100ae8c734be56d257352e1c6" args="(Provider *p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::addProvider </td> <td>(</td> <td class="paramtype"><a class="el" href="classKNS_1_1Provider.html">Provider</a> * </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds another provider to the download dialog. </p> <p>This is normally done internally.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">p</td><td>the Hotstuff provider to be added </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00215">215</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a4fb3da65ee0ff36b430e9e84448e8b99"></a><!-- doxytag: member="KNS::DownloadDialog::clear" ref="a4fb3da65ee0ff36b430e9e84448e8b99" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::clear </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Clears the entry list of the current provider. </p> <p>This is normally done internally. </p> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00175">175</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a56bda3bd22a5c6efdf684cb87f1297e7"></a><!-- doxytag: member="KNS::DownloadDialog::installedEntries" ref="a56bda3bd22a5c6efdf684cb87f1297e7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qptrlist.html">QPtrList</a>< <a class="el" href="classKNS_1_1Entry.html">Entry</a> > DownloadDialog::installedEntries </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the list of installed data entries. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>list of data entries which have been installed </dd></dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00875">875</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="ad2e7e335733809225b3558e07a79ac4b"></a><!-- doxytag: member="KNS::DownloadDialog::load" ref="ad2e7e335733809225b3558e07a79ac4b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::load </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Fetches descriptions of all available data, optionally considering a previously set type. </p> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00165">165</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a0b3073d3e345f08643a4048882c595c6"></a><!-- doxytag: member="KNS::DownloadDialog::load" ref="a0b3073d3e345f08643a4048882c595c6" args="(QString providerList)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::load </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> </td> <td class="paramname"><em>providerList</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Fetches descriptions of all available data, optionally considering a previously set type. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">providerList</td><td>the URl to the list of providers; if empty we first try the ProvidersUrl from KGlobal::config, then we fall back to a hardcoded value. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00170">170</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a09bd461976b6238856ae562df377396b"></a><!-- doxytag: member="KNS::DownloadDialog::open" ref="a09bd461976b6238856ae562df377396b" args="(const QString &type, const QString &caption)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::open </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>caption</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Opens the download dialog. </p> <p>This is a convenience method which automatically sets up the dialog. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKNS_1_1DownloadDialog.html#ab4b2a21538f9a20f460d6897ddaf01dd" title="Restricts the display of available data to a certain data type.">setType()</a> </dd> <dd> <a class="el" href="classKNS_1_1DownloadDialog.html#ad2e7e335733809225b3558e07a79ac4b" title="Fetches descriptions of all available data, optionally considering a previously set type...">load()</a></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">type</td><td>a data type such as "korganizer/calendar" </td></tr> <tr><td class="paramname">caption</td><td>the dialog caption </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00861">861</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="ad9e3481999af8ce9000521ea46dc3b61"></a><!-- doxytag: member="KNS::DownloadDialog::open" ref="ad9e3481999af8ce9000521ea46dc3b61" args="(QString type) KDE_DEPRECATED" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::open </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> </td> <td class="paramname"><em>type</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Opens the download dialog. </p> <p>This is a convenience method which automatically sets up the dialog. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKNS_1_1DownloadDialog.html#ab4b2a21538f9a20f460d6897ddaf01dd" title="Restricts the display of available data to a certain data type.">setType()</a> </dd> <dd> <a class="el" href="classKNS_1_1DownloadDialog.html#ad2e7e335733809225b3558e07a79ac4b" title="Fetches descriptions of all available data, optionally considering a previously set type...">load()</a></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">type</td><td>a data type such as "korganizer/calendar" </td></tr> </table> </dd> </dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>use <a class="el" href="classKNS_1_1DownloadDialog.html#a09bd461976b6238856ae562df377396b" title="Opens the download dialog.">open( const QString& type, const QString& caption )</a>; </dd></dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00114">114</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a44dc63fc2bb13e1525496ce64e746576"></a><!-- doxytag: member="KNS::DownloadDialog::setProviderList" ref="a44dc63fc2bb13e1525496ce64e746576" args="(const QString &providerList)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::setProviderList </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>providerList</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Explicitly uses this provider list instead of the one read from the application configuration. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">providerList</td><td>the URL of the provider list</td></tr> </table> </dd> </dl> <dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00848">848</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="ab4b2a21538f9a20f460d6897ddaf01dd"></a><!-- doxytag: member="KNS::DownloadDialog::setType" ref="ab4b2a21538f9a20f460d6897ddaf01dd" args="(QString type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::setType </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> </td> <td class="paramname"><em>type</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Restricts the display of available data to a certain data type. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">type</td><td>a Hotstuff data type such as "korganizer/calendar" </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00843">843</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <a class="anchor" id="a95e84db307ec52eaa935fb1b3f8b03af"></a><!-- doxytag: member="KNS::DownloadDialog::slotProviders" ref="a95e84db307ec52eaa935fb1b3f8b03af" args="(Provider::List *list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DownloadDialog::slotProviders </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qptrlist.html">Provider::List</a> * </td> <td class="paramname"><em>list</em></td><td>)</td> <td><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Availability of the provider list. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">list</td><td>list of Hotstuff providers </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="downloaddialog_8cpp_source.html#l00197">197</a> of file <a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="downloaddialog_8h_source.html">downloaddialog.h</a></li> <li><a class="el" href="downloaddialog_8cpp_source.html">downloaddialog.cpp</a></li> </ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>knewstuff</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><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="classKNewStuff.html">knewstuff</option>, <option value="classKNewStuffGeneric.html">knewstuffgeneric</option>, <option value="classKNewStuffSecure.html">knewstuffsecure</option>, <option value="classKNS_1_1Button.html">kns::button</option>, <option value="classKNS_1_1DownloadDialog.html">kns::downloaddialog</option>, <option value="classKNS_1_1Engine.html">kns::engine</option>, <option value="classKNS_1_1Entry.html">kns::entry</option>, <option value="classKNS_1_1Provider.html">kns::provider</option>, <option value="classKNS_1_1ProviderDialog.html">kns::providerdialog</option>, <option value="classKNS_1_1ProviderLoader.html">kns::providerloader</option>, <option value="classKNS_1_1UploadDialog.html">kns::uploaddialog</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>