Sophie

Sophie

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

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kio/kfile: KFileDialog Class Reference (kio/kfile)</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="../../html/index.html">kio</a> / <a href=".">kfile</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-slots">Protected Slots</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">KFileDialog Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KFileDialog" --><!-- doxytag: inherits="KDialogBase" -->
<p>Provides a user (and developer) friendly way to select files and directories.  
 <a href="classKFileDialog.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kfiledialog_8h_source.html">kfiledialog.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KFileDialog:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKFileDialog.png" usemap="#KFileDialog_map" alt=""/>
  <map id="KFileDialog_map" name="KFileDialog_map">
<area href="classKEncodingFileDialog.html" title="Provides a user (and developer) friendly way to select files with support for choosing encoding..." alt="KEncodingFileDialog" shape="rect" coords="0,56,130,80"/>
</map>
 </div></div>

<p><a href="classKFileDialog-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098">OperationMode</a> { <b>Other</b> =  0, 
<b>Opening</b>, 
<b>Saving</b>
 }</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#aca1ee0834aa99e24008857518720f746">fileSelected</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ab196d6d2272bb83187bfea578cd8bc8a">fileHighlighted</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a83e46627c7d19fa4674c0c0e5c18f3b0">selectionChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a272da39f7c4b7b00f605a0cc75ee7ed4">filterChanged</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;filter)</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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a6d8a6172c023559781c90918bb581a20">KFileDialog</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir, const <a class="elRef" href="qstring.html">QString</a> &amp;filter, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name, bool modal)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#aedd1db993b4061d71342909623abbc4f">KFileDialog</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir, const <a class="elRef" href="qstring.html">QString</a> &amp;filter, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name, bool modal, <a class="elRef" href="qwidget.html">QWidget</a> *widget)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a535daa2a37515297f19c9edd55040954">~KFileDialog</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a077c93d601ed673aa4221fa540f8fc50">selectedURL</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KURL::List&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a8b423a101f59dcd6b65a9a1a6c1d102c">selectedURLs</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ab4937294d59ec5c23f467af4500daa37">baseURL</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#aa79fea03ad98eea8e11fd193540c8e8b">selectedFile</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a8640b176548c47309c98ea246e4f8a29">selectedFiles</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a8252bfdbd0f3c9d469cabc434fd2517b">setURL</a> (const KURL &amp;url, bool clearforward=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ace285ad4426916c045a869c908fb645e">setSelection</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a201f3f4ebb61d99fafa2dca35b2765a7">setOperationMode</a> (<a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098">KFileDialog::OperationMode</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098">OperationMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a85c71ce67e27afd3877694ef8ebcc045">operationMode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a0db8f85de4778453dc831b5549a92fea">setKeepLocation</a> (bool keep)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a6e447b94a553581b2d1a0fbacce3d583">keepsLocation</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a">setFilter</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a4ccfa2e42e5853db00a0d1369b00bd1d">currentFilter</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ae67d592fab68f0133d0479eca516e935">setFilterMimeType</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;label, const KMimeType::List &amp;types, const KMimeType::Ptr &amp;defaultType) KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KMimeType::Ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a0d0fd971d3f18bdf0fcfdb07db594937">currentFilterMimeType</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a37831541b60cf983c0ce41fc4aeb1183">setMimeFilter</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;types, const <a class="elRef" href="qstring.html">QString</a> &amp;defaultType=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a2eeee39828dbff80b7bbe8c9ec9d112e">currentMimeFilter</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a4900812f6af6ed23f3a7ca259e1a37d6">clearFilter</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a06cea0a52c01be38eac1214ac4dc845e">setPreviewWidget</a> (const <a class="elRef" href="qwidget.html">QWidget</a> *w) KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a066ec89536a517169c71265eeb189d59">setPreviewWidget</a> (const <a class="el" href="classKPreviewWidgetBase.html">KPreviewWidgetBase</a> *w)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad32763fc1780180b8d9cac85af86251a"></a><!-- doxytag: member="KFileDialog::show" ref="ad32763fc1780180b8d9cac85af86251a" args="()" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>show</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a8e01e35a93d7980c88318dadc6f7572f">setMode</a> (<a class="el" href="classKFile.html#a51dfa652719902db7d60ebea2ba0d0fd">KFile::Mode</a> m)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a801af64b9156d2923318dae41d12f584">setMode</a> (unsigned int m)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKFile.html#a51dfa652719902db7d60ebea2ba0d0fd">KFile::Mode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a5f75b2ba669b76a3932703e3dd33476d">mode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a0903c448632e67a099f50ebf947c1f19">setLocationLabel</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;text)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KToolBar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a941a50e3d2700ca56ca5bb2ca850b04a">toolBar</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KPushButton *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#afe0157d8f50eabfe38cbf8066b7d6efe">okButton</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KPushButton *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a0af07265d5589d7ece3ee9939338bd52">cancelButton</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKURLBar.html">KURLBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a0befe8043e0ad26ccec4ca2e91f4c1a9">speedBar</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KActionCollection *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#adeecd11a3cab8b910ec9798c3052de91">actionCollection</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a752c10037477dca71a06484aa6bc2781">pathComboIndex</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 <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a812f0953f7220dd73fe44e7be55a080f">getOpenFileName</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;filter=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a4dda8d075dd3382cfc8a753ac1b751e9">getOpenFileNameWId</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir, const <a class="elRef" href="qstring.html">QString</a> &amp;filter, WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;caption)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ae81da9cc1f7efec97ad78b66c4e78903">getOpenFileNames</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;filter=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a253d8042934dc81cf7636691e741fe95">getOpenURL</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;filter=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static KURL::List&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a68840cc39ae3c25b4d381d609dc9e51b">getOpenURLs</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;filter=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a75e063f49cffd32a14d5a148b3d6cd7f">getSaveFileName</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;filter=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#acdbe5e761859074aa6309c959a90ec4f">getSaveFileNameWId</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;dir, const <a class="elRef" href="qstring.html">QString</a> &amp;filter, WId parent_id, const <a class="elRef" href="qstring.html">QString</a> &amp;caption)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#acc5ed3cd53e7dd5aa0c4a11b027c06ee">getSaveURL</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;filter=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a2e7168fe17589b5339e407ed5a9f5b30">getExistingDirectory</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a032ba824f55b2302778ed53c68a3efe8">getExistingURL</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a9385101d1795315932c71a2103d60351">getImageOpenURL</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir=QString::null, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#aaa9cdbff18994ed30a8b3ebc2e7e5012">getStartURL</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir, <a class="elRef" href="qstring.html">QString</a> &amp;recentDirClass)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a65ba0bd60c25dd3dc4d42458fdd594f8"></a><!-- doxytag: member="KFileDialog::setStartDir" ref="a65ba0bd60c25dd3dc4d42458fdd594f8" args="(const KURL &amp;directory)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><b>setStartDir</b> (const KURL &amp;directory)</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="acfafbc6cdc0d5fb089c2d27b40cb0da9"></a><!-- doxytag: member="KFileDialog::urlEntered" ref="acfafbc6cdc0d5fb089c2d27b40cb0da9" args="(const KURL &amp;)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>urlEntered</b> (const KURL &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3888a7fbe7946e6041d4d7aa9cc3ab85"></a><!-- doxytag: member="KFileDialog::enterURL" ref="a3888a7fbe7946e6041d4d7aa9cc3ab85" args="(const KURL &amp;url)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>enterURL</b> (const KURL &amp;url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac71078e641453bad49d160041ed7c4bf"></a><!-- doxytag: member="KFileDialog::enterURL" ref="ac71078e641453bad49d160041ed7c4bf" args="(const QString &amp;url)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>enterURL</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f4d424dc20e4e3e641f76dcadd4b888"></a><!-- doxytag: member="KFileDialog::locationActivated" ref="a1f4d424dc20e4e3e641f76dcadd4b888" args="(const QString &amp;url)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>locationActivated</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#af3c825018c58b16e3cfbc31718822edc">toolbarCallback</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ae1e453daa056c8fdbcba8284427b29c1">pathComboChanged</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ad1e39abc1cf6bebda3a7c0b71b947080">dirCompletion</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3d07863e103c716ec47fca850de01b9"></a><!-- doxytag: member="KFileDialog::slotFilterChanged" ref="aa3d07863e103c716ec47fca850de01b9" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotFilterChanged</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3710bc88ba79c84c7ac954f41ba59265"></a><!-- doxytag: member="KFileDialog::fileHighlighted" ref="a3710bc88ba79c84c7ac954f41ba59265" args="(const KFileItem *i)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>fileHighlighted</b> (const KFileItem *i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7dca5f0033a76bedf2d82ce553db22c5"></a><!-- doxytag: member="KFileDialog::fileSelected" ref="a7dca5f0033a76bedf2d82ce553db22c5" args="(const KFileItem *i)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>fileSelected</b> (const KFileItem *i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab005eb3c5588f7a2504611748c2de824"></a><!-- doxytag: member="KFileDialog::slotStatResult" ref="ab005eb3c5588f7a2504611748c2de824" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotStatResult</b> (KIO::Job *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7890d6d9c43ef3fb4de51712ab8d60d3"></a><!-- doxytag: member="KFileDialog::slotLoadingFinished" ref="a7890d6d9c43ef3fb4de51712ab8d60d3" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotLoadingFinished</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aacaf758e2ec5101042f1e4797b800c78"></a><!-- doxytag: member="KFileDialog::fileCompletion" ref="aacaf758e2ec5101042f1e4797b800c78" args="(const QString &amp;)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>fileCompletion</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a15823cbc52705429d31c892647a5958f">toggleSpeedbar</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#af58b2304c13a620b2db59076da66da8b">toggleBookmarks</a> (bool show)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#acca0b734e6b1d7b3dc2ee492c68a4a71">updateStatusLine</a> (int dirs, int files)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c1317b7140f60a352f370e708fa9339"></a><!-- doxytag: member="KFileDialog::slotOk" ref="a1c1317b7140f60a352f370e708fa9339" args="()" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>slotOk</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdb5810dbe9a7ea22eeb62eb13b8ae73"></a><!-- doxytag: member="KFileDialog::accept" ref="acdb5810dbe9a7ea22eeb62eb13b8ae73" args="()" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>accept</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6cd24b0960236bf7b373264572ef1ae6"></a><!-- doxytag: member="KFileDialog::slotCancel" ref="a6cd24b0960236bf7b373264572ef1ae6" args="()" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>slotCancel</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47a1865128ae7d4f5b9d4a28af87a385"></a><!-- doxytag: member="KFileDialog::slotAutoSelectExtClicked" ref="a47a1865128ae7d4f5b9d4a28af87a385" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotAutoSelectExtClicked</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad69700e66aa0a8d3644d3ceb9746ee71"></a><!-- doxytag: member="KFileDialog::addToRecentDocuments" ref="ad69700e66aa0a8d3644d3ceb9746ee71" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>addToRecentDocuments</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04ceac334380da33758faf3341e0548f"></a><!-- doxytag: member="KFileDialog::initSpeedbar" ref="a04ceac334380da33758faf3341e0548f" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>initSpeedbar</b> ()</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">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a90108ff857a8942bd846c6a20c3bc3b6">keyPressEvent</a> (<a class="elRef" href="qkeyevent.html">QKeyEvent</a> *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a74beed198a9f3cbb5126b73d00c44a50">init</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;startDir, const <a class="elRef" href="qstring.html">QString</a> &amp;filter, <a class="elRef" href="qwidget.html">QWidget</a> *widget)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a4c6ef34bb1918616957a4fae9d1faf34">initGUI</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a8c166a380249e9991b3e18d211c1a750">multiSelectionChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#aa6c93d30d701c6723b4151f7c74263e2">readConfig</a> (KConfig *, const <a class="elRef" href="qstring.html">QString</a> &amp;group=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ae60384cda5851a55e766fb164d18a472">writeConfig</a> (KConfig *, const <a class="elRef" href="qstring.html">QString</a> &amp;group=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a33ba2578d6d0d87636dc28f860380f14">readRecentFiles</a> (KConfig *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a04b6c10cad49278ec158ddfbce4a505a">saveRecentFiles</a> (KConfig *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KURL::List&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a2a67866dc902c6b0e4d84f1365b60de5">tokenize</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;line) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#ac22fc863a7a20da581a480bd7b9f67eb">getCompleteURL</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a8aac531475be31e7c71a536fe0558a99">currentFilterExtension</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileDialog.html#a12c4f68d45c195f5e3592326b4769c6c">updateAutoSelectExtension</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2bdc71925511f2fb6d1c128d7503f67"></a><!-- doxytag: member="KFileDialog::parseSelectedURLs" ref="ab2bdc71925511f2fb6d1c128d7503f67" args="() const " -->
