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

Signals

void signalCleared ()
 
void signalFolderChanged (CameraFolderItem *)
 

Public Member Functions

CameraFolderItemaddFolder (const QString &folder, const QString &subFolder, int nbItems, const QIcon &icon=QIcon::fromTheme(QLatin1String("folder")))
 
void addRootFolder (const QString &folder, int nbItems=-1, const QIcon &icon=QIcon::fromTheme(QLatin1String("folder")))
 
void addVirtualFolder (const QString &name, const QIcon &icon=QIcon::fromTheme(QLatin1String("camera-photo")))
 
 CameraFolderView (QWidget *const parent)
 
virtual void clear ()
 
CameraFolderItemfindFolder (const QString &folderPath)
 
CameraFolderItemrootFolder () const
 
CameraFolderItemvirtualFolder () const
 
 ~CameraFolderView () override
 

Constructor & Destructor Documentation

◆ CameraFolderView()

Digikam::CameraFolderView::CameraFolderView ( QWidget *const  parent)
explicit

◆ ~CameraFolderView()

Digikam::CameraFolderView::~CameraFolderView ( )
override

Member Function Documentation

◆ addFolder()

CameraFolderItem * Digikam::CameraFolderView::addFolder ( const QString &  folder,
const QString &  subFolder,
int  nbItems,
const QIcon &  icon = QIcon::fromTheme(QLatin1String("folder")) 
)

◆ addRootFolder()

void Digikam::CameraFolderView::addRootFolder ( const QString &  folder,
int  nbItems = -1,
const QIcon &  icon = QIcon::fromTheme(QLatin1String("folder")) 
)

◆ addVirtualFolder()

void Digikam::CameraFolderView::addVirtualFolder ( const QString &  name,
const QIcon &  icon = QIcon::fromTheme(QLatin1String("camera-photo")) 
)

◆ clear()

void Digikam::CameraFolderView::clear ( )
virtual

References signalCleared().

◆ findFolder()

CameraFolderItem * Digikam::CameraFolderView::findFolder ( const QString &  folderPath)

◆ rootFolder()

CameraFolderItem * Digikam::CameraFolderView::rootFolder ( ) const

◆ signalCleared

void Digikam::CameraFolderView::signalCleared ( )
signal

Referenced by clear().

◆ signalFolderChanged

void Digikam::CameraFolderView::signalFolderChanged ( CameraFolderItem )
signal

◆ virtualFolder()

CameraFolderItem * Digikam::CameraFolderView::virtualFolder ( ) const

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