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
|
\hypertarget{classLocalFileServer}{
\section{LocalFileServer Class Reference}
\label{classLocalFileServer}\index{LocalFileServer@{LocalFileServer}}
}
Inheritance diagram for LocalFileServer::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classLocalFileServer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hypertarget{classLocalFileServer_a7e84afffb1ae40ce406bc7a0ce46a5d0}{
QStringList \hyperlink{classLocalFileServer_a7e84afffb1ae40ce406bc7a0ce46a5d0}{getFileInfoLabels} ()}
\label{classLocalFileServer_a7e84afffb1ae40ce406bc7a0ce46a5d0}
\begin{DoxyCompactList}\small\item\em Returns the column names in the file list (name, size, last change date...). Allows different protocols to display their own info. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a625e59ba371cd10de3332ebea90ec640}{
void \hyperlink{classLocalFileServer_a625e59ba371cd10de3332ebea90ec640}{updateFileList} (QString URL)}
\label{classLocalFileServer_a625e59ba371cd10de3332ebea90ec640}
\begin{DoxyCompactList}\small\item\em Reads a new list of files from the server to the filelist. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_ab93cb4369ed5a73b2ed9f724328ffa59}{
QVector$<$ \hyperlink{classARCFileElement}{ARCFileElement} $>$ \& \hyperlink{classLocalFileServer_ab93cb4369ed5a73b2ed9f724328ffa59}{getFileList} ()}
\label{classLocalFileServer_ab93cb4369ed5a73b2ed9f724328ffa59}
\begin{DoxyCompactList}\small\item\em Return a reference to the filelist. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a59b7b06d12bfbfdd13c1457722738d43}{
bool \hyperlink{classLocalFileServer_a59b7b06d12bfbfdd13c1457722738d43}{goUpOneFolder} ()}
\label{classLocalFileServer_a59b7b06d12bfbfdd13c1457722738d43}
\begin{DoxyCompactList}\small\item\em Go up one folder in the folder structure (cd ..). \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_ad8038b1b67d0ebb44484741f22aca877}{
QString \hyperlink{classLocalFileServer_ad8038b1b67d0ebb44484741f22aca877}{getCurrentURL} ()}
\label{classLocalFileServer_ad8038b1b67d0ebb44484741f22aca877}
\begin{DoxyCompactList}\small\item\em Get current URL (== file protocol + path). \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a9db8181569b28f58bbe181949833d30d}{
QString \hyperlink{classLocalFileServer_a9db8181569b28f58bbe181949833d30d}{getCurrentPath} ()}
\label{classLocalFileServer_a9db8181569b28f58bbe181949833d30d}
\begin{DoxyCompactList}\small\item\em Get current path. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a4f407662ea79dfd6e9ef45b8ec54736e}{
bool \hyperlink{classLocalFileServer_a4f407662ea79dfd6e9ef45b8ec54736e}{copyFromServer} (QString sourcePath, QString destinationPath)}
\label{classLocalFileServer_a4f407662ea79dfd6e9ef45b8ec54736e}
\begin{DoxyCompactList}\small\item\em Copy a file from the server to a local disk. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a3871435d5c7ff8a3734e12ad016a7c9c}{
bool \hyperlink{classLocalFileServer_a3871435d5c7ff8a3734e12ad016a7c9c}{copyToServer} (QString sourcePath, QString destinationPath)}
\label{classLocalFileServer_a3871435d5c7ff8a3734e12ad016a7c9c}
\begin{DoxyCompactList}\small\item\em Copy a file from local disk to server. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a618905fd3f38a0ff4384d00afcd9339b}{
bool \hyperlink{classLocalFileServer_a618905fd3f38a0ff4384d00afcd9339b}{copyToServer} (QList$<$ QUrl $>$ \&urlList, QString destinationPath)}
\label{classLocalFileServer_a618905fd3f38a0ff4384d00afcd9339b}
\begin{DoxyCompactList}\small\item\em Copy a list of files from local disk to server. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_ac083ee1c3d61f7acec07e00125fba3e0}{
bool \hyperlink{classLocalFileServer_ac083ee1c3d61f7acec07e00125fba3e0}{deleteItem} (QString path)}
\label{classLocalFileServer_ac083ee1c3d61f7acec07e00125fba3e0}
\begin{DoxyCompactList}\small\item\em Delete a file from the server. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a5c2ad248b47e77ab9c9fb3491f99d918}{
bool \hyperlink{classLocalFileServer_a5c2ad248b47e77ab9c9fb3491f99d918}{makeDir} (QString path)}
\label{classLocalFileServer_a5c2ad248b47e77ab9c9fb3491f99d918}
\begin{DoxyCompactList}\small\item\em Create a folder on the server. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_ab386b4465263660d2dbca8e2eb5871d4}{
unsigned int \hyperlink{classLocalFileServer_ab386b4465263660d2dbca8e2eb5871d4}{getFilePermissions} (QString path)}
\label{classLocalFileServer_ab386b4465263660d2dbca8e2eb5871d4}
\begin{DoxyCompactList}\small\item\em Get file permissions. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a93ad4899fc9231d96e6fe50f39b056a3}{
void \hyperlink{classLocalFileServer_a93ad4899fc9231d96e6fe50f39b056a3}{setFilePermissions} (QString path, unsigned int permissions)}
\label{classLocalFileServer_a93ad4899fc9231d96e6fe50f39b056a3}
\begin{DoxyCompactList}\small\item\em Set file permissions. \item\end{DoxyCompactList}\item
\hypertarget{classLocalFileServer_a3bed8ba284f0bda8eac13d5825eae0a0}{
bool \hyperlink{classLocalFileServer_a3bed8ba284f0bda8eac13d5825eae0a0}{deleteItems} (QStringList \&paths)}
\label{classLocalFileServer_a3bed8ba284f0bda8eac13d5825eae0a0}
\begin{DoxyCompactList}\small\item\em Delete several files from the server. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item
/home/jonas/Development/arc-\/gui-\/clients/src/arcstorage-\/ui/localfileserver.h\item
/home/jonas/Development/arc-\/gui-\/clients/src/arcstorage-\/ui/localfileserver.cpp\end{DoxyCompactItemize}
|