dupeguru/help/en/developer/hscommon/desktop.html

90 lines
5.0 KiB
HTML
Raw Normal View History

<!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">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>hscommon.desktop &#8212; dupeGuru 4.0.3 documentation</title>
<link rel="stylesheet" href="../../_static/haiku.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript" src="../../_static/documentation_options.js"></script>
<script type="text/javascript" src="../../_static/jquery.js"></script>
<script type="text/javascript" src="../../_static/underscore.js"></script>
<script type="text/javascript" src="../../_static/doctools.js"></script>
<script type="text/javascript" src="../../_static/translations.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="hscommon.notify" href="notify.html" />
<link rel="prev" title="hscommon.conflict" href="conflict.html" />
</head><body>
<div class="header" role="banner"><h1 class="heading"><a href="../../index.html">
<span>dupeGuru 4.0.3 documentation</span></a></h1>
<h2 class="heading"><span>hscommon.desktop</span></h2>
</div>
<div class="topnav" role="navigation" aria-label="top navigation">
<p>
«&#160;&#160;<a href="conflict.html">hscommon.conflict</a>
&#160;&#160;::&#160;&#160;
<a class="uplink" href="../../index.html">Contents</a>
&#160;&#160;::&#160;&#160;
<a href="notify.html">hscommon.notify</a>&#160;&#160;»
</p>
</div>
<div class="content">
<div class="section" id="module-hscommon.desktop">
<span id="hscommon-desktop"></span><h1>hscommon.desktop<a class="headerlink" href="#module-hscommon.desktop" title="Permalink to this headline"></a></h1>
<dl class="function">
<dt id="hscommon.desktop.open_path">
<code class="descclassname">hscommon.desktop.</code><code class="descname">open_path</code><span class="sig-paren">(</span><em>path</em><span class="sig-paren">)</span><a class="headerlink" href="#hscommon.desktop.open_path" title="Permalink to this definition"></a></dt>
<dd><p>Open <code class="docutils literal notranslate"><span class="pre">path</span></code> with its associated application.</p>
</dd></dl>
<dl class="function">
<dt id="hscommon.desktop.open_url">
<code class="descclassname">hscommon.desktop.</code><code class="descname">open_url</code><span class="sig-paren">(</span><em>url</em><span class="sig-paren">)</span><a class="headerlink" href="#hscommon.desktop.open_url" title="Permalink to this definition"></a></dt>
<dd><p>Open <code class="docutils literal notranslate"><span class="pre">url</span></code> with the default browser.</p>
</dd></dl>
<dl class="function">
<dt id="hscommon.desktop.reveal_path">
<code class="descclassname">hscommon.desktop.</code><code class="descname">reveal_path</code><span class="sig-paren">(</span><em>path</em><span class="sig-paren">)</span><a class="headerlink" href="#hscommon.desktop.reveal_path" title="Permalink to this definition"></a></dt>
<dd><p>Open the folder containing <code class="docutils literal notranslate"><span class="pre">path</span></code> with the default file browser.</p>
</dd></dl>
<dl class="function">
<dt id="hscommon.desktop.special_folder_path">
<code class="descclassname">hscommon.desktop.</code><code class="descname">special_folder_path</code><span class="sig-paren">(</span><em>special_folder</em>, <em>appname=None</em><span class="sig-paren">)</span><a class="headerlink" href="#hscommon.desktop.special_folder_path" title="Permalink to this definition"></a></dt>
<dd><p>Returns the path of <code class="docutils literal notranslate"><span class="pre">special_folder</span></code>.</p>
<p><code class="docutils literal notranslate"><span class="pre">special_folder</span></code> is a SpecialFolder.* const. The result is the special folder for the current
application. The running process application info is used to determine relevant information.</p>
<p>You can override the application name with <code class="docutils literal notranslate"><span class="pre">appname</span></code>. This argument is ingored under Qt.</p>
</dd></dl>
</div>
</div>
<div class="bottomnav" role="navigation" aria-label="bottom navigation">
<p>
«&#160;&#160;<a href="conflict.html">hscommon.conflict</a>
&#160;&#160;::&#160;&#160;
<a class="uplink" href="../../index.html">Contents</a>
&#160;&#160;::&#160;&#160;
<a href="notify.html">hscommon.notify</a>&#160;&#160;»
</p>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2016, Hardcoded Software.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.7.1.
</div>
</body>
</html>