File: classLocalFileServer.html

package info (click to toggle)
arc-gui-clients 0.4.6-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 25,484 kB
  • sloc: cpp: 11,077; python: 181; perl: 171; pascal: 165; ansic: 12; makefile: 7
file content (127 lines) | stat: -rw-r--r-- 12,163 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ARC Graphical Clients: LocalFileServer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>LocalFileServer Class Reference</h1><!-- doxytag: class="LocalFileServer" --><!-- doxytag: inherits="FileServer" --><div class="dynheader">
Inheritance diagram for LocalFileServer:</div>
<div class="dynsection">
 <div class="center">
  <img src="classLocalFileServer.gif" usemap="#LocalFileServer_map" alt=""/>
  <map id="LocalFileServer_map" name="LocalFileServer_map">
<area href="classFileServer.html" alt="FileServer" shape="rect" coords="0,0,103,24"/>
</map>
 </div>
</div>

<p><a href="classLocalFileServer-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e84afffb1ae40ce406bc7a0ce46a5d0"></a><!-- doxytag: member="LocalFileServer::getFileInfoLabels" ref="a7e84afffb1ae40ce406bc7a0ce46a5d0" args="()" -->
QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a7e84afffb1ae40ce406bc7a0ce46a5d0">getFileInfoLabels</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the column names in the file list (name, size, last change date...). Allows different protocols to display their own info. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a625e59ba371cd10de3332ebea90ec640"></a><!-- doxytag: member="LocalFileServer::updateFileList" ref="a625e59ba371cd10de3332ebea90ec640" args="(QString URL)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a625e59ba371cd10de3332ebea90ec640">updateFileList</a> (QString URL)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reads a new list of files from the server to the filelist. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab93cb4369ed5a73b2ed9f724328ffa59"></a><!-- doxytag: member="LocalFileServer::getFileList" ref="ab93cb4369ed5a73b2ed9f724328ffa59" args="()" -->
QVector&lt; <a class="el" href="classARCFileElement.html">ARCFileElement</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#ab93cb4369ed5a73b2ed9f724328ffa59">getFileList</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a reference to the filelist. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59b7b06d12bfbfdd13c1457722738d43"></a><!-- doxytag: member="LocalFileServer::goUpOneFolder" ref="a59b7b06d12bfbfdd13c1457722738d43" args="()" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a59b7b06d12bfbfdd13c1457722738d43">goUpOneFolder</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Go up one folder in the folder structure (cd ..). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8038b1b67d0ebb44484741f22aca877"></a><!-- doxytag: member="LocalFileServer::getCurrentURL" ref="ad8038b1b67d0ebb44484741f22aca877" args="()" -->
QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#ad8038b1b67d0ebb44484741f22aca877">getCurrentURL</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get current URL (== file protocol + path). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9db8181569b28f58bbe181949833d30d"></a><!-- doxytag: member="LocalFileServer::getCurrentPath" ref="a9db8181569b28f58bbe181949833d30d" args="()" -->
QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a9db8181569b28f58bbe181949833d30d">getCurrentPath</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get current path. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f407662ea79dfd6e9ef45b8ec54736e"></a><!-- doxytag: member="LocalFileServer::copyFromServer" ref="a4f407662ea79dfd6e9ef45b8ec54736e" args="(QString sourcePath, QString destinationPath)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a4f407662ea79dfd6e9ef45b8ec54736e">copyFromServer</a> (QString sourcePath, QString destinationPath)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy a file from the server to a local disk. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3871435d5c7ff8a3734e12ad016a7c9c"></a><!-- doxytag: member="LocalFileServer::copyToServer" ref="a3871435d5c7ff8a3734e12ad016a7c9c" args="(QString sourcePath, QString destinationPath)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a3871435d5c7ff8a3734e12ad016a7c9c">copyToServer</a> (QString sourcePath, QString destinationPath)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy a file from local disk to server. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a618905fd3f38a0ff4384d00afcd9339b"></a><!-- doxytag: member="LocalFileServer::copyToServer" ref="a618905fd3f38a0ff4384d00afcd9339b" args="(QList&lt; QUrl &gt; &amp;urlList, QString destinationPath)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a618905fd3f38a0ff4384d00afcd9339b">copyToServer</a> (QList&lt; QUrl &gt; &amp;urlList, QString destinationPath)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy a list of files from local disk to server. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac083ee1c3d61f7acec07e00125fba3e0"></a><!-- doxytag: member="LocalFileServer::deleteItem" ref="ac083ee1c3d61f7acec07e00125fba3e0" args="(QString path)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#ac083ee1c3d61f7acec07e00125fba3e0">deleteItem</a> (QString path)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete a file from the server. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c2ad248b47e77ab9c9fb3491f99d918"></a><!-- doxytag: member="LocalFileServer::makeDir" ref="a5c2ad248b47e77ab9c9fb3491f99d918" args="(QString path)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a5c2ad248b47e77ab9c9fb3491f99d918">makeDir</a> (QString path)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a folder on the server. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab386b4465263660d2dbca8e2eb5871d4"></a><!-- doxytag: member="LocalFileServer::getFilePermissions" ref="ab386b4465263660d2dbca8e2eb5871d4" args="(QString path)" -->
unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#ab386b4465263660d2dbca8e2eb5871d4">getFilePermissions</a> (QString path)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get file permissions. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93ad4899fc9231d96e6fe50f39b056a3"></a><!-- doxytag: member="LocalFileServer::setFilePermissions" ref="a93ad4899fc9231d96e6fe50f39b056a3" args="(QString path, unsigned int permissions)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a93ad4899fc9231d96e6fe50f39b056a3">setFilePermissions</a> (QString path, unsigned int permissions)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set file permissions. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3bed8ba284f0bda8eac13d5825eae0a0"></a><!-- doxytag: member="LocalFileServer::deleteItems" ref="a3bed8ba284f0bda8eac13d5825eae0a0" args="(QStringList &amp;paths)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLocalFileServer.html#a3bed8ba284f0bda8eac13d5825eae0a0">deleteItems</a> (QStringList &amp;paths)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete several files from the server. <br/></td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/jonas/Development/arc-gui-clients/src/arcstorage-ui/<a class="el" href="localfileserver_8h_source.html">localfileserver.h</a></li>
<li>/home/jonas/Development/arc-gui-clients/src/arcstorage-ui/localfileserver.cpp</li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generated on 19 Feb 2013 for ARC Graphical Clients by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>