digiKam
DigikamGenericFlickrPlugin::FlickrList Class Reference
+ Inheritance diagram for DigikamGenericFlickrPlugin::FlickrList:

Public Types

enum  ContentType { PHOTO = 1 , SCREENSHOT = 2 , OTHER = 3 , MIXEDTYPES = -1 }
 
enum  ControlButton {
  Add = 0x1 , Remove = 0x2 , MoveUp = 0x4 , MoveDown = 0x8 ,
  Clear = 0x10 , Load = 0x20 , Save = 0x40
}
 
enum  ControlButtonPlacement {
  NoControlButtons = 0 , ControlButtonsLeft , ControlButtonsRight , ControlButtonsAbove ,
  ControlButtonsBelow
}
 
enum  FieldType {
  SAFETYLEVEL = DItemsListView::User1 , CONTENTTYPE = DItemsListView::User2 , TAGS = DItemsListView::User3 , PUBLIC = DItemsListView::User4 ,
  FAMILY = DItemsListView::User5 , FRIENDS = DItemsListView::User6
}
 
enum  SafetyLevel { SAFE = 1 , MODERATE = 2 , RESTRICTED = 3 , MIXEDLEVELS = -1 }
 

Public Slots

void slotAddImages (const QList< QUrl > &list) override
 
virtual void slotRemoveItems ()
 

Signals

void signalAddItems (const QList< QUrl > &)
 
void signalContentTypeChanged (FlickrList::ContentType)
 
void signalContextMenuRequested ()
 
void signalFoundRAWImages (bool)
 
void signalImageListChanged ()
 
void signalItemClicked (QTreeWidgetItem *)
 
void signalMoveDownItem ()
 
void signalMoveUpItem ()
 
void signalPermissionChanged (FlickrList::FieldType, Qt::CheckState)
 
void signalRemovedItems (const QList< int > &)
 
void signalSafetyLevelChanged (FlickrList::SafetyLevel)
 
void signalXMLCustomElements (QXmlStreamReader &)
 
void signalXMLCustomElements (QXmlStreamWriter &)
 
void signalXMLLoadImageElement (QXmlStreamReader &)
 
void signalXMLSaveItem (QXmlStreamWriter &, int)
 

Public Member Functions

void cancelProcess ()
 
bool checkSelection ()
 
void clearProcessedStatus ()
 
void enableControlButtons (bool enable=true)
 
void enableDragAndDrop (const bool enable=true)
 
 FlickrList (QWidget *const parent=nullptr)
 
QUrl getCurrentUrl () const
 
int iconSize () const
 
DInfoInterface * iface () const
 
virtual QList< QUrl > imageUrls (bool onlyUnprocessed=false) const
 
DItemsListView * listView () const
 
void loadImagesFromCurrentAlbum ()
 
void loadImagesFromCurrentSelection ()
 
void processed (const QUrl &url, bool success)
 
void processing (const QUrl &url)
 
virtual void removeItemByUrl (const QUrl &url)
 
void setAllowDuplicate (bool allow)
 
void setAllowRAW (bool allow)
 
void setContentTypes (ContentType)
 
void setControlButtons (ControlButtons buttonMask)
 
void setControlButtonsPlacement (ControlButtonPlacement placement)
 
void setCurrentUrl (const QUrl &url)
 
void setFamily (Qt::CheckState)
 
void setFriends (Qt::CheckState)
 
void setIconSize (int size)
 
void setIface (DInfoInterface *const iface)
 
void setPublic (Qt::CheckState)
 
void setSafetyLevels (SafetyLevel)
 
void updateThumbnail (const QUrl &url)
 
 ~FlickrList () override
 
void setIsLessThanHandler (DItemsListIsLessThanHandler fncptr)
 
DItemsListIsLessThanHandler isLessThanHandler () const
 

Protected Slots

virtual void slotAddItems ()
 
virtual void slotClearItems ()
 
virtual void slotImageListChanged ()
 
