|
MythTV master
|
#include <libmythui/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 22 of file mythuifilebrowser.h.
|
explicit |
Definition at line 27 of file mythuifilebrowser.cpp.
|
default |
| MFileInfo::MFileInfo | ( | const MFileInfo & | other | ) |
Definition at line 64 of file mythuifilebrowser.cpp.
| QString MFileInfo::absoluteFilePath | ( | void | ) | const |
Definition at line 128 of file mythuifilebrowser.cpp.
Referenced by MythUIFileBrowser::updateLocalFileList().
| QString MFileInfo::fileName | ( | void | ) | const |
Definition at line 86 of file mythuifilebrowser.cpp.
Referenced by init(), MFileInfo(), operator=(), and MythUIFileBrowser::updateLocalFileList().
| QString MFileInfo::filePath | ( | void | ) | const |
Definition at line 93 of file mythuifilebrowser.cpp.
Referenced by MFileInfo().
|
inline |
Definition at line 52 of file mythuifilebrowser.h.
| void MFileInfo::init | ( | const QString & | fileName = "", |
| QString | sgDir = "", |
||
| bool | isDir = false, |
||
| qint64 | size = 0 |
||
| ) |
Definition at line 32 of file mythuifilebrowser.cpp.
Referenced by MFileInfo(), and operator=().
| bool MFileInfo::isDir | ( | void | ) | const |
Definition at line 100 of file mythuifilebrowser.cpp.
Referenced by init(), MFileInfo(), operator=(), and MythUIFileBrowser::updateLocalFileList().
| bool MFileInfo::isExecutable | ( | void | ) | const |
Definition at line 121 of file mythuifilebrowser.cpp.
Referenced by MythUIFileBrowser::updateLocalFileList().
| bool MFileInfo::isFile | ( | void | ) | const |
Definition at line 107 of file mythuifilebrowser.cpp.
Referenced by MythUIFileBrowser::updateLocalFileList().
| bool MFileInfo::isParentDir | ( | void | ) | const |
Definition at line 114 of file mythuifilebrowser.cpp.
|
inline |
Definition at line 37 of file mythuifilebrowser.h.
Definition at line 73 of file mythuifilebrowser.cpp.
|
inline |
Definition at line 45 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.
|
inline |
Definition at line 49 of file mythuifilebrowser.h.
|
inline |
Definition at line 50 of file mythuifilebrowser.h.
Referenced by MythUIFileBrowser::updateRemoteFileList().
|
inline |
Definition at line 46 of file mythuifilebrowser.h.
Referenced by MythUIFileBrowser::updateRemoteFileList().
| qint64 MFileInfo::size | ( | void | ) | const |
Definition at line 135 of file mythuifilebrowser.cpp.
Referenced by mythburn.FontDef::drawText(), mythburn.FontDef::getFont(), init(), MFileInfo(), operator=(), MythUIFileBrowser::updateLocalFileList(), and MythUIFileBrowser::updateRemoteFileList().
|
inline |
Definition at line 53 of file mythuifilebrowser.h.
|
inline |
Definition at line 54 of file mythuifilebrowser.h.
Referenced by MFileInfo(), and operator=().
|
inline |
Definition at line 55 of file mythuifilebrowser.h.
|
private |
Definition at line 67 of file mythuifilebrowser.h.
Referenced by absoluteFilePath(), fileName(), filePath(), and init().
|
private |
Definition at line 64 of file mythuifilebrowser.h.
Referenced by init().
|
private |
Definition at line 60 of file mythuifilebrowser.h.
|
private |
Definition at line 61 of file mythuifilebrowser.h.
|
private |
Definition at line 62 of file mythuifilebrowser.h.
Referenced by init(), and isParentDir().
|
private |
Definition at line 59 of file mythuifilebrowser.h.
Referenced by absoluteFilePath(), fileName(), filePath(), init(), isDir(), isExecutable(), isFile(), isParentDir(), and size().
|
private |
Definition at line 70 of file mythuifilebrowser.h.
|
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 68 of file mythuifilebrowser.h.
Referenced by init().