<?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: KOpenWithDlg 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-slots">Public Slots</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-slots">Protected Slots</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <div class="title">KOpenWithDlg Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="KOpenWithDlg" --><!-- doxytag: inherits="QDialog" --> <p>"Open with" dialog box. <a href="classKOpenWithDlg.html#details">More...</a></p> <p><code>#include <<a class="el" href="kopenwith_8h_source.html">kopenwith.h</a>></code></p> <div class="dynheader"> Inheritance diagram for KOpenWithDlg:</div> <div class="dyncontent"> <div class="center"> <img src="classKOpenWithDlg.png" usemap="#KOpenWithDlg_map" alt=""/> <map id="KOpenWithDlg_map" name="KOpenWithDlg_map"> <area href="qdialog.html" alt="QDialog" shape="rect" coords="0,0,94,24"/> </map> </div></div> <p><a href="classKOpenWithDlg-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-slots"></a> Public Slots</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a543c847969876ddf8b46d78582a77b3a">slotClear</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a25e403e8e80ed418f77c611117493b01"></a><!-- doxytag: member="KOpenWithDlg::slotSelected" ref="a25e403e8e80ed418f77c611117493b01" args="(const QString &_name, const QString &_exec)" --> void </td><td class="memItemRight" valign="bottom"><b>slotSelected</b> (const <a class="elRef" href="qstring.html">QString</a> &_name, const <a class="elRef" href="qstring.html">QString</a> &_exec)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2e08e2a48fd91dd60b52db31047b591"></a><!-- doxytag: member="KOpenWithDlg::slotHighlighted" ref="ae2e08e2a48fd91dd60b52db31047b591" args="(const QString &_name, const QString &_exec)" --> void </td><td class="memItemRight" valign="bottom"><b>slotHighlighted</b> (const <a class="elRef" href="qstring.html">QString</a> &_name, const <a class="elRef" href="qstring.html">QString</a> &_exec)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ce74c8857ae13173d406da69a670bf1"></a><!-- doxytag: member="KOpenWithDlg::slotTextChanged" ref="a4ce74c8857ae13173d406da69a670bf1" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>slotTextChanged</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cbe8b463ab4eec92eb05b68bac28146"></a><!-- doxytag: member="KOpenWithDlg::slotTerminalToggled" ref="a9cbe8b463ab4eec92eb05b68bac28146" args="(bool)" --> void </td><td class="memItemRight" valign="bottom"><b>slotTerminalToggled</b> (bool)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4498857dc6b7943e23a6feee8e8937e0"></a><!-- doxytag: member="KOpenWithDlg::slotDbClick" ref="a4498857dc6b7943e23a6feee8e8937e0" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>slotDbClick</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ee4fc1c0707753c7394d64ad5f29daf"></a><!-- doxytag: member="KOpenWithDlg::slotOK" ref="a3ee4fc1c0707753c7394d64ad5f29daf" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>slotOK</b> ()</td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#ad78a4a632712c54e38ea217309be9e13">KOpenWithDlg</a> (const KURL::List &urls, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0L)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a3389bc66df9e223a4e3e6790a3b6cf9a">KOpenWithDlg</a> (const KURL::List &urls, const <a class="elRef" href="qstring.html">QString</a> &text, const <a class="elRef" href="qstring.html">QString</a> &value, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0L)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a9b44296eefd1657b3ec8398afbcbec97">KOpenWithDlg</a> (const <a class="elRef" href="qstring.html">QString</a> &serviceType, const <a class="elRef" href="qstring.html">QString</a> &value, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0L)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a9dac0038726714897e8bb80736f28679">KOpenWithDlg</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent=0L)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a19acc1a2799cf30b2939a892db9934cd">~KOpenWithDlg</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a8fbe33fe87c2b6133bb3340e860d5261">text</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#abadcd7985c8c4faebaba950b54f4c88d">hideNoCloseOnExit</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a1c7a3a9b8deb61911bf854b7e0a6f3d6">hideRunInTerminal</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">KService::Ptr </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a8e8db71c2aec0336a8489832ed76a8ed">service</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#ac84ce8c1600be2e63cb863be657262aa">setSaveNewApplications</a> (bool b)</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">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#ab1a4ffb4c42b7fb78c3d2afb1ec619c4">accept</a> ()</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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#a23c9841dc4ed4553d8dcb54a135be237">setServiceType</a> (const KURL::List &_urls)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKOpenWithDlg.html#ac56f39f92eec1381cdae19e1bf8d8efe">init</a> (const <a class="elRef" href="qstring.html">QString</a> &text, const <a class="elRef" href="qstring.html">QString</a> &value)</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="ae80f819f28fdbe45c117d6f4d190842a"></a><!-- doxytag: member="KOpenWithDlg::edit" ref="ae80f819f28fdbe45c117d6f4d190842a" args="" --> <a class="el" href="classKURLRequester.html">KURLRequester</a> * </td><td class="memItemRight" valign="bottom"><b>edit</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e139d8587d7990d513a113bda402b07"></a><!-- doxytag: member="KOpenWithDlg::m_command" ref="a6e139d8587d7990d513a113bda402b07" args="" --> <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><b>m_command</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa7b7520b7dc0f0e20435750f7259528b"></a><!-- doxytag: member="KOpenWithDlg::m_pTree" ref="aa7b7520b7dc0f0e20435750f7259528b" args="" --> KApplicationTree * </td><td class="memItemRight" valign="bottom"><b>m_pTree</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a181b582ab8d80df846b8cfce02b850cf"></a><!-- doxytag: member="KOpenWithDlg::label" ref="a181b582ab8d80df846b8cfce02b850cf" args="" --> <a class="elRef" href="qlabel.html">QLabel</a> * </td><td class="memItemRight" valign="bottom"><b>label</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6aac74fc3f988091067cb0d375676a6d"></a><!-- doxytag: member="KOpenWithDlg::qName" ref="a6aac74fc3f988091067cb0d375676a6d" args="" --> <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><b>qName</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a910bc930838ec4851f7bd8630ee0726d"></a><!-- doxytag: member="KOpenWithDlg::qServiceType" ref="a910bc930838ec4851f7bd8630ee0726d" args="" --> <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><b>qServiceType</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e69c49e0e3b2a75e639f843aa827430"></a><!-- doxytag: member="KOpenWithDlg::m_terminaldirty" ref="a7e69c49e0e3b2a75e639f843aa827430" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>m_terminaldirty</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a298c8680ae1911bde7ca9fd12778d809"></a><!-- doxytag: member="KOpenWithDlg::terminal" ref="a298c8680ae1911bde7ca9fd12778d809" args="" --> <a class="elRef" href="qcheckbox.html">QCheckBox</a> * </td><td class="memItemRight" valign="bottom"><b>terminal</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0462bbd02fd19fe10d70613205255b65"></a><!-- doxytag: member="KOpenWithDlg::remember" ref="a0462bbd02fd19fe10d70613205255b65" args="" --> <a class="elRef" href="qcheckbox.html">QCheckBox</a> * </td><td class="memItemRight" valign="bottom"><b>remember</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad43e430767535e6954ed793aec5e393e"></a><!-- doxytag: member="KOpenWithDlg::nocloseonexit" ref="ad43e430767535e6954ed793aec5e393e" args="" --> <a class="elRef" href="qcheckbox.html">QCheckBox</a> * </td><td class="memItemRight" valign="bottom"><b>nocloseonexit</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43a82ab7b14f7c13e756c8a1aa71aaa4"></a><!-- doxytag: member="KOpenWithDlg::UNUSED" ref="a43a82ab7b14f7c13e756c8a1aa71aaa4" args="" --> <a class="elRef" href="qpushbutton.html">QPushButton</a> * </td><td class="memItemRight" valign="bottom"><b>UNUSED</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd1769703322d7f455c9ce87bc209b60"></a><!-- doxytag: member="KOpenWithDlg::UNUSED2" ref="abd1769703322d7f455c9ce87bc209b60" args="" --> <a class="elRef" href="qpushbutton.html">QPushButton</a> * </td><td class="memItemRight" valign="bottom"><b>UNUSED2</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a764eb9098409ae65f666993f75d2a1e1"></a><!-- doxytag: member="KOpenWithDlg::m_pService" ref="a764eb9098409ae65f666993f75d2a1e1" args="" --> KService::Ptr </td><td class="memItemRight" valign="bottom"><b>m_pService</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac16be3ebb037eaed5740f08853b16bc0"></a><!-- doxytag: member="KOpenWithDlg::d" ref="ac16be3ebb037eaed5740f08853b16bc0" args="" --> KOpenWithDlgPrivate * </td><td class="memItemRight" valign="bottom"><b>d</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>"Open with" dialog box. </p> <p>Used automatically by KRun, and used by libkonq.</p> <dl class="author"><dt><b>Author:</b></dt><dd>David Faure <<a href="mailto:faure@kde.org">faure@kde.org</a>> </dd></dl> <p>Definition at line <a class="el" href="kopenwith_8h_source.html#l00046">46</a> of file <a class="el" href="kopenwith_8h_source.html">kopenwith.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ad78a4a632712c54e38ea217309be9e13"></a><!-- doxytag: member="KOpenWithDlg::KOpenWithDlg" ref="ad78a4a632712c54e38ea217309be9e13" args="(const KURL::List &urls, QWidget *parent=0L)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KOpenWithDlg::KOpenWithDlg </td> <td>(</td> <td class="paramtype">const KURL::List & </td> <td class="paramname"><em>urls</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em> = <code>0L</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a dialog that asks for a application to open a given URL(s) with. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">urls</td><td>the URLs that should be opened. The list can be empty, if the dialog is used to choose an application but not for some particular URLs. </td></tr> <tr><td class="paramname">parent</td><td>parent widget </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00319">319</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a3389bc66df9e223a4e3e6790a3b6cf9a"></a><!-- doxytag: member="KOpenWithDlg::KOpenWithDlg" ref="a3389bc66df9e223a4e3e6790a3b6cf9a" args="(const KURL::List &urls, const QString &text, const QString &value, QWidget *parent=0L)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KOpenWithDlg::KOpenWithDlg </td> <td>(</td> <td class="paramtype">const KURL::List & </td> <td class="paramname"><em>urls</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em> = <code>0L</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a dialog that asks for a application to open a given URL(s) with. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">urls</td><td>is the URL that should be opened </td></tr> <tr><td class="paramname">text</td><td>appears as a label on top of the entry box. </td></tr> <tr><td class="paramname">value</td><td>is the initial value of the line </td></tr> <tr><td class="paramname">parent</td><td>parent widget </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00337">337</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a9b44296eefd1657b3ec8398afbcbec97"></a><!-- doxytag: member="KOpenWithDlg::KOpenWithDlg" ref="a9b44296eefd1657b3ec8398afbcbec97" args="(const QString &serviceType, const QString &value, QWidget *parent=0L)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KOpenWithDlg::KOpenWithDlg </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>serviceType</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em> = <code>0L</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a dialog to select a service for a given service type. </p> <p>Note that this dialog doesn't apply to URLs.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">serviceType</td><td>the service type we want to choose an application for. </td></tr> <tr><td class="paramname">value</td><td>is the initial value of the line </td></tr> <tr><td class="paramname">parent</td><td>parent widget </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00349">349</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a9dac0038726714897e8bb80736f28679"></a><!-- doxytag: member="KOpenWithDlg::KOpenWithDlg" ref="a9dac0038726714897e8bb80736f28679" args="(QWidget *parent=0L)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KOpenWithDlg::KOpenWithDlg </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> * </td> <td class="paramname"><em>parent</em> = <code>0L</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a dialog to select an application Note that this dialog doesn't apply to URLs. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">parent</td><td>parent 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="kopenwith_8cpp_source.html#l00363">363</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a19acc1a2799cf30b2939a892db9934cd"></a><!-- doxytag: member="KOpenWithDlg::~KOpenWithDlg" ref="a19acc1a2799cf30b2939a892db9934cd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KOpenWithDlg::~KOpenWithDlg </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00529">529</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ab1a4ffb4c42b7fb78c3d2afb1ec619c4"></a><!-- doxytag: member="KOpenWithDlg::accept" ref="ab1a4ffb4c42b7fb78c3d2afb1ec619c4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KOpenWithDlg::accept </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected, virtual, slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="elRef" href="qdialog.html#accept">QDialog::accept()</a> to save history of the combobox. </p> <p>Reimplemented from <a class="elRef" href="qdialog.html#accept">QDialog</a>.</p> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00810">810</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="abadcd7985c8c4faebaba950b54f4c88d"></a><!-- doxytag: member="KOpenWithDlg::hideNoCloseOnExit" ref="abadcd7985c8c4faebaba950b54f4c88d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KOpenWithDlg::hideNoCloseOnExit </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Hide the "Do not &close when command exits" Checkbox. </p> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00797">797</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a1c7a3a9b8deb61911bf854b7e0a6f3d6"></a><!-- doxytag: member="KOpenWithDlg::hideRunInTerminal" ref="a1c7a3a9b8deb61911bf854b7e0a6f3d6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KOpenWithDlg::hideRunInTerminal </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Hide the "Run in &terminal" Checkbox. </p> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00804">804</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="ac56f39f92eec1381cdae19e1bf8d8efe"></a><!-- doxytag: member="KOpenWithDlg::init" ref="ac56f39f92eec1381cdae19e1bf8d8efe" args="(const QString &text, const QString &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KOpenWithDlg::init </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a dialog that asks for a application to open a given URL(s) with. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>appears as a label on top of the entry box. </td></tr> <tr><td class="paramname">value</td><td>is the initial value of the line </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00386">386</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a8e8db71c2aec0336a8489832ed76a8ed"></a><!-- doxytag: member="KOpenWithDlg::service" ref="a8e8db71c2aec0336a8489832ed76a8ed" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KService::Ptr KOpenWithDlg::service </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the chosen service in the application tree Can be null, if the user typed some text and didn't select a service. </dd></dl> <p>Definition at line <a class="el" href="kopenwith_8h_source.html#l00114">114</a> of file <a class="el" href="kopenwith_8h_source.html">kopenwith.h</a>.</p> </div> </div> <a class="anchor" id="ac84ce8c1600be2e63cb863be657262aa"></a><!-- doxytag: member="KOpenWithDlg::setSaveNewApplications" ref="ac84ce8c1600be2e63cb863be657262aa" args="(bool b)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KOpenWithDlg::setSaveNewApplications </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>b</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Set whether a new .desktop file should be created if the user selects an application for which no corresponding .desktop file can be found. </p> <p>Regardless of this setting a new .desktop file may still be created if the user has chosen to remember the file association.</p> <p>The default is false: no .desktop files are created. </p> <dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00599">599</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a23c9841dc4ed4553d8dcb54a135be237"></a><!-- doxytag: member="KOpenWithDlg::setServiceType" ref="a23c9841dc4ed4553d8dcb54a135be237" args="(const KURL::List &_urls)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KOpenWithDlg::setServiceType </td> <td>(</td> <td class="paramtype">const KURL::List & </td> <td class="paramname"><em>_urls</em></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determine service type from URLs. </p> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00374">374</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a543c847969876ddf8b46d78582a77b3a"></a><!-- doxytag: member="KOpenWithDlg::slotClear" ref="a543c847969876ddf8b46d78582a77b3a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KOpenWithDlg::slotClear </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The slot for clearing the edit widget. </p> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00537">537</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <a class="anchor" id="a8fbe33fe87c2b6133bb3340e860d5261"></a><!-- doxytag: member="KOpenWithDlg::text" ref="a8fbe33fe87c2b6133bb3340e860d5261" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstring.html">QString</a> KOpenWithDlg::text </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 text the user entered </dd></dl> <p>Definition at line <a class="el" href="kopenwith_8cpp_source.html#l00789">789</a> of file <a class="el" href="kopenwith_8cpp_source.html">kopenwith.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kopenwith_8h_source.html">kopenwith.h</a></li> <li><a class="el" href="kopenwith_8cpp_source.html">kopenwith.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> <a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li> <a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../../kio/kio/html/index.html">kio</a></li><li> <a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>