virtual void slotLoadItems ()
 
virtual void slotMoveDownItems ()
 
virtual void slotMoveUpItems ()
 
void slotProgressTimerDone ()
 
virtual void slotSaveItems ()
 
virtual void slotThumbnail (const LoadingDescription &, const QPixmap &)
 

Member Enumeration Documentation

◆ ContentType

The different possible content types recognized by Flickr.

Enumerator
PHOTO 
SCREENSHOT 
OTHER 
MIXEDTYPES 

◆ ControlButton

Enumerator
Add 
Remove 
MoveUp 
MoveDown 
Clear 
Load 
Save 

◆ ControlButtonPlacement

Enumerator
NoControlButtons 
ControlButtonsLeft 
ControlButtonsRight 
ControlButtonsAbove 
ControlButtonsBelow 

◆ FieldType

The different columns in a Flickr list.

Enumerator
SAFETYLEVEL 
CONTENTTYPE 
TAGS 
PUBLIC 
FAMILY 
FRIENDS 

◆ SafetyLevel

The different possible safety levels recognized by Flickr.

Enumerator
SAFE 
MODERATE 
RESTRICTED 
MIXEDLEVELS 

Constructor & Destructor Documentation

◆ FlickrList()

DigikamGenericFlickrPlugin::FlickrList::FlickrList ( QWidget *const  parent = nullptr)
explicit

◆ ~FlickrList()

DigikamGenericFlickrPlugin::FlickrList::~FlickrList ( )
override

Member Function Documentation

◆ cancelProcess()

void Digikam::DItemsList::cancelProcess ( )
inherited

◆ checkSelection()

bool Digikam::DItemsList::checkSelection ( )
inherited

a function to check whether an image has been selected or not.

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

◆ clearProcessedStatus()

void Digikam::DItemsList::clearProcessedStatus ( )
inherited

◆ enableControlButtons()

void Digikam::DItemsList::enableControlButtons ( bool  enable = true)
inherited

◆ enableDragAndDrop()

void Digikam::DItemsList::enableDragAndDrop ( const bool  enable = true)
inherited

◆ getCurrentUrl()

QUrl Digikam::DItemsList::getCurrentUrl ( ) const
inherited

◆ iconSize()

int Digikam::DItemsList::iconSize ( ) const
inherited

◆ iface()

DInfoInterface * Digikam::DItemsList::iface ( ) const
inherited

◆ imageUrls()

QList< QUrl > Digikam::DItemsList::imageUrls ( bool  onlyUnprocessed = false) const
virtualinherited

◆ isLessThanHandler()

DItemsListIsLessThanHandler Digikam::DItemsList::isLessThanHandler ( ) const
inherited

◆ listView()

DItemsListView * Digikam::DItemsList::listView ( ) const
inherited

◆ loadImagesFromCurrentAlbum()

void Digikam::DItemsList::loadImagesFromCurrentAlbum ( )
inherited

A function to load all the images from the album if no image has been selected by user.

References Digikam::DItemsList::slotAddImages().

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

◆ loadImagesFromCurrentSelection()

◆ processed()

◆ processing()

void Digikam::DItemsList::processing ( const QUrl &  url)
inherited

◆ removeItemByUrl()

void Digikam::DItemsList::removeItemByUrl ( const QUrl &  url)
virtualinherited

◆ setAllowDuplicate()

void Digikam::DItemsList::setAllowDuplicate ( bool  allow)
inherited

◆ setAllowRAW()

◆ setContentTypes()

void DigikamGenericFlickrPlugin::FlickrList::setContentTypes ( ContentType  contentType)

◆ setControlButtons()

◆ setControlButtonsPlacement()

◆ setCurrentUrl()

void Digikam::DItemsList::setCurrentUrl ( const QUrl &  url)
inherited

◆ setFamily()

void DigikamGenericFlickrPlugin::FlickrList::setFamily ( Qt::CheckState  isFamily)

References FAMILY.

