You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
302 lines
18 KiB
302 lines
18 KiB
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
<html>
|
|
<head>
|
|
<title>class KFileView</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<meta name="GENERATOR" content="wabbit dumphtml">
|
|
</head>
|
|
<body>
|
|
<h4>PyKDE - Python Bindings for KDE</h4>
|
|
<hr>
|
|
<table width="100%"><tr>
|
|
<td width ="70%">
|
|
<h1>class KFileView</h1><hr>
|
|
</td>
|
|
<td width="30%" valign="top" align="right">
|
|
<table>
|
|
<tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr>
|
|
<tr><td align="right"><a href="../index.html">Modules</a></td></tr>
|
|
<tr><td align="right"><a href="index.html">tdefile Classes</a></td></tr>
|
|
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr></table>
|
|
<table>
|
|
<tr><td width="10%" align=left>Module</td>
|
|
<td width="30%" align=left>tdefile</td>
|
|
</tr>
|
|
<tr><td>Class</td>
|
|
<td>KFileView <a href = "sip/glossary.html#abstract">(<i>abstract</i>)</a></td>
|
|
</tr>
|
|
<tr><td>Inherits</td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
<h3>enums</h3><ul>
|
|
<li><b>DropOptions</b> = {AutoOpenDirs
|
|
}<li><b>ViewMode</b> = {Files, Directories, All
|
|
}</ul>
|
|
<h3>methods</h3><ul>
|
|
<li><b>KFileView</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KFileView instance</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>actionCollection</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEActionCollection)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>addItemList</b> (list)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>list</td><td>KFileItemList</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>autoOpenDelay</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>clear</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>clearSelection</b> () = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>clearView</b> () = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>count</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(uint)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>currentFileItem</b> () = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileItem)</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>dropOptions</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>ensureItemVisible</b> (i) = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>i</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>firstFileItem</b> () = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileItem)</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>insertItem</b> (i)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>i</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>invertSelection</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>isReversed</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>isSelected</b> (a0) = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>items</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileItemList)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>listingCompleted</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>nextItem</b> (a0) = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileItem)</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>numDirs</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(uint)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>numFiles</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(uint)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>onlyDoubleClickSelectsFiles</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>prevItem</b> (a0) = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileItem)</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readConfig</b> (a0, group = TQString .null)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>TDEConfig</td><td></td></tr>
|
|
<tr><td>group</td><td>TQString</td><td>TQString .null</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>removeItem</b> (item)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>item</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>selectAll</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>selectedItems</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileItemList)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>selectionMode</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFile.SelectionMode)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setCurrentItem</b> (filename)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>filename</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setCurrentItem</b> (item) = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>item</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setDropOptions</b> (options)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>options</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setDropOptions_impl</b> (options)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>options</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setOnlyDoubleClickSelectsFiles</b> (enable)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>enable</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setParentView</b> (parent)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>parent</td><td>KFileView</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setSelected</b> (a0, enable) = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>KFileItem</td><td></td></tr>
|
|
<tr><td>enable</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setSelectionMode</b> (sm)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>sm</td><td>KFile.SelectionMode</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setSorting</b> (sort)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>sort</td><td>TQDir.SortSpec</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setViewMode</b> (vm)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>vm</td><td>KFileView.ViewMode</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setViewName</b> (name)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>name</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>signaler</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileViewSignaler)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>sortReversed</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>sorting</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQDir.SortSpec)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>sortingKey</b> (value, isDir, sortSpec)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>value</td><td>TQString</td><td></td></tr>
|
|
<tr><td>isDir</td><td>bool</td><td></td></tr>
|
|
<tr><td>sortSpec</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>sortingKey</b> (value, isDir, sortSpec)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>value</td><td>_TDEIO.filesize_t</td><td></td></tr>
|
|
<tr><td>isDir</td><td>bool</td><td></td></tr>
|
|
<tr><td>sortSpec</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>updateNumbers</b> (i)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>i</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>updateView</b> (f = 1)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>f</td><td>bool</td><td>1</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>updateView</b> (a0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>KFileItem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>viewMode</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(ViewMode)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>viewName</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>widget</b> () = 0
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQWidget)</i></td></tr>
|
|
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>widget</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>writeConfig</b> (a0, group = TQString .null)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>TDEConfig</td><td></td></tr>
|
|
<tr><td>group</td><td>TQString</td><td>TQString .null</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|