ThumbItem Class Reference

#include <thumbview.h>

List of all members.


Detailed Description

Definition at line 15 of file thumbview.h.


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 SetPixmap (QPixmap *pixmap)
void SetMediaDevice (MythMediaDevice *dev)
long GetRotationAngle (void)
QString GetName (void) const
bool HasCaption (void) const
QString GetCaption (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
bool m_isDir
QPixmap * m_pixmap
MythMediaDevicem_mediaDevice

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 
) [inline]

Definition at line 22 of file thumbview.h.

ThumbItem::~ThumbItem (  ) 

Definition at line 16 of file thumbview.cpp.


Member Function Documentation

bool ThumbItem::Remove ( void   ) 

Definition at line 25 of file thumbview.cpp.

void ThumbItem::InitCaption ( bool  get_caption  ) 

Definition at line 45 of file thumbview.cpp.

Referenced by IconView::UpdateText().

void ThumbItem::SetRotationAngle ( int  angle  ) 

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

Definition at line 35 of file thumbview.h.

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

Definition at line 37 of file thumbview.h.

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

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

Definition at line 39 of file thumbview.h.

Referenced by IconView::HandleMediaDeviceSelect().

void ThumbItem::SetPixmap ( QPixmap *  pixmap  ) 

void ThumbItem::SetMediaDevice ( MythMediaDevice dev  )  [inline]

Definition at line 42 of file thumbview.h.

long ThumbItem::GetRotationAngle ( void   ) 

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

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

Definition at line 48 of file thumbview.h.

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

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

Definition at line 49 of file thumbview.h.

Referenced by SingleView::paintEvent(), and IconView::UpdateText().

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

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

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

Definition at line 108 of file thumbview.cpp.

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

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

Definition at line 56 of file thumbview.h.

Referenced by IconView::UpdateView().

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

Definition at line 57 of file thumbview.h.

Referenced by IconView::HandleItemSelect(), and IconView::HandleMediaDeviceSelect().


Member Data Documentation

QString ThumbItem::m_name [private]

Definition at line 60 of file thumbview.h.

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

QString ThumbItem::m_caption [private]

Definition at line 61 of file thumbview.h.

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

QString ThumbItem::m_path [private]

Definition at line 62 of file thumbview.h.

Referenced by GetPath(), GetRotationAngle(), InitCaption(), Remove(), SetPath(), and SetRotationAngle().

Definition at line 63 of file thumbview.h.

Referenced by IsDir(), and SetPath().

QPixmap* ThumbItem::m_pixmap [private]

Definition at line 64 of file thumbview.h.

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

Definition at line 65 of file thumbview.h.

Referenced by GetMediaDevice(), and SetMediaDevice().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5