◆ setFriends()

void DigikamGenericFlickrPlugin::FlickrList::setFriends ( Qt::CheckState  isFriends)

References FRIENDS.

◆ setIconSize()

void Digikam::DItemsList::setIconSize ( int  size)
inherited

◆ setIface()

◆ setIsLessThanHandler()

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

Methods to handle function pointer used to customize sort items in list. See DItemsListIsLessThanHandler type for details.

◆ setPublic()

void DigikamGenericFlickrPlugin::FlickrList::setPublic ( Qt::CheckState  isPublic)

References PUBLIC.

◆ setSafetyLevels()

void DigikamGenericFlickrPlugin::FlickrList::setSafetyLevels ( SafetyLevel  safetyLevel)

◆ signalAddItems

void Digikam::DItemsList::signalAddItems ( const QList< QUrl > &  )
signalinherited

◆ signalContentTypeChanged

void DigikamGenericFlickrPlugin::FlickrList::signalContentTypeChanged ( FlickrList::ContentType  )
signal

◆ signalContextMenuRequested

void Digikam::DItemsList::signalContextMenuRequested ( )
signalinherited

◆ signalFoundRAWImages

void Digikam::DItemsList::signalFoundRAWImages ( bool  )
signalinherited

◆ signalImageListChanged

◆ signalItemClicked

void Digikam::DItemsList::signalItemClicked ( QTreeWidgetItem *  )
signalinherited

◆ signalMoveDownItem

void Digikam::DItemsList::signalMoveDownItem ( )
signalinherited

◆ signalMoveUpItem

void Digikam::DItemsList::signalMoveUpItem ( )
signalinherited

◆ signalPermissionChanged

void DigikamGenericFlickrPlugin::FlickrList::signalPermissionChanged ( FlickrList::FieldType  ,
Qt::CheckState   
)
signal

Signal for notifying when the states of one of the permission columns has changed. The first argument specifies which permission has changed, the second the state.

◆ signalRemovedItems

void Digikam::DItemsList::signalRemovedItems ( const QList< int > &  )
signalinherited

◆ signalSafetyLevelChanged

void DigikamGenericFlickrPlugin::FlickrList::signalSafetyLevelChanged ( FlickrList::SafetyLevel  )
signal

◆ signalXMLCustomElements [1/2]

void Digikam::DItemsList::signalXMLCustomElements ( QXmlStreamReader &  )
signalinherited

◆ signalXMLCustomElements [2/2]

void Digikam::DItemsList::signalXMLCustomElements ( QXmlStreamWriter &  )
signalinherited

◆ signalXMLLoadImageElement

void Digikam::DItemsList::signalXMLLoadImageElement ( QXmlStreamReader &  )
signalinherited

◆ signalXMLSaveItem

void Digikam::DItemsList::signalXMLSaveItem ( QXmlStreamWriter &  ,
int   
)
signalinherited

◆ slotAddImages

void DigikamGenericFlickrPlugin::FlickrList::slotAddImages ( const QList< QUrl > &  list)
overrideslot

◆ slotAddItems

void Digikam::DItemsList::slotAddItems ( )
protectedvirtualslotinherited

◆ slotClearItems

void Digikam::DItemsList::slotClearItems ( )
protectedvirtualslotinherited

◆ slotImageListChanged

void Digikam::DItemsList::slotImageListChanged ( )
protectedvirtualslotinherited

◆ slotLoadItems

◆ slotMoveDownItems

◆ slotMoveUpItems

◆ slotProgressTimerDone

void Digikam::DItemsList::slotProgressTimerDone ( )
protectedslotinherited

◆ slotRemoveItems

◆ slotSaveItems

◆ slotThumbnail

void Digikam::DItemsList::slotThumbnail ( const LoadingDescription desc,
const QPixmap &  pix 
)
protectedvirtualslotinherited

◆ updateThumbnail()

void Digikam::DItemsList::updateThumbnail ( const QUrl &  url)
inherited

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