digiKam
dbheaderlistitem.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2010-05-22
7  * Description : header list view item
8  *
9  * Copyright (C) 2010-2012 by Andi Clemens <andi dot clemens at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_DB_HEADER_LIST_ITEM_H
25 #define DIGIKAM_DB_HEADER_LIST_ITEM_H
26 
27 // Qt includes
28 
29 #include <QObject>
30 #include <QString>
31 #include <QTreeWidget>
32 #include <QTreeWidgetItem>
33 
34 namespace Digikam
35 {
36 
37 class DbHeaderListItem : public QObject, public QTreeWidgetItem
38 {
39  Q_OBJECT
40 
41 public:
42 
43  explicit DbHeaderListItem(QTreeWidget* parent, const QString& key);
44  ~DbHeaderListItem() override;
45 
46 private Q_SLOTS:
47 
48  void slotThemeChanged();
49 
50 private:
51 
52  DbHeaderListItem(const DbHeaderListItem&) = delete;
53  DbHeaderListItem& operator=(const DbHeaderListItem&) = delete;
54 };
55 
56 } // namespace Digikam
57 
58 #endif // DIGIKAM_DB_HEADER_LIST_ITEM_H
Definition: dbheaderlistitem.h:38
DbHeaderListItem(QTreeWidget *parent, const QString &key)
Definition: dbheaderlistitem.cpp:40
~DbHeaderListItem() override
Definition: dbheaderlistitem.cpp:68
Definition: datefolderview.cpp:43