digiKam
Digikam::DItemsListViewItem Class Reference
+ Inheritance diagram for Digikam::DItemsListViewItem:

Public Types

enum  State { Waiting , Success , Failed }
 

Public Member Functions

QString comments () const
 
 DItemsListViewItem (DItemsListView *const view, const QUrl &url)
 
bool hasValidThumbnail () const
 
int rating () const
 
void setComments (const QString &comments)
 
void setIsLessThanHandler (DItemsListIsLessThanHandler fncptr)
 
void setProcessedIcon (const QIcon &icon)
 
void setProgressAnimation (const QPixmap &pix)
 
void setRating (int rating)
 
void setState (State state)
 
void setTags (const QStringList &tags)
 
void setThumb (const QPixmap &pix, bool hasThumb=true)
 
void setUrl (const QUrl &url)
 
State state () const
 
QStringList tags () const
 
void updateInformation ()
 
virtual void updateItemWidgets ()
 
QUrl url () const
 
 ~DItemsListViewItem () override
 

Protected Member Functions

DItemsListViewview () const
 

Member Enumeration Documentation

◆ State

Enumerator
Waiting 
Success 
Failed 

Constructor & Destructor Documentation

◆ DItemsListViewItem()

Digikam::DItemsListViewItem::DItemsListViewItem ( DItemsListView *const  view,
const QUrl &  url 
)
explicit

◆ ~DItemsListViewItem()

Digikam::DItemsListViewItem::~DItemsListViewItem ( )
override

Member Function Documentation

◆ comments()

QString Digikam::DItemsListViewItem::comments ( ) const

Referenced by setComments().

◆ hasValidThumbnail()

bool Digikam::DItemsListViewItem::hasValidThumbnail ( ) const

◆ rating()

int Digikam::DItemsListViewItem::rating ( ) const

Referenced by setRating().

◆ setComments()

void Digikam::DItemsListViewItem::setComments ( const QString &  comments)

References comments().

Referenced by updateInformation().

◆ setIsLessThanHandler()

void Digikam::DItemsListViewItem::setIsLessThanHandler ( DItemsListIsLessThanHandler  fncptr)

◆ setProcessedIcon()

void Digikam::DItemsListViewItem::setProcessedIcon ( const QIcon &  icon)

◆ setProgressAnimation()

void Digikam::DItemsListViewItem::setProgressAnimation ( const QPixmap &  pix)

◆ setRating()

void Digikam::DItemsListViewItem::setRating ( int  rating)

References rating().

Referenced by DItemsListViewItem(), and updateInformation().

◆ setState()

void Digikam::DItemsListViewItem::setState ( State  state)

References state().

Referenced by Digikam::DItemsList::processed().

◆ setTags()

void Digikam::DItemsListViewItem::setTags ( const QStringList &  tags)

References tags().

Referenced by updateInformation().

◆ setThumb()

void Digikam::DItemsListViewItem::setThumb ( const QPixmap &  pix,
bool  hasThumb = true 
)

◆ setUrl()

void Digikam::DItemsListViewItem::setUrl ( const QUrl &  url)

◆ state()

DItemsListViewItem::State Digikam::DItemsListViewItem::state ( ) const

◆ tags()

QStringList Digikam::DItemsListViewItem::tags ( ) const

Referenced by setTags().

◆ updateInformation()

void Digikam::DItemsListViewItem::updateInformation ( )

◆ updateItemWidgets()

virtual void Digikam::DItemsListViewItem::updateItemWidgets ( )
inlinevirtual

Implement this, if you have special item widgets, e.g. an edit line they will be set automatically when adding items, changing order, etc.

Reimplemented in DigikamGenericFlickrPlugin::FlickrListViewItem.

Referenced by Digikam::DItemsList::slotMoveDownItems(), and Digikam::DItemsList::slotMoveUpItems().

◆ url()

◆ view()

DItemsListView * Digikam::DItemsListViewItem::view ( ) const
protected

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