<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://techbase.kde.org/skins/common/feed.css?0.2"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-FileDialog&amp;feed=atom&amp;action=history</id>
		<title>Development/Tutorials/Plasma/JavaScript/API-FileDialog - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-FileDialog&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-FileDialog&amp;action=history"/>
		<updated>2013-05-19T16:06:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-FileDialog&amp;diff=59212&amp;oldid=prev</id>
		<title>Aseigo: Created page with '= FileDialog =  This Extension provides access to open and save dialog classes: OpenFileDialog and SaveFileDialog. Both are non-modal and run asynchronously...'</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-FileDialog&amp;diff=59212&amp;oldid=prev"/>
				<updated>2011-06-24T12:19:12Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;= FileDialog =  This [[../API-Extensions|Extension]] provides access to open and save dialog classes: OpenFileDialog and SaveFileDialog. Both are non-modal and run asynchronously...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= FileDialog =&lt;br /&gt;
&lt;br /&gt;
This [[../API-Extensions|Extension]] provides access to open and save dialog classes: OpenFileDialog and SaveFileDialog. Both are non-modal and run asynchronously, so the signals must be used. Other than the name difference (and resulting UI variance) the API for each is identical:&lt;br /&gt;
&lt;br /&gt;
* Constructors&lt;br /&gt;
** '''OpenFileDialog'''&lt;br /&gt;
** '''SaveFileDialog'''&lt;br /&gt;
* Properties&lt;br /&gt;
** Read Only&lt;br /&gt;
*** ''array(Url)'' '''urls''': the selected file, as a Url object&lt;br /&gt;
*** ''Url'' '''baseUrl''', the current path (minus filename) as a Url&lt;br /&gt;
*** ''string '''file''': the selected file, as a string&lt;br /&gt;
*** ''array(string)'' '''files''': selected files (plural), as an array of strings&lt;br /&gt;
** Read/Write&lt;br /&gt;
*** ''Url'' '''url''': the current Url, can be read from when the user is done or assigned before to set the starting path&lt;br /&gt;
*** ''string'' '''filter''': a string representing the mimetype filter; e.g. &amp;quot;*.cpp|C++ Source Files\n*.h|Header files&amp;quot; or &amp;quot;*.cpp&amp;quot; or &amp;quot;*.cpp|*h&amp;quot;&lt;br /&gt;
*** ''boolean'' '''localOnly''': true to show only local files, false if network locations are Ok as well&lt;br /&gt;
*** ''boolean'' '''directoriesOnly''': true to only allow selection of a directory (not a file)&lt;br /&gt;
*** ''boolean'' '''existingOnly''': true if only existing files/directories may be selected&lt;br /&gt;
* Functions&lt;br /&gt;
** '''show()''': when called, the dialog will be shown to the user&lt;br /&gt;
* Signals&lt;br /&gt;
** '''accepted(FileDialogProxy)'''': emitted when the file dialog has been successfully accepted by the user with one or more files/directories.&lt;br /&gt;
** '''finished(FileDialogProxy)''': emitted when the file dialog closes, included when cancelled/closed without being accepted&lt;/div&gt;</summary>
		<author><name>Aseigo</name></author>	</entry>

	</feed>