MFileInfo Class Reference

#include <mythuifilebrowser.h>

List of all members.

Public Member Functions

 MFileInfo (QString fileName="", QString sgDir="", bool isDir=false, qint64 size=0)
 ~MFileInfo ()
MFileInfooperator= (const MFileInfo &fileinfo)
void init (QString fileName="", QString sgDir="", bool isDir=false, qint64 size=0)
QString fileName (void) const
QString filePath (void) const
bool isRemote (void)
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
bool m_isDir
bool m_isFile
bool m_isParentDir
QString m_hostName
QString m_storageGroup
QString m_storageGroupDir
QString m_fileName
QString m_subDir
qint64 m_size

Detailed Description

Definition at line 23 of file mythuifilebrowser.h.


Constructor & Destructor Documentation

MFileInfo::MFileInfo ( QString  fileName = "",
QString  sgDir = "",
bool  isDir = false,
qint64  size = 0 
)

Definition at line 24 of file mythuifilebrowser.cpp.

MFileInfo::~MFileInfo (  ) 

Definition at line 29 of file mythuifilebrowser.cpp.


Member Function Documentation

MFileInfo & MFileInfo::operator= ( const MFileInfo fileinfo  ) 

Definition at line 65 of file mythuifilebrowser.cpp.

void MFileInfo::init ( QString  fileName = "",
QString  sgDir = "",
bool  isDir = false,
qint64  size = 0 
)

Definition at line 33 of file mythuifilebrowser.cpp.

Referenced by MFileInfo(), and operator=().

QString MFileInfo::fileName ( void   )  const

Definition at line 75 of file mythuifilebrowser.cpp.

Referenced by operator=(), and MythUIFileBrowser::PathSelected().

QString MFileInfo::filePath ( void   )  const

Definition at line 83 of file mythuifilebrowser.cpp.

Referenced by MythUIFileBrowser::PathClicked().

bool MFileInfo::isRemote ( void   )  [inline]

Definition at line 37 of file mythuifilebrowser.h.

Referenced by MythUIFileBrowser::PathClicked().

bool MFileInfo::isDir ( void   )  const

Definition at line 91 of file mythuifilebrowser.cpp.

Referenced by operator=(), and MythUIFileBrowser::PathClicked().

bool MFileInfo::isFile ( void   )  const

Definition at line 99 of file mythuifilebrowser.cpp.

Referenced by MythUIFileBrowser::PathClicked().

bool MFileInfo::isParentDir ( void   )  const
bool MFileInfo::isExecutable ( void   )  const

Definition at line 115 of file mythuifilebrowser.cpp.

QString MFileInfo::absoluteFilePath ( void   )  const

Definition at line 123 of file mythuifilebrowser.cpp.

Referenced by MythUIFileBrowser::PathSelected().

qint64 MFileInfo::size ( void   )  const
void MFileInfo::setFile ( const QString &  file  )  [inline]

Definition at line 45 of file mythuifilebrowser.h.

void MFileInfo::setSize ( qint64  size  )  [inline]

Definition at line 46 of file mythuifilebrowser.h.

Referenced by MythUIFileBrowser::updateRemoteFileList().

void MFileInfo::setIsDir ( bool  isDir  )  [inline]

Definition at line 47 of file mythuifilebrowser.h.

Referenced by MythUIFileBrowser::updateRemoteFileList().

void MFileInfo::setIsFile ( bool  isFile  )  [inline]

Definition at line 48 of file mythuifilebrowser.h.

void MFileInfo::setIsParentDir ( bool  isParentDir  )  [inline]

Definition at line 49 of file mythuifilebrowser.h.

void MFileInfo::setSGDir ( QString  sgDir  )  [inline]

Definition at line 50 of file mythuifilebrowser.h.

Referenced by MythUIFileBrowser::updateRemoteFileList().

QString MFileInfo::hostName ( void   )  const [inline]

Definition at line 52 of file mythuifilebrowser.h.

QString MFileInfo::storageGroup ( void   )  const [inline]

Definition at line 53 of file mythuifilebrowser.h.

QString MFileInfo::storageGroupDir ( void   )  const [inline]

Definition at line 54 of file mythuifilebrowser.h.

Referenced by operator=(), and MythUIFileBrowser::PathClicked().

QString MFileInfo::subDir ( void   )  const [inline]

Definition at line 55 of file mythuifilebrowser.h.

Referenced by MythUIFileBrowser::PathClicked().


Member Data Documentation

Definition at line 60 of file mythuifilebrowser.h.

Referenced by init(), and isDir().

Definition at line 61 of file mythuifilebrowser.h.

Referenced by init(), and isFile().

Definition at line 62 of file mythuifilebrowser.h.

Referenced by init(), and isParentDir().

QString MFileInfo::m_hostName [private]

Definition at line 64 of file mythuifilebrowser.h.

Referenced by init().

QString MFileInfo::m_storageGroup [private]

Definition at line 65 of file mythuifilebrowser.h.

Referenced by init().

QString MFileInfo::m_storageGroupDir [private]

Definition at line 66 of file mythuifilebrowser.h.

Referenced by init().

QString MFileInfo::m_fileName [private]

Definition at line 67 of file mythuifilebrowser.h.

Referenced by absoluteFilePath(), fileName(), filePath(), and init().

QString MFileInfo::m_subDir [private]

Definition at line 68 of file mythuifilebrowser.h.

Referenced by init().

qint64 MFileInfo::m_size [private]

Definition at line 70 of file mythuifilebrowser.h.

Referenced by init(), and size().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:07 2012 for MythTV by  doxygen 1.6.3