ThumbItem Class Reference

#include <thumbview.h>

List of all members.

Public Member Functions

 ThumbItem ()
 ThumbItem (const QString &name, const QString &path, bool isDir, MythMediaDevice *dev=NULL)
 ~ThumbItem ()
bool Remove (void)
void InitCaption (bool get_caption)
void SetRotationAngle (int angle)
void SetName (const QString &name)
void SetCaption (const QString &caption)
void SetPath (const QString &path, bool isDir)
void SetImageFilename (const QString &filename)
void SetPixmap (QPixmap *pixmap)
void SetMediaDevice (MythMediaDevice *dev)
long GetRotationAngle (void)
QString GetName (void) const
bool HasCaption (void) const
QString GetCaption (void) const
QString GetImageFilename (void) const
QString GetPath (void) const
bool IsDir (void) const
QString GetDescription (const QString &status, const QSize &sz, int angle) const
QPixmap * GetPixmap (void)
MythMediaDeviceGetMediaDevice (void)

Private Attributes

QString m_name
QString m_caption
QString m_path
QString m_imageFilename
bool m_isDir
QPixmap * m_pixmap
MythMediaDevicem_mediaDevice

Detailed Description

Definition at line 15 of file thumbview.h.


Constructor & Destructor Documentation

ThumbItem::ThumbItem (  )  [inline]

Definition at line 18 of file thumbview.h.

ThumbItem::ThumbItem ( const QString &  name,
const QString &  path,
bool  isDir,
MythMediaDevice dev = NULL 
)

Definition at line 15 of file thumbview.cpp.

ThumbItem::~ThumbItem (  ) 

Definition at line 25 of file thumbview.cpp.


Member Function Documentation

bool ThumbItem::Remove ( void   ) 

Definition at line 34 of file thumbview.cpp.

void ThumbItem::InitCaption ( bool  get_caption  ) 

Definition at line 54 of file thumbview.cpp.

Referenced by SingleView::paintEvent().

void ThumbItem::SetRotationAngle ( int  angle  ) 

Definition at line 62 of file thumbview.cpp.

Referenced by SingleView::Rotate(), and GLSingleView::Rotate().

void ThumbItem::SetName ( const QString &  name  )  [inline]

Definition at line 32 of file thumbview.h.

void ThumbItem::SetCaption ( const QString &  caption  )  [inline]

Definition at line 34 of file thumbview.h.

Referenced by InitCaption().

void ThumbItem::SetPath ( const QString &  path,
bool  isDir 
) [inline]

Definition at line 36 of file thumbview.h.

void ThumbItem::SetImageFilename ( const QString &  filename  )  [inline]

Definition at line 38 of file thumbview.h.

void ThumbItem::SetPixmap ( QPixmap *  pixmap  ) 
void ThumbItem::SetMediaDevice ( MythMediaDevice dev  )  [inline]

Definition at line 41 of file thumbview.h.

long ThumbItem::GetRotationAngle ( void   ) 

Definition at line 85 of file thumbview.cpp.

Referenced by SingleView::Load(), and GLTexture::SetItem().

QString ThumbItem::GetName ( void   )  const [inline]
bool ThumbItem::HasCaption ( void   )  const [inline]

Definition at line 47 of file thumbview.h.

Referenced by InitCaption(), and SingleView::paintEvent().

QString ThumbItem::GetCaption ( void   )  const [inline]

Definition at line 48 of file thumbview.h.

Referenced by SingleView::paintEvent().

QString ThumbItem::GetImageFilename ( void   )  const [inline]

Definition at line 49 of file thumbview.h.

QString ThumbItem::GetPath ( void   )  const [inline]
bool ThumbItem::IsDir ( void   )  const [inline]

Definition at line 51 of file thumbview.h.

Referenced by ImageView::ImageView().

QString ThumbItem::GetDescription ( const QString &  status,
const QSize &  sz,
int  angle 
) const

Definition at line 117 of file thumbview.cpp.

Referenced by GLTexture::GetDescription(), and SingleView::paintEvent().

QPixmap* ThumbItem::GetPixmap ( void   )  [inline]

Definition at line 56 of file thumbview.h.

MythMediaDevice* ThumbItem::GetMediaDevice ( void   )  [inline]

Definition at line 57 of file thumbview.h.


Member Data Documentation

QString ThumbItem::m_name [private]

Definition at line 60 of file thumbview.h.

Referenced by GetName(), InitCaption(), SetName(), and ThumbItem().

QString ThumbItem::m_caption [private]

Definition at line 61 of file thumbview.h.

Referenced by GetCaption(), HasCaption(), and SetCaption().

QString ThumbItem::m_path [private]
QString ThumbItem::m_imageFilename [private]

Definition at line 63 of file thumbview.h.

Referenced by GetImageFilename(), and SetImageFilename().

Definition at line 64 of file thumbview.h.

Referenced by IsDir(), and SetPath().

QPixmap* ThumbItem::m_pixmap [private]

Definition at line 65 of file thumbview.h.

Referenced by GetPixmap(), SetPixmap(), and ~ThumbItem().

Definition at line 66 of file thumbview.h.

Referenced by GetMediaDevice(), and SetMediaDevice().


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:27 2012 for MythTV by  doxygen 1.6.3