KURL::List &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>parseSelectedURLs</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb2aa6ab903b2b130c181c710c546236"></a><!-- doxytag: member="KFileDialog::virtual_hook" ref="acb2aa6ab903b2b130c181c710c546236" args="(int id, void *data)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afbcd0ae306b9dc5ab017e6528a2812c7"></a><!-- doxytag: member="KFileDialog::toolbar" ref="afbcd0ae306b9dc5ab017e6528a2812c7" args="" -->
KToolBar *&#160;</td><td class="memItemRight" valign="bottom"><b>toolbar</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac233e4790931335d5295870467864bac"></a><!-- doxytag: member="KFileDialog::locationEdit" ref="ac233e4790931335d5295870467864bac" args="" -->
<a class="el" href="classKURLComboBox.html">KURLComboBox</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>locationEdit</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d94d2b380bbe74a2c9b4d7586d2a6cc"></a><!-- doxytag: member="KFileDialog::filterWidget" ref="a1d94d2b380bbe74a2c9b4d7586d2a6cc" args="" -->
KFileFilterCombo *&#160;</td><td class="memItemRight" valign="bottom"><b>filterWidget</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a689a2fcbaa9e0fcde46cf769295e633b"></a><!-- doxytag: member="KFileDialog::ops" ref="a689a2fcbaa9e0fcde46cf769295e633b" args="" -->
<a class="el" href="classKDirOperator.html">KDirOperator</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>ops</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4668fa985397f3575e953bae3dc420f0"></a><!-- doxytag: member="KFileDialog::autoDirectoryFollowing" ref="a4668fa985397f3575e953bae3dc420f0" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoDirectoryFollowing</b></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a406c013739caa6a9a3193758f04528e8"></a><!-- doxytag: member="KFileDialog::lastDirectory" ref="a406c013739caa6a9a3193758f04528e8" args="" -->
static KURL *&#160;</td><td class="memItemRight" valign="bottom"><b>lastDirectory</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Provides a user (and developer) friendly way to select files and directories. </p>
<p>The widget can be used as a drop in replacement for the <a class="elRef" href="qfiledialog.html">QFileDialog</a> widget, but has greater functionality and a nicer GUI.</p>
<p>You will usually want to use one of the static methods <a class="el" href="classKFileDialog.html#a812f0953f7220dd73fe44e7be55a080f" title="Creates a modal file dialog and return the selected filename or an empty string if none was chosen...">getOpenFileName()</a>, <a class="el" href="classKFileDialog.html#a75e063f49cffd32a14d5a148b3d6cd7f" title="Creates a modal file dialog and returns the selected filename or an empty string if none was chosen...">getSaveFileName()</a>, <a class="el" href="classKFileDialog.html#a253d8042934dc81cf7636691e741fe95" title="Creates a modal file dialog and returns the selected URL or an empty string if none was chosen...">getOpenURL()</a> or for multiple files <a class="el" href="classKFileDialog.html#ae81da9cc1f7efec97ad78b66c4e78903" title="Creates a modal file dialog and returns the selected filenames or an empty list if none was chosen...">getOpenFileNames()</a> or <a class="el" href="classKFileDialog.html#a68840cc39ae3c25b4d381d609dc9e51b" title="Creates a modal file dialog and returns the selected URLs or an empty list if none was chosen...">getOpenURLs()</a>.</p>
<p>The dialog has been designed to allow applications to customise it by subclassing. It uses geometry management to ensure that subclasses can easily add children that will be incorporated into the layout.</p>
<div class="image">
<img src="kfiledialog.png" alt="kfiledialog.png"/>
<div class="caption">
KDE File Dialog</div></div>
<p> A file selection dialog.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Richard J. Moore &lt;<a href="mailto:rich@kde.org">rich@kde.org</a>&gt;, Carsten Pfeiffer &lt;<a href="mailto:pfeiffer@kde.org">pfeiffer@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8h_source.html#l00077">77</a> of file <a class="el" href="kfiledialog_8h_source.html">kfiledialog.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a92793cc7dbd998ec502567ab056b7098"></a><!-- doxytag: member="KFileDialog::OperationMode" ref="a92793cc7dbd998ec502567ab056b7098" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098">KFileDialog::OperationMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Defines some default behavior of the filedialog. </p>
<p>E.g. in mode <code>Opening</code> and <code>Saving</code>, the selected files/urls will be added to the "recent documents" list. The Saving mode also implies <a class="el" href="classKFileDialog.html#a0db8f85de4778453dc831b5549a92fea" title="Sets whether the filename/url should be kept when changing directories.">setKeepLocation()</a> being set.</p>
<p><code>Other</code> means that no default actions are performed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a201f3f4ebb61d99fafa2dca35b2765a7" title="Sets the operational mode of the filedialog to Saving, Opening or Other.">setOperationMode</a> </dd>
<dd>
<a class="el" href="classKFileDialog.html#a85c71ce67e27afd3877694ef8ebcc045">operationMode</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8h_source.html#l00094">94</a> of file <a class="el" href="kfiledialog_8h_source.html">kfiledialog.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6d8a6172c023559781c90918bb581a20"></a><!-- doxytag: member="KFileDialog::KFileDialog" ref="a6d8a6172c023559781c90918bb581a20" args="(const QString &amp;startDir, const QString &amp;filter, QWidget *parent, const char *name, bool modal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KFileDialog::KFileDialog </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>modal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a file dialog. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword.</li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>A shell glob or a mime-type-filter that specifies which files to display. </td></tr>
    <tr><td class="paramname">parent</td><td>The parent widget of this dialog </td></tr>
    <tr><td class="paramname">name</td><td>The name of this object </td></tr>
    <tr><td class="paramname">modal</td><td>Whether to create a modal dialog or not See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to use this argument. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00169">169</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aedd1db993b4061d71342909623abbc4f"></a><!-- doxytag: member="KFileDialog::KFileDialog" ref="aedd1db993b4061d71342909623abbc4f" args="(const QString &amp;startDir, const QString &amp;filter, QWidget *parent, const char *name, bool modal, QWidget *widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KFileDialog::KFileDialog </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>modal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>widget</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a file dialog. </p>
