digiKam
DigikamGenericImgUrPlugin::ImgurImageListViewItem Class Reference
+ Inheritance diagram for DigikamGenericImgUrPlugin::ImgurImageListViewItem:

Public Types

enum  State { Waiting , Success , Failed }
 

Public Member Functions

QString comments () const
 
QString Description () const
 
bool hasValidThumbnail () const
 
QString ImgurDeleteUrl () const
 
 ImgurImageListViewItem (DItemsListView *const view, const QUrl &url)
 
QString ImgurUrl () const
 
int rating () const
 
void setComments (const QString &comments)
 
void setDescription (const QString &str)
 
void setImgurDeleteUrl (const QString &str)
 
void setImgurUrl (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
 
 ~ImgurImageListViewItem () override=default
 

Protected Member Functions

DItemsListView * view () const
 

Member Enumeration Documentation

◆ State

Enumerator
Waiting 
Success 
Failed 

Constructor & Destructor Documentation

◆ ImgurImageListViewItem()

DigikamGenericImgUrPlugin::ImgurImageListViewItem::ImgurImageListViewItem ( DItemsListView *const  view,
const QUrl &  url 
)
explicit

◆ ~ImgurImageListViewItem()

DigikamGenericImgUrPlugin::ImgurImageListViewItem::~ImgurImageListViewItem ( )
overridedefault

Member Function Documentation

◆ comments()

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

◆ Description()

QString DigikamGenericImgUrPlugin::ImgurImageListViewItem::Description ( ) const

◆ hasValidThumbnail()

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

◆ ImgurDeleteUrl()

QString DigikamGenericImgUrPlugin::ImgurImageListViewItem::ImgurDeleteUrl ( ) const

◆ ImgurUrl()

QString DigikamGenericImgUrPlugin::ImgurImageListViewItem::ImgurUrl ( ) const

◆ rating()

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

◆ setComments()

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

◆ setDescription()

void DigikamGenericImgUrPlugin::ImgurImageListViewItem::setDescription ( const QString &  str)

◆ setImgurDeleteUrl()

void DigikamGenericImgUrPlugin::ImgurImageListViewItem::setImgurDeleteUrl ( const QString &  str)

◆ setImgurUrl()

void DigikamGenericImgUrPlugin::ImgurImageListViewItem::setImgurUrl ( 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 DigikamGenericImgUrPlugin::ImgurImageListViewItem::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 DigikamGenericImgUrPlugin::ImgurImageListViewItem::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: