digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
Loading...
Searching...
No Matches
Digikam::FuzzySearchView Class Reference
+ Inheritance diagram for Digikam::FuzzySearchView:

Signals

void signalNotificationError (const QString &message, int type)
 

Public Member Functions

 FuzzySearchView (SearchModel *const searchModel, SearchModificationHelper *const searchModificationHelper, QWidget *const parent=nullptr)
 
SAlbumcurrentAlbum () const
 
void doLoadState () override
 Implement this hook method for state loading.
 
void doSaveState () override
 Implement this hook method for state saving.
 
void newDuplicatesSearch (const QList< PAlbum * > &albums)
 
void newDuplicatesSearch (const QList< TAlbum * > &albums)
 
void setActive (bool val)
 
void setConfigGroup (const KConfigGroup &group) override
 Sets a dedicated config group that will be used to store and reload the state from.
 
void setCurrentAlbum (SAlbum *const album)
 
void setItemInfo (const ItemInfo &info)
 
- Public Member Functions inherited from Digikam::StateSavingObject
 StateSavingObject (QObject *const host)
 Constructor.
 
virtual ~StateSavingObject ()
 Destructor.
 
StateSavingDepth getStateSavingDepth () const
 Returns the depth used for state saving or loading.
 
void loadState ()
 Invokes loading the class' state.
 
void saveState ()
 Invokes saving the class' state.
 
virtual void setEntryPrefix (const QString &prefix)
 Define a prefix that will be used for every entry in the config group.
 
void setStateSavingDepth (const StateSavingDepth depth)
 Sets the depth used for state saving or loading.
 

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *e) override
 
void dragMoveEvent (QDragMoveEvent *e) override
 
void dropEvent (QDropEvent *e) override
 
- Protected Member Functions inherited from Digikam::StateSavingObject
QString entryName (const QString &base) const
 Always use this method to create config group entry names.
 
KConfigGroup getConfigGroup () const
 Returns the config group that must be used for state saving and loading.
 

Additional Inherited Members

- Public Types inherited from Digikam::StateSavingObject
enum  StateSavingDepth { INSTANCE , DIRECT_CHILDREN , RECURSIVE }
 This enum defines the "depth" of the StateSavingObject::loadState() and StateSavingObject::saveState() methods. More...
 

Member Function Documentation

◆ doLoadState()

void Digikam::FuzzySearchView::doLoadState ( )
overridevirtual

Use getConfigGroup() and entryName() for the implementation.

Implements Digikam::StateSavingObject.

◆ doSaveState()

void Digikam::FuzzySearchView::doSaveState ( )
overridevirtual

Use getConfigGroup() and entryName() for the implementation.

Implements Digikam::StateSavingObject.

◆ setConfigGroup()

void Digikam::FuzzySearchView::setConfigGroup ( const KConfigGroup &  group)
overridevirtual

If this method is not called, a group based on the object name is used.

You can re-implement this method to pass the group set here to child objects. Don't forget to call this method in your implementation.

Parameters
groupconfig group to use for state saving and restoring

Reimplemented from Digikam::StateSavingObject.