<p>The parameters here are identical to the first constructor except for the addition of a <a class="elRef" href="qwidget.html">QWidget</a> parameter.</p>
<p>Historical note: The original version of <a class="el" href="classKFileDialog.html" title="Provides a user (and developer) friendly way to select files and directories.">KFileDialog</a> did not have this extra parameter. It was added later, and, in order to maintain binary compatibility, it was placed in a new constructor instead of added to the original one.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword.</li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>A shell glob or a mime-type-filter that specifies which files to display. See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to use this argument.</td></tr>
    <tr><td class="paramname">widget</td><td>A widget, or a widget of widgets, for displaying custom data in the dialog. This can be used, for example, to display a check box with the caption "Open as read-only". When creating this widget, you don't need to specify a parent, since the widget's parent will be set automatically by <a class="el" href="classKFileDialog.html" title="Provides a user (and developer) friendly way to select files and directories.">KFileDialog</a>. </td></tr>
    <tr><td class="paramname">parent</td><td>The parent widget of this dialog </td></tr>
    <tr><td class="paramname">name</td><td>The name of this object </td></tr>
    <tr><td class="paramname">modal</td><td>Whether to create a modal dialog or not </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00176">176</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a535daa2a37515297f19c9edd55040954"></a><!-- doxytag: member="KFileDialog::~KFileDialog" ref="a535daa2a37515297f19c9edd55040954" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KFileDialog::~KFileDialog </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructs the file dialog. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00184">184</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adeecd11a3cab8b910ec9798c3052de91"></a><!-- doxytag: member="KFileDialog::actionCollection" ref="adeecd11a3cab8b910ec9798c3052de91" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KActionCollection * KFileDialog::actionCollection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the action collection, holding all the used KActions. </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l02197">2197</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab4937294d59ec5c23f467af4500daa37"></a><!-- doxytag: member="KFileDialog::baseURL" ref="ab4937294d59ec5c23f467af4500daa37" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::baseURL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the currently shown directory. </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01583">1583</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0af07265d5589d7ece3ee9939338bd52"></a><!-- doxytag: member="KFileDialog::cancelButton" ref="a0af07265d5589d7ece3ee9939338bd52" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPushButton * KFileDialog::cancelButton </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the Cancel-Button in the filedialog. You may use it e.g. to set a custom text to it. </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01796">1796</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4900812f6af6ed23f3a7ca259e1a37d6"></a><!-- doxytag: member="KFileDialog::clearFilter" ref="a4900812f6af6ed23f3a7ca259e1a37d6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::clearFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears any mime- or namefilter. </p>
<p>Does not reload the directory. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00271">271</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4ccfa2e42e5853db00a0d1369b00bd1d"></a><!-- doxytag: member="KFileDialog::currentFilter" ref="a4ccfa2e42e5853db00a0d1369b00bd1d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::currentFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current filter as entered by the user or one of the predefined set via <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a>. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> </dd>
<dd>
<a class="el" href="classKFileDialog.html#a272da39f7c4b7b00f605a0cc75ee7ed4" title="Emitted when the filter changed, i.e.">filterChanged()</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00234">234</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8aac531475be31e7c71a536fe0558a99"></a><!-- doxytag: member="KFileDialog::currentFilterExtension" ref="a8aac531475be31e7c71a536fe0558a99" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::currentFilterExtension </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the filename extension associated with the <a class="el" href="classKFileDialog.html#a4ccfa2e42e5853db00a0d1369b00bd1d" title="Returns the current filter as entered by the user or one of the predefined set via setFilter()...">currentFilter()</a>. </p>
<p>QString::null is returned if an extension is not available or if <a class="el" href="classKFileDialog.html#a85c71ce67e27afd3877694ef8ebcc045">operationMode()</a> != Saving. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01903">1903</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0d0fd971d3f18bdf0fcfdb07db594937"></a><!-- doxytag: member="KFileDialog::currentFilterMimeType" ref="a0d0fd971d3f18bdf0fcfdb07db594937" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KMimeType::Ptr KFileDialog::currentFilterMimeType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the mimetype for the desired output format. </p>
<p>This is only valid if <a class="el" href="classKFileDialog.html#ae67d592fab68f0133d0479eca516e935" title="Sets the filter up to specify the output type.">setFilterMimeType()</a> has been called previously.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#ae67d592fab68f0133d0479eca516e935" title="Sets the filter up to specify the output type.">setFilterMimeType()</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00293">293</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2eeee39828dbff80b7bbe8c9ec9d112e"></a><!-- doxytag: member="KFileDialog::currentMimeFilter" ref="a2eeee39828dbff80b7bbe8c9ec9d112e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::currentMimeFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The mimetype for the desired output format. </p>
<p>This is only valid if <a class="el" href="classKFileDialog.html#a37831541b60cf983c0ce41fc4aeb1183" title="Sets the filter up to specify the output type.">setMimeFilter()</a> has been called previously.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a37831541b60cf983c0ce41fc4aeb1183" title="Sets the filter up to specify the output type.">setMimeFilter()</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00282">282</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad1e39abc1cf6bebda3a7c0b71b947080"></a><!-- doxytag: member="KFileDialog::dirCompletion" ref="ad1e39abc1cf6bebda3a7c0b71b947080" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::dirCompletion </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01288">1288</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

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

<p>Emitted when the user highlights a file. </p>

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

<p>Emitted when the user selects a file. </p>
<p>It is only emitted in single- selection mode. The best way to get notified about selected file(s) is to connect to the okClicked() signal inherited from KDialogBase and call <a class="el" href="classKFileDialog.html#aa79fea03ad98eea8e11fd193540c8e8b" title="Returns the full path of the selected file in the local filesystem.">selectedFile()</a>, <a class="el" href="classKFileDialog.html#a8640b176548c47309c98ea246e4f8a29" title="Returns a list of all selected local files.">selectedFiles()</a>, <a class="el" href="classKFileDialog.html#a077c93d601ed673aa4221fa540f8fc50">selectedURL()</a> or <a class="el" href="classKFileDialog.html#a8b423a101f59dcd6b65a9a1a6c1d102c">selectedURLs()</a>. </p>

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

<p>Emitted when the filter changed, i.e. </p>
<p>the user entered an own filter or chose one of the predefined set via <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filter</td><td>contains the new filter (only the extension part, not the explanation), i.e. "*.cpp" or "*.cpp *.cc".</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> </dd>
<dd>
<a class="el" href="classKFileDialog.html#a4ccfa2e42e5853db00a0d1369b00bd1d" title="Returns the current filter as entered by the user or one of the predefined set via setFilter()...">currentFilter()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac22fc863a7a20da581a480bd7b9f67eb"></a><!-- doxytag: member="KFileDialog::getCompleteURL" ref="ac22fc863a7a20da581a480bd7b9f67eb" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::getCompleteURL </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>_url</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the absolute version of the URL specified in locationEdit. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00310">310</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2e7168fe17589b5339e407ed5a9f5b30"></a><!-- doxytag: member="KFileDialog::getExistingDirectory" ref="a2e7168fe17589b5339e407ed5a9f5b30" args="(const QString &amp;startDir=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::getExistingDirectory </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and returns the selected directory or an empty string if none was chosen. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01405">1405</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a032ba824f55b2302778ed53c68a3efe8"></a><!-- doxytag: member="KFileDialog::getExistingURL" ref="a032ba824f55b2302778ed53c68a3efe8" args="(const QString &amp;startDir=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::getExistingURL </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and returns the selected directory or an empty string if none was chosen. </p>
<p>Contrary to <a class="el" href="classKFileDialog.html#a2e7168fe17589b5339e407ed5a9f5b30" title="Creates a modal file dialog and returns the selected directory or an empty string if none was chosen...">getExistingDirectory()</a>, this method allows the selection of a remote directory.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01398">1398</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9385101d1795315932c71a2103d60351"></a><!-- doxytag: member="KFileDialog::getImageOpenURL" ref="a9385101d1795315932c71a2103d60351" args="(const QString &amp;startDir=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::getImageOpenURL </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog with an image previewer and returns the selected url or an empty string if none was chosen. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01422">1422</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a812f0953f7220dd73fe44e7be55a080f"></a><!-- doxytag: member="KFileDialog::getOpenFileName" ref="a812f0953f7220dd73fe44e7be55a080f" args="(const QString &amp;startDir=QString::null, const QString &amp;filter=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::getOpenFileName </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and return the selected filename or an empty string if none was chosen. </p>
<p>Note that with this method the user must select an existing filename.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>This is a space separated list of shell globs. You can set the text to be displayed for the glob, and provide multiple globs. See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to do this... </td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01312">1312</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae81da9cc1f7efec97ad78b66c4e78903"></a><!-- doxytag: member="KFileDialog::getOpenFileNames" ref="ae81da9cc1f7efec97ad78b66c4e78903" args="(const QString &amp;startDir=QString::null, const QString &amp;filter=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KFileDialog::getOpenFileNames </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and returns the selected filenames or an empty list if none was chosen. </p>
<p>Note that with this method the user must select an existing filename.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>This is a space separated list of shell globs. You can set the text to be displayed for the glob, and provide multiple globs. See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to do this... </td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01352">1352</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4dda8d075dd3382cfc8a753ac1b751e9"></a><!-- doxytag: member="KFileDialog::getOpenFileNameWId" ref="a4dda8d075dd3382cfc8a753ac1b751e9" args="(const QString &amp;startDir, const QString &amp;filter, WId parent_id, const QString &amp;caption)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::getOpenFileNameWId </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Use this version only if you have no <a class="elRef" href="qwidget.html">QWidget</a> available as parent widget. </p>
<p>This can be the case if the parent widget is a widget in another process or if the parent widget is a non-Qt widget. For example, in a GTK program.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01328">1328</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a253d8042934dc81cf7636691e741fe95"></a><!-- doxytag: member="KFileDialog::getOpenURL" ref="a253d8042934dc81cf7636691e741fe95" args="(const QString &amp;startDir=QString::null, const QString &amp;filter=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::getOpenURL </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and returns the selected URL or an empty string if none was chosen. </p>
<p>Note that with this method the user must select an existing URL.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>This is a space separated list of shell globs. You can set the text to be displayed for the glob, and provide multiple globs. See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to do this... </td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01368">1368</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a68840cc39ae3c25b4d381d609dc9e51b"></a><!-- doxytag: member="KFileDialog::getOpenURLs" ref="a68840cc39ae3c25b4d381d609dc9e51b" args="(const QString &amp;startDir=QString::null, const QString &amp;filter=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL::List KFileDialog::getOpenURLs </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and returns the selected URLs or an empty list if none was chosen. </p>
<p>Note that with this method the user must select an existing filename.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>This is a space separated list of shell globs. You can set the text to be displayed for the glob, and provide multiple globs. See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to do this... </td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01382">1382</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a75e063f49cffd32a14d5a148b3d6cd7f"></a><!-- doxytag: member="KFileDialog::getSaveFileName" ref="a75e063f49cffd32a14d5a148b3d6cd7f" args="(const QString &amp;startDir=QString::null, const QString &amp;filter=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::getSaveFileName </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and returns the selected filename or an empty string if none was chosen. </p>
<p>Note that with this method the user need not select an existing filename.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>a relative path or a filename determining the directory to start in and the file to be selected. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>This is a space separated list of shell globs. You can set the text to be displayed for the glob, and provide multiple globs. See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to do this... </td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01588">1588</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acdbe5e761859074aa6309c959a90ec4f"></a><!-- doxytag: member="KFileDialog::getSaveFileNameWId" ref="acdbe5e761859074aa6309c959a90ec4f" args="(const QString &amp;dir, const QString &amp;filter, WId parent_id, const QString &amp;caption)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::getSaveFileNameWId </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>parent_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01609">1609</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acc5ed3cd53e7dd5aa0c4a11b027c06ee"></a><!-- doxytag: member="KFileDialog::getSaveURL" ref="acc5ed3cd53e7dd5aa0c4a11b027c06ee" args="(const QString &amp;startDir=QString::null, const QString &amp;filter=QString::null, QWidget *parent=0, const QString &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::getSaveURL </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a modal file dialog and returns the selected filename or an empty string if none was chosen. </p>
<p>Note that with this method the user need not select an existing filename.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>This can either be <ul>
<li>The URL of the directory to start in. </li>
<li>a relative path or a filename determining the directory to start in and the file to be selected. </li>
<li>QString::null to start in the current working directory, or the last directory where a file has been selected. </li>
<li>':&lt;keyword&gt;' to start in the directory last used by a filedialog in the same application that specified the same keyword. </li>
<li>'::&lt;keyword&gt;' to start in the directory last used by a filedialog in any application that specified the same keyword. </li>
</ul>
</td></tr>
    <tr><td class="paramname">filter</td><td>This is a space separated list of shell globs. You can set the text to be displayed for the glob, and provide multiple globs. See <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> for details on how to do this... </td></tr>
    <tr><td class="paramname">parent</td><td>The widget the dialog will be centered on initially. </td></tr>
    <tr><td class="paramname">caption</td><td>The name of the dialog widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01638">1638</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aaa9cdbff18994ed30a8b3ebc2e7e5012"></a><!-- doxytag: member="KFileDialog::getStartURL" ref="aaa9cdbff18994ed30a8b3ebc2e7e5012" args="(const QString &amp;startDir, QString &amp;recentDirClass)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::getStartURL </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>recentDirClass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method implements the logic to determine the user's default directory to be listed. </p>
<p>E.g. the documents direcory, home directory or a recently used directory. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">startDir</td><td>A url/directory, to be used. May use the ':' and '::' syntax as documented in the <a class="el" href="classKFileDialog.html#a6d8a6172c023559781c90918bb581a20" title="Constructs a file dialog.">KFileDialog()</a> constructor. </td></tr>
    <tr><td class="paramname">recentDirClass</td><td>If the ':' or '::' syntax is used, recentDirClass will contain the string to be used later for KRecentDir::dir() </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The URL that should be listed by default (e.g. by <a class="el" href="classKFileDialog.html" title="Provides a user (and developer) friendly way to select files and directories.">KFileDialog</a> or <a class="el" href="classKDirSelectDialog.html" title="A pretty dialog for a KDirSelect control for selecting directories.">KDirSelectDialog</a>). </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l02299">2299</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a74beed198a9f3cbb5126b73d00c44a50"></a><!-- doxytag: member="KFileDialog::init" ref="a74beed198a9f3cbb5126b73d00c44a50" args="(const QString &amp;startDir, const QString &amp;filter, QWidget *widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::init </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>startDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>widget</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Perform basic initialization tasks. </p>
<p>Called by constructors. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00811">811</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4c6ef34bb1918616957a4fae9d1faf34"></a><!-- doxytag: member="KFileDialog::initGUI" ref="a4c6ef34bb1918616957a4fae9d1faf34" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::initGUI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>rebuild geometry management. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01064">1064</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6e447b94a553581b2d1a0fbacce3d583"></a><!-- doxytag: member="KFileDialog::keepsLocation" ref="a6e447b94a553581b2d1a0fbacce3d583" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KFileDialog::keepsLocation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>whether the contents of the location edit are kept when changing directories. </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01822">1822</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a90108ff857a8942bd846c6a20c3bc3b6"></a><!-- doxytag: member="KFileDialog::keyPressEvent" ref="a90108ff857a8942bd846c6a20c3bc3b6" args="(QKeyEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::keyPressEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qkeyevent.html">QKeyEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented to animate the cancel button. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l02202">2202</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5f75b2ba669b76a3932703e3dd33476d"></a><!-- doxytag: member="KFileDialog::mode" ref="a5f75b2ba669b76a3932703e3dd33476d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKFile.html#a51dfa652719902db7d60ebea2ba0d0fd">KFile::Mode</a> KFileDialog::mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the mode of the filedialog. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a8e01e35a93d7980c88318dadc6f7572f" title="Convenient overload of the other setMode(unsigned int) method.">setMode()</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01687">1687</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8c166a380249e9991b3e18d211c1a750"></a><!-- doxytag: member="KFileDialog::multiSelectionChanged" ref="a8c166a380249e9991b3e18d211c1a750" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::multiSelectionChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>called when an item is highlighted/selected in multiselection mode. </p>
<p>handles setting the locationEdit. </p>

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

</div>
</div>
<a class="anchor" id="afe0157d8f50eabfe38cbf8066b7d6efe"></a><!-- doxytag: member="KFileDialog::okButton" ref="afe0157d8f50eabfe38cbf8066b7d6efe" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPushButton * KFileDialog::okButton </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the OK-Button in the filedialog. You may use it e.g. to set a custom text to it. </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01791">1791</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a85c71ce67e27afd3877694ef8ebcc045"></a><!-- doxytag: member="KFileDialog::operationMode" ref="a85c71ce67e27afd3877694ef8ebcc045" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098">KFileDialog::OperationMode</a> KFileDialog::operationMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the current operation mode, Opening, Saving or Other. Default is Other.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a85c71ce67e27afd3877694ef8ebcc045">operationMode</a> </dd>
<dd>
<a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098" title="Defines some default behavior of the filedialog.">KFileDialog::OperationMode</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01844">1844</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae1e453daa056c8fdbcba8284427b29c1"></a><!-- doxytag: member="KFileDialog::pathComboChanged" ref="ae1e453daa056c8fdbcba8284427b29c1" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::pathComboChanged </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01285">1285</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a752c10037477dca71a06484aa6bc2781"></a><!-- doxytag: member="KFileDialog::pathComboIndex" ref="a752c10037477dca71a06484aa6bc2781" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KFileDialog::pathComboIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the index of the path combobox so when inserting widgets into the dialog (e.g. subclasses) they can do so without hardcoding in an index </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l02284">2284</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa6c93d30d701c6723b4151f7c74263e2"></a><!-- doxytag: member="KFileDialog::readConfig" ref="aa6c93d30d701c6723b4151f7c74263e2" args="(KConfig *, const QString &amp;group=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::readConfig </td>
          <td>(</td>
          <td class="paramtype">KConfig *&#160;</td>
          <td class="paramname"><em>kc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>group</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads configuration and applies it (size, recent directories, ...) </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01693">1693</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a33ba2578d6d0d87636dc28f860380f14"></a><!-- doxytag: member="KFileDialog::readRecentFiles" ref="a33ba2578d6d0d87636dc28f860380f14" args="(KConfig *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::readRecentFiles </td>
          <td>(</td>
          <td class="paramtype">KConfig *&#160;</td>
          <td class="paramname"><em>kc</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the recent used files and inserts them into the location combobox. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01766">1766</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a04b6c10cad49278ec158ddfbce4a505a"></a><!-- doxytag: member="KFileDialog::saveRecentFiles" ref="a04b6c10cad49278ec158ddfbce4a505a" args="(KConfig *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::saveRecentFiles </td>
          <td>(</td>
          <td class="paramtype">KConfig *&#160;</td>
          <td class="paramname"><em>kc</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Saves the entries from the location combobox. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01781">1781</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa79fea03ad98eea8e11fd193540c8e8b"></a><!-- doxytag: member="KFileDialog::selectedFile" ref="aa79fea03ad98eea8e11fd193540c8e8b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KFileDialog::selectedFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the full path of the selected file in the local filesystem. </p>
<p>(Local files only) </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01541">1541</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8640b176548c47309c98ea246e4f8a29"></a><!-- doxytag: member="KFileDialog::selectedFiles" ref="a8640b176548c47309c98ea246e4f8a29" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KFileDialog::selectedFiles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of all selected local files. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01557">1557</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a077c93d601ed673aa4221fa540f8fc50"></a><!-- doxytag: member="KFileDialog::selectedURL" ref="a077c93d601ed673aa4221fa540f8fc50" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KFileDialog::selectedURL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The selected fully qualified filename. </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01440">1440</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8b423a101f59dcd6b65a9a1a6c1d102c"></a><!-- doxytag: member="KFileDialog::selectedURLs" ref="a8b423a101f59dcd6b65a9a1a6c1d102c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL::List KFileDialog::selectedURLs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The list of selected URLs. </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01448">1448</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a83e46627c7d19fa4674c0c0e5c18f3b0"></a><!-- doxytag: member="KFileDialog::selectionChanged" ref="a83e46627c7d19fa4674c0c0e5c18f3b0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::selectionChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the user hilights one or more files in multiselection mode. </p>
<p>Note: <a class="el" href="classKFileDialog.html#ab196d6d2272bb83187bfea578cd8bc8a" title="Emitted when the user highlights a file.">fileHighlighted()</a> or <a class="el" href="classKFileDialog.html#aca1ee0834aa99e24008857518720f746" title="Emitted when the user selects a file.">fileSelected()</a> are <em>not</em> emitted in multiselection mode. You may use selectedItems() to ask for the current highlighted items. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#aca1ee0834aa99e24008857518720f746" title="Emitted when the user selects a file.">fileSelected</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a715e45099822135eeab4fd3ba828bc4a"></a><!-- doxytag: member="KFileDialog::setFilter" ref="a715e45099822135eeab4fd3ba828bc4a" args="(const QString &amp;filter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>filter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the filter to be used to <code>filter</code>. </p>
<p>You can set more filters for the user to select separated by '<br/>
'. Every filter entry is defined through namefilter|text to diplay. If no | is found in the expression, just the namefilter is shown. Examples:</p>
<div class="fragment"><pre class="fragment"> kfile-&gt;setFilter(<span class="stringliteral">&quot;*.cpp|C++ Source Files\n*.h|Header files&quot;</span>);
 kfile-&gt;setFilter(<span class="stringliteral">&quot;*.cpp&quot;</span>);
 kfile-&gt;setFilter(<span class="stringliteral">&quot;*.cpp|Sources (*.cpp)&quot;</span>);
 kfile-&gt;setFilter(<span class="stringliteral">&quot;*.cpp|&quot;</span> + i18n(<span class="stringliteral">&quot;Sources (*.cpp)&quot;</span>));
 kfile-&gt;setFilter(<span class="stringliteral">&quot;*.cpp *.cc *.C|C++ Source Files\n*.h *.H|Header files&quot;</span>);
</pre></div><p>Note: The text to display is not parsed in any way. So, if you want to show the suffix to select by a specific filter, you must repeat it.</p>
<p>If the filter contains an unescaped '/', a mimetype-filter is assumed. If you would like a '/' visible in your filter it can be escaped with a '\'. You can specify multiple mimetypes like this (separated with space):</p>
<div class="fragment"><pre class="fragment"> kfile-&gt;setFilter( <span class="stringliteral">&quot;image/png text/html text/plain&quot;</span> );
 kfile-&gt;setFilter( <span class="stringliteral">&quot;*.cue|CUE\\/BIN Files (*.cue)&quot;</span> );
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a272da39f7c4b7b00f605a0cc75ee7ed4" title="Emitted when the filter changed, i.e.">filterChanged</a> </dd>
<dd>
<a class="el" href="classKFileDialog.html#a37831541b60cf983c0ce41fc4aeb1183" title="Sets the filter up to specify the output type.">setMimeFilter</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00205">205</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae67d592fab68f0133d0479eca516e935"></a><!-- doxytag: member="KFileDialog::setFilterMimeType" ref="ae67d592fab68f0133d0479eca516e935" args="(const QString &amp;label, const KMimeType::List &amp;types, const KMimeType::Ptr &amp;defaultType) KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setFilterMimeType </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>label</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KMimeType::List &amp;&#160;</td>
          <td class="paramname"><em>types</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KMimeType::Ptr &amp;&#160;</td>
          <td class="paramname"><em>defaultType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the filter up to specify the output type. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">label</td><td>the label to use instead of "Filter:" </td></tr>
    <tr><td class="paramname">types</td><td>a list of mimetypes that can be used as output format </td></tr>
    <tr><td class="paramname">defaultType</td><td>the default mimetype to use as output format.</td></tr>
  </table>
  </dd>
</dl>
<p>Do not use in conjunction with <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00240">240</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0db8f85de4778453dc831b5549a92fea"></a><!-- doxytag: member="KFileDialog::setKeepLocation" ref="a0db8f85de4778453dc831b5549a92fea" args="(bool keep)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setKeepLocation </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>keep</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the filename/url should be kept when changing directories. </p>
<p>This is for example useful when having a predefined filename where the full path for that file is searched.</p>
<p>This is implicitly set when <a class="el" href="classKFileDialog.html#a85c71ce67e27afd3877694ef8ebcc045">operationMode()</a> is KFileDialog::Saving</p>
<p><a class="el" href="classKFileDialog.html#a75e063f49cffd32a14d5a148b3d6cd7f" title="Creates a modal file dialog and returns the selected filename or an empty string if none was chosen...">getSaveFileName()</a> and <a class="el" href="classKFileDialog.html#acc5ed3cd53e7dd5aa0c4a11b027c06ee" title="Creates a modal file dialog and returns the selected filename or an empty string if none was chosen...">getSaveURL()</a> set this to true by default, so that you can type in the filename and change the directory without having to type the name again. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01817">1817</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0903c448632e67a099f50ebf947c1f19"></a><!-- doxytag: member="KFileDialog::setLocationLabel" ref="a0903c448632e67a099f50ebf947c1f19" args="(const QString &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setLocationLabel </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the text to be displayed in front of the selection. </p>
<p>The default is "Location". Most useful if you want to make clear what the location is used for. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00200">200</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a37831541b60cf983c0ce41fc4aeb1183"></a><!-- doxytag: member="KFileDialog::setMimeFilter" ref="a37831541b60cf983c0ce41fc4aeb1183" args="(const QStringList &amp;types, const QString &amp;defaultType=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setMimeFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>types</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>defaultType</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the filter up to specify the output type. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">types</td><td>a list of mimetypes that can be used as output format </td></tr>
    <tr><td class="paramname">defaultType</td><td>the default mimetype to use as output format, if any. If <code>defaultType</code> is set, it will be set as the current item. Otherwise, a first item showing all the mimetypes will be created. Typically, <code>defaultType</code> should be empty for loading and set for saving.</td></tr>
  </table>
  </dd>
</dl>
<p>Do not use in conjunction with <a class="el" href="classKFileDialog.html#a715e45099822135eeab4fd3ba828bc4a" title="Sets the filter to be used to filter.">setFilter()</a> </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00254">254</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8e01e35a93d7980c88318dadc6f7572f"></a><!-- doxytag: member="KFileDialog::setMode" ref="a8e01e35a93d7980c88318dadc6f7572f" args="(KFile::Mode m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKFile.html#a51dfa652719902db7d60ebea2ba0d0fd">KFile::Mode</a>&#160;</td>
          <td class="paramname"><em>m</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenient overload of the other <a class="el" href="classKFileDialog.html#a801af64b9156d2923318dae41d12f584" title="Sets the mode of the dialog.">setMode(unsigned int)</a> method. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01669">1669</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a801af64b9156d2923318dae41d12f584"></a><!-- doxytag: member="KFileDialog::setMode" ref="a801af64b9156d2923318dae41d12f584" args="(unsigned int m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setMode </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>m</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the mode of the dialog. </p>
<p>The mode is defined as (in <a class="el" href="kfile_8h_source.html">kfile.h</a>): </p>
<div class="fragment"><pre class="fragment">    <span class="keyword">enum</span> Mode {
         File         = 1,
         Directory    = 2,
         Files        = 4,
         ExistingOnly = 8,
         LocalOnly    = 16
    };
</pre></div><p> You can OR the values, e.g. </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKFile.html#a51dfa652719902db7d60ebea2ba0d0fd" title="Modes of operation for the dialog.">KFile::Mode</a> <a class="code" href="classKFileDialog.html#a5f75b2ba669b76a3932703e3dd33476d" title="Returns the mode of the filedialog.">mode</a> = <span class="keyword">static_cast&lt;</span><a class="code" href="classKFile.html#a51dfa652719902db7d60ebea2ba0d0fd" title="Modes of operation for the dialog.">KFile::Mode</a><span class="keyword">&gt;</span>( KFile::Files |
                                              KFile::ExistingOnly |
                                              KFile::LocalOnly );
 <a class="code" href="classKFileDialog.html#a8e01e35a93d7980c88318dadc6f7572f" title="Convenient overload of the other setMode(unsigned int) method.">setMode</a>( mode );
</pre></div> 
<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01682">1682</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a201f3f4ebb61d99fafa2dca35b2765a7"></a><!-- doxytag: member="KFileDialog::setOperationMode" ref="a201f3f4ebb61d99fafa2dca35b2765a7" args="(KFileDialog::OperationMode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setOperationMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098">KFileDialog::OperationMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the operational mode of the filedialog to <code>Saving</code>, <code>Opening</code> or <code>Other</code>. </p>
<p>This will set some flags that are specific to loading or saving files. E.g. <a class="el" href="classKFileDialog.html#a0db8f85de4778453dc831b5549a92fea" title="Sets whether the filename/url should be kept when changing directories.">setKeepLocation()</a> makes mostly sense for a save-as dialog. So setOperationMode( KFileDialog::Saving ); sets setKeepLocation for example.</p>
<p>The mode <code>Saving</code>, together with a default filter set via <a class="el" href="classKFileDialog.html#a37831541b60cf983c0ce41fc4aeb1183" title="Sets the filter up to specify the output type.">setMimeFilter()</a> will make the filter combobox read-only.</p>
<p>The default mode is <code>Opening</code>.</p>
<p>Call this method right after instantiating <a class="el" href="classKFileDialog.html" title="Provides a user (and developer) friendly way to select files and directories.">KFileDialog</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileDialog.html#a85c71ce67e27afd3877694ef8ebcc045">operationMode</a> </dd>
<dd>
<a class="el" href="classKFileDialog.html#a92793cc7dbd998ec502567ab056b7098" title="Defines some default behavior of the filedialog.">KFileDialog::OperationMode</a> </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01827">1827</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a06cea0a52c01be38eac1214ac4dc845e"></a><!-- doxytag: member="KFileDialog::setPreviewWidget" ref="a06cea0a52c01be38eac1214ac4dc845e" args="(const QWidget *w) KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setPreviewWidget </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>Add a preview widget and enter the preview mode.</dd></dl>
<p>In this mode the dialog is split and the right part contains your widget. This widget has to inherit <a class="elRef" href="qwidget.html">QWidget</a> and it has to implement a slot showPreview(const KURL &amp;); which is called every time the file changes. You may want to look at koffice/lib/kofficecore/koFilterManager.cc for some hints :)</p>
<p>Ownership is transferred to <a class="el" href="classKFileDialog.html" title="Provides a user (and developer) friendly way to select files and directories.">KFileDialog</a>. You need to create the preview-widget with "new", i.e. on the heap. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00298">298</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a066ec89536a517169c71265eeb189d59"></a><!-- doxytag: member="KFileDialog::setPreviewWidget" ref="a066ec89536a517169c71265eeb189d59" args="(const KPreviewWidgetBase *w)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setPreviewWidget </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKPreviewWidgetBase.html">KPreviewWidgetBase</a> *&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a preview widget and enters the preview mode. </p>
<p>In this mode the dialog is split and the right part contains your preview widget.</p>
<p>Ownership is transferred to <a class="el" href="classKFileDialog.html" title="Provides a user (and developer) friendly way to select files and directories.">KFileDialog</a>. You need to create the preview-widget with "new", i.e. on the heap.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td>The widget to be used for the preview. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l00304">304</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ace285ad4426916c045a869c908fb645e"></a><!-- doxytag: member="KFileDialog::setSelection" ref="ace285ad4426916c045a869c908fb645e" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setSelection </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the file name to preselect to <code>name</code>. </p>
<p>This takes absolute URLs and relative file names. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01213">1213</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8252bfdbd0f3c9d469cabc434fd2517b"></a><!-- doxytag: member="KFileDialog::setURL" ref="a8252bfdbd0f3c9d469cabc434fd2517b" args="(const KURL &amp;url, bool clearforward=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::setURL </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearforward</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the directory to view. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>URL to show. </td></tr>
    <tr><td class="paramname">clearforward</td><td>Indicates whether the forward queue should be cleared. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01152">1152</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0befe8043e0ad26ccec4ca2e91f4c1a9"></a><!-- doxytag: member="KFileDialog::speedBar" ref="a0befe8043e0ad26ccec4ca2e91f4c1a9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKURLBar.html">KURLBar</a> * KFileDialog::speedBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the <a class="el" href="classKURLBar.html" title="KURLBar is a widget that displays icons together with a description.">KURLBar</a> object used as the "speed bar". You can add custom entries to it like that: <div class="fragment"><pre class="fragment"> <a class="code" href="classKURLBar.html" title="KURLBar is a widget that displays icons together with a description.">KURLBar</a> *urlBar = fileDialog-&gt;speedBar();
 <span class="keywordflow">if</span> ( urlBar )
     urlBar-&gt;<a class="code" href="classKURLBar.html#a5211d6150f741c78e0485e865cfd1018" title="Inserts a new dynamic item into the KURLBar and returns the created KURLBarItem.">insertDynamicItem</a>( someURL, i18n(<span class="stringliteral">&quot;The URL&#39;s description&quot;</span>) );
</pre></div></dd></dl>
<p>Note that this method may return a null-pointer if the user configured to not use the speed-bar. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKURLBar.html" title="KURLBar is a widget that displays icons together with a description.">KURLBar</a> </dd>
<dd>
<a class="el" href="classKURLBar.html#a5211d6150f741c78e0485e865cfd1018" title="Inserts a new dynamic item into the KURLBar and returns the created KURLBarItem.">KURLBar::insertDynamicItem</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01801">1801</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af58b2304c13a620b2db59076da66da8b"></a><!-- doxytag: member="KFileDialog::toggleBookmarks" ref="af58b2304c13a620b2db59076da66da8b" args="(bool show)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::toggleBookmarks </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</em></td><td>)</td>
          <td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l02249">2249</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a15823cbc52705429d31c892647a5958f"></a><!-- doxytag: member="KFileDialog::toggleSpeedbar" ref="a15823cbc52705429d31c892647a5958f" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::toggleSpeedbar </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</em></td><td>)</td>
          <td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l02213">2213</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2a67866dc902c6b0e4d84f1365b60de5"></a><!-- doxytag: member="KFileDialog::tokenize" ref="a2a67866dc902c6b0e4d84f1365b60de5" args="(const QString &amp;line) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL::List KFileDialog::tokenize </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>line</em></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses the string "line" for files. </p>
<p>If line doesn't contain any ", the
 whole line will be interpreted as one file. If the number of " is odd, an empty list will be returned. Otherwise, all items enclosed in " " will be returned as correct urls. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01495">1495</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a941a50e3d2700ca56ca5bb2ca850b04a"></a><!-- doxytag: member="KFileDialog::toolBar" ref="a941a50e3d2700ca56ca5bb2ca850b04a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KToolBar* KFileDialog::toolBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the toolbar. </p>
<p>You can use this to insert custom items into it, e.g.: </p>
<div class="fragment"><pre class="fragment">      yourAction = <span class="keyword">new</span> KAction( i18n(<span class="stringliteral">&quot;Your Action&quot;</span>), 0,
                                <span class="keyword">this</span>, SLOT( yourSlot() ),
                                <span class="keyword">this</span>, <span class="stringliteral">&quot;action name&quot;</span> );
      yourAction-&gt;plug( kfileDialog-&gt;toolBar() );
</pre></div> 
<p>Definition at line <a class="el" href="kfiledialog_8h_source.html#l00722">722</a> of file <a class="el" href="kfiledialog_8h_source.html">kfiledialog.h</a>.</p>

</div>
</div>
<a class="anchor" id="af3c825018c58b16e3cfbc31718822edc"></a><!-- doxytag: member="KFileDialog::toolbarCallback" ref="af3c825018c58b16e3cfbc31718822edc" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::toolbarCallback </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>, </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01204">1204</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a12c4f68d45c195f5e3592326b4769c6c"></a><!-- doxytag: member="KFileDialog::updateAutoSelectExtension" ref="a12c4f68d45c195f5e3592326b4769c6c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::updateAutoSelectExtension </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates the currentFilterExtension and the availability of the Automatically Select Extension Checkbox (visible if <a class="el" href="classKFileDialog.html#a85c71ce67e27afd3877694ef8ebcc045">operationMode()</a> == Saving and enabled if an extension _will_ be associated with the <a class="el" href="classKFileDialog.html#a4ccfa2e42e5853db00a0d1369b00bd1d" title="Returns the current filter as entered by the user or one of the predefined set via setFilter()...">currentFilter()</a>, _after_ this call). </p>
<p>You should call this after filterWidget-&gt;setCurrentItem(). </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01908">1908</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acca0b734e6b1d7b3dc2ee492c68a4a71"></a><!-- doxytag: member="KFileDialog::updateStatusLine" ref="acca0b734e6b1d7b3dc2ee492c68a4a71" args="(int dirs, int files)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::updateStatusLine </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dirs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>files</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000006">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01307">1307</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae60384cda5851a55e766fb164d18a472"></a><!-- doxytag: member="KFileDialog::writeConfig" ref="ae60384cda5851a55e766fb164d18a472" args="(KConfig *, const QString &amp;group=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KFileDialog::writeConfig </td>
          <td>(</td>
          <td class="paramtype">KConfig *&#160;</td>
          <td class="paramname"><em>kc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>group</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Saves the current configuration. </p>

<p>Definition at line <a class="el" href="kfiledialog_8cpp_source.html#l01744">1744</a> of file <a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kfiledialog_8h_source.html">kfiledialog.h</a></li>
<li><a class="el" href="kfiledialog_8cpp_source.html">kfiledialog.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>kio/kfile</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><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="classKApplicationPropsPlugin.html">kapplicationpropsplugin</option>,  <option value="classKBindingPropsPlugin.html">kbindingpropsplugin</option>,  <option value="classKCombiView.html">kcombiview</option>,  <option value="classKDesktopPropsPlugin.html">kdesktoppropsplugin</option>,  <option value="classKDevicePropsPlugin.html">kdevicepropsplugin</option>,  <option value="classKDirOperator.html">kdiroperator</option>,  <option value="classKDirSelectDialog.html">kdirselectdialog</option>,  <option value="classKDirSize.html">kdirsize</option>,  <option value="classKDiskFreeSp.html">kdiskfreesp</option>,  <option value="classKEncodingFileDialog.html">kencodingfiledialog</option>,  <option value="classKExecPropsPlugin.html">kexecpropsplugin</option>,  <option value="classKFile.html">kfile</option>,  <option value="classKFileDetailView.html">kfiledetailview</option>,  <option value="classKFileDialog.html">kfiledialog</option>,  <option value="classKFileIconView.html">kfileiconview</option>,  <option value="classKFileIconViewItem.html">kfileiconviewitem</option>,  <option value="classKFileListViewItem.html">kfilelistviewitem</option>,  <option value="classKFileMetaInfoWidget.html">kfilemetainfowidget</option>,  <option value="classKFileMetaPropsPlugin.html">kfilemetapropsplugin</option>,  <option value="classKFileOpenWithHandler.html">kfileopenwithhandler</option>,  <option value="classKFilePermissionsPropsPlugin.html">kfilepermissionspropsplugin</option>,  <option value="classKFilePreview.html">kfilepreview</option>,  <option value="classKFilePropsPlugin.html">kfilepropsplugin</option>,  <option value="classKFileSharePropsPlugin.html">kfilesharepropsplugin</option>,  <option value="classKFileTreeBranch.html">kfiletreebranch</option>,  <option value="classKFileTreeView.html">kfiletreeview</option>,  <option value="classKFileTreeViewItem.html">kfiletreeviewitem</option>,  <option value="classKFileView.html">kfileview</option>,  <option value="classKFileViewSignaler.html">kfileviewsignaler</option>,  <option value="classKIconButton.html">kiconbutton</option>,  <option value="classKIconCanvas.html">kiconcanvas</option>,  <option value="classKIconDialog.html">kicondialog</option>,  <option value="classKImageFilePreview.html">kimagefilepreview</option>,  <option value="classKNotifyDialog.html">knotifydialog</option>,  <option value="classKOpenWithDlg.html">kopenwithdlg</option>,  <option value="classKPreviewPropsPlugin.html">kpreviewpropsplugin</option>,  <option value="classKPreviewWidgetBase.html">kpreviewwidgetbase</option>,  <option value="classKPropertiesDialog.html">kpropertiesdialog</option>,  <option value="classKPropsDlgPlugin.html">kpropsdlgplugin</option>,  <option value="classKRecentDirs.html">krecentdirs</option>,  <option value="classKRecentDocument.html">krecentdocument</option>,  <option value="classKURLBar.html">kurlbar</option>,  <option value="classKURLBarItem.html">kurlbaritem</option>,  <option value="classKURLBarItemDialog.html">kurlbaritemdialog</option>,  <option value="classKURLBarListBox.html">kurlbarlistbox</option>,  <option value="classKURLComboBox.html">kurlcombobox</option>,  <option value="classKURLComboRequester.html">kurlcomborequester</option>,  <option value="classKURLPropsPlugin.html">kurlpropsplugin</option>,  <option value="classKURLRequester.html">kurlrequester</option>,  <option value="classKURLRequesterDlg.html">kurlrequesterdlg</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../arts/html/index.html">arts</a></li><li><a href="../../../dcop/html/index.html">dcop</a></li><li><a href="../../../dnssd/html/index.html">dnssd</a></li><li><a href="../../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>