25 #ifndef DIGIKAM_CAMERA_FOLDER_VIEW_H
26 #define DIGIKAM_CAMERA_FOLDER_VIEW_H
32 #include <QTreeWidget>
38 class CameraFolderItem;
49 void addVirtualFolder(
const QString& name,
const QIcon &icon = QIcon::fromTheme(QLatin1String(
"camera-photo")));
50 void addRootFolder(
const QString& folder,
int nbItems = -1,
const QIcon& icon = QIcon::fromTheme(QLatin1String(
"folder")));
53 const QIcon& icon = QIcon::fromTheme(QLatin1String(
"folder")));
69 void slotCurrentChanged(QTreeWidgetItem*,
int);
Definition: camerafolderitem.h:39
Definition: camerafolderview.h:41
CameraFolderItem * addFolder(const QString &folder, const QString &subFolder, int nbItems, const QIcon &icon=QIcon::fromTheme(QLatin1String("folder")))
Definition: camerafolderview.cpp:106
CameraFolderItem * findFolder(const QString &folderPath)
Definition: camerafolderview.cpp:147
~CameraFolderView() override
Definition: camerafolderview.cpp:77
void addRootFolder(const QString &folder, int nbItems=-1, const QIcon &icon=QIcon::fromTheme(QLatin1String("folder")))
Definition: camerafolderview.cpp:95
CameraFolderItem * virtualFolder() const
Definition: camerafolderview.cpp:178
CameraFolderView(QWidget *const parent)
Definition: camerafolderview.cpp:56
void addVirtualFolder(const QString &name, const QIcon &icon=QIcon::fromTheme(QLatin1String("camera-photo")))
Definition: camerafolderview.cpp:82
virtual void clear()
Definition: camerafolderview.cpp:188
CameraFolderItem * rootFolder() const
Definition: camerafolderview.cpp:183
void signalFolderChanged(CameraFolderItem *)
Definition: datefolderview.cpp:43