1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : A widget to display a camera folder.
9
* Copyright (C) 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com>
10
* Copyright (C) 2006-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
* This program is free software; you can redistribute it
13
* and/or modify it under the terms of the GNU General
14
* Public License as published by the Free Software Foundation;
15
* either version 2, or (at your option)
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* ============================================================ */
25
#ifndef CAMERAFOLDERITEM_H
26
#define CAMERAFOLDERITEM_H
32
#include <QTreeWidgetItem>
36
#include <kiconloader.h>
41
class CameraFolderItem : public QTreeWidgetItem
46
CameraFolderItem(QTreeWidget* const parent, const QString& name,
47
const QPixmap& pixmap = SmallIcon("folder"));
49
CameraFolderItem(QTreeWidgetItem* const parent, const QString& folderName,
50
const QString& folderPath,
51
const QPixmap& pixmap = SmallIcon("folder"));
55
QString folderName() const;
56
QString folderPath() const;
57
bool isVirtualFolder() const;
58
void changeCount(int val);
59
void setCount(int val);
68
} // namespace Digikam
70
#endif /* CAMERAFOLDERITEM_H */