MythTV
master
|
#include <mythuifilebrowser.h>
Public Member Functions | |
MFileInfo (const QString &fileName="", QString sgDir="", bool isDir=false, qint64 size=0) | |
~MFileInfo ()=default | |
MFileInfo (const MFileInfo &other) | |
MFileInfo & | operator= (const MFileInfo &other) |
void | init (const QString &fileName="", QString sgDir="", bool isDir=false, qint64 size=0) |
QString | fileName (void) const |
QString | filePath (void) const |
bool | isRemote (void) const |
bool | isDir (void) const |
bool | isFile (void) const |
bool | isParentDir (void) const |
bool | isExecutable (void) const |
QString | absoluteFilePath (void) const |
qint64 | size (void) const |
void | setFile (const QString &file) |
void | setSize (qint64 size) |
void | setIsDir (bool isDir) |
void | setIsFile (bool isFile) |
void | setIsParentDir (bool isParentDir) |
void | setSGDir (QString sgDir) |
QString | hostName (void) const |
QString | storageGroup (void) const |
QString | storageGroupDir (void) const |
QString | subDir (void) const |
Private Attributes | |
bool | m_isRemote {false} |
bool | m_isDir {false} |
bool | m_isFile {true} |
bool | m_isParentDir {false} |
QString | m_hostName |
QString | m_storageGroup |
QString | m_storageGroupDir |
QString | m_fileName |
QString | m_subDir |
qint64 | m_size {0} |
Definition at line 23 of file mythuifilebrowser.h.
|
explicit |
Definition at line 31 of file mythuifilebrowser.cpp.
|
default |
MFileInfo::MFileInfo | ( | const MFileInfo & | other | ) |
Definition at line 68 of file mythuifilebrowser.cpp.
Definition at line 77 of file mythuifilebrowser.cpp.
void MFileInfo::init | ( | const QString & | fileName = "" , |
QString | sgDir = "" , |
||
bool | isDir = false , |
||
qint64 | size = 0 |
||
) |
Definition at line 36 of file mythuifilebrowser.cpp.
Referenced by MFileInfo(), and operator=().
QString MFileInfo::fileName | ( | void | ) | const |
Definition at line 90 of file mythuifilebrowser.cpp.
Referenced by init(), MFileInfo(), operator=(), and MythUIFileBrowser::updateLocalFileList().
QString MFileInfo::filePath | ( | void | ) | const |
Definition at line 97 of file mythuifilebrowser.cpp.
Referenced by MFileInfo().
|
inline |
Definition at line 38 of file mythuifilebrowser.h.
bool MFileInfo::isDir | ( | void | ) | const |
Definition at line 104 of file mythuifilebrowser.cpp.
Referenced by init(), MFileInfo(), operator=(), and MythUIFileBrowser::updateLocalFileList().
bool MFileInfo::isFile | ( | void | ) | const |
Definition at line 111 of file mythuifilebrowser.cpp.
Referenced by MythUIFileBrowser::updateLocalFileList().
bool MFileInfo::isParentDir | ( | void | ) | const |
Definition at line 118 of file mythuifilebrowser.cpp.
bool MFileInfo::isExecutable | ( | void | ) | const |
Definition at line 125 of file mythuifilebrowser.cpp.
Referenced by MythUIFileBrowser::updateLocalFileList().
QString MFileInfo::absoluteFilePath | ( | void | ) | const |
Definition at line 132 of file mythuifilebrowser.cpp.
Referenced by MythUIFileBrowser::updateLocalFileList().
qint64 MFileInfo::size | ( | void | ) | const |
Definition at line 139 of file mythuifilebrowser.cpp.
Referenced by init(), MFileInfo(), operator=(), MythUIFileBrowser::updateLocalFileList(), and MythUIFileBrowser::updateRemoteFileList().
|
inline |
Definition at line 46 of file mythuifilebrowser.h.
|
inline |
Definition at line 47 of file mythuifilebrowser.h.
Referenced by MythUIFileBrowser::updateRemoteFileList().
|
inline |
Definition at line 48 of file mythuifilebrowser.h.
Referenced by MythUIFileBrowser::updateRemoteFileList().
|
inline |
Definition at line 49 of file mythuifilebrowser.h.
|
inline |
Definition at line 50 of file mythuifilebrowser.h.
|
inline |
Definition at line 51 of file mythuifilebrowser.h.
Referenced by MythUIFileBrowser::updateRemoteFileList().
|
inline |
Definition at line 53 of file mythuifilebrowser.h.
|
inline |
Definition at line 54 of file mythuifilebrowser.h.
|
inline |
Definition at line 55 of file mythuifilebrowser.h.
Referenced by MFileInfo(), and operator=().
|
inline |
Definition at line 56 of file mythuifilebrowser.h.
Definition at line 60 of file mythuifilebrowser.h.
Referenced by absoluteFilePath(), fileName(), filePath(), init(), isDir(), isExecutable(), isFile(), isParentDir(), and size().
Definition at line 61 of file mythuifilebrowser.h.
Definition at line 62 of file mythuifilebrowser.h.
Definition at line 63 of file mythuifilebrowser.h.
Referenced by init(), and isParentDir().
|
private |
Definition at line 65 of file mythuifilebrowser.h.
Referenced by init().
|
private |
Definition at line 66 of file mythuifilebrowser.h.
Referenced by init().
|
private |
Definition at line 67 of file mythuifilebrowser.h.
Referenced by init().
|
private |
Definition at line 68 of file mythuifilebrowser.h.
Referenced by absoluteFilePath(), fileName(), filePath(), and init().
|
private |
Definition at line 69 of file mythuifilebrowser.h.
Referenced by init().
|
private |
Definition at line 71 of file mythuifilebrowser.h.