digiKam
DigikamGenericIpfsPlugin::IpfsImagesListViewItem Class Reference
+ Inheritance diagram for DigikamGenericIpfsPlugin::IpfsImagesListViewItem:

Public Types

enum  State { Waiting , Success , Failed }
 

Public Member Functions

QString comments () const
 
QString Description () const
 
bool hasValidThumbnail () const
 
 IpfsImagesListViewItem (DItemsListView *const view, const QUrl &url)
 
QString IpfsUrl () const
 
int rating () const
 
void setComments (const QString &comments)
 
void setDescription (const QString &str)
 
void setIpfsUrl (const QString &str)
 
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 setTitle (const QString &str)
 
void setUrl (const QUrl &url)
 
State state () const
 
QStringList tags () const
 
QString Title () const
 
void updateInformation ()
 
virtual void updateItemWidgets ()
 
QUrl url () const
 
 ~IpfsImagesListViewItem () override=default
 

Protected Member Functions

DItemsListView * view () const
 

Member Enumeration Documentation

◆ State

Enumerator
Waiting 
Success 
Failed 

Constructor & Destructor Documentation

◆ IpfsImagesListViewItem()

DigikamGenericIpfsPlugin::IpfsImagesListViewItem::IpfsImagesListViewItem ( DItemsListView *const  view,
const QUrl &  url 
)
explicit

◆ ~IpfsImagesListViewItem()

DigikamGenericIpfsPlugin::IpfsImagesListViewItem::~IpfsImagesListViewItem ( )
overridedefault

Member Function Documentation

◆ comments()

QString Digikam::DItemsListViewItem::comments ( ) const
inherited

◆ Description()

QString DigikamGenericIpfsPlugin::IpfsImagesListViewItem::Description ( ) const

◆ hasValidThumbnail()

bool Digikam::DItemsListViewItem::hasValidThumbnail ( ) const
inherited

◆ IpfsUrl()

QString DigikamGenericIpfsPlugin::IpfsImagesListViewItem::IpfsUrl ( ) const

◆ rating()

int Digikam::DItemsListViewItem::rating ( ) const
inherited

◆ setComments()

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

◆ setDescription()

void DigikamGenericIpfsPlugin::IpfsImagesListViewItem::setDescription ( const QString &  str)

◆ setIpfsUrl()

void DigikamGenericIpfsPlugin::IpfsImagesListViewItem::setIpfsUrl ( const QString &  str)

◆ setIsLessThanHandler()

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

◆ setProcessedIcon()

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

◆ setProgressAnimation()

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

◆ setRating()

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

◆ setState()

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

◆ setTags()

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

◆ setThumb()

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

◆ setTitle()

void DigikamGenericIpfsPlugin::IpfsImagesListViewItem::setTitle ( const QString &  str)

◆ setUrl()

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

◆ state()

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

◆ tags()

QStringList Digikam::DItemsListViewItem::tags ( ) const
inherited

◆ Title()

QString DigikamGenericIpfsPlugin::IpfsImagesListViewItem::Title ( ) const

◆ updateInformation()

◆ updateItemWidgets()

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

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
protectedinherited

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