File indexing completed on 2024-04-28 04:21:03
0001 // SPDX-FileCopyrightText: 2003-2022 Jesper K. Pedersen <blackie@kde.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 #ifndef EXIFTREEVIEW_H 0006 #define EXIFTREEVIEW_H 0007 0008 #include <kpabase/StringSet.h> 0009 0010 #include <QTreeWidget> 0011 0012 namespace Exif 0013 { 0014 using Utilities::StringSet; 0015 0016 class TreeView : public QTreeWidget 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 TreeView(const QString &title, QWidget *parent); 0022 StringSet selected(); 0023 void setSelectedExif(const StringSet &selected); 0024 void reload(); 0025 0026 protected Q_SLOTS: 0027 void toggleChildren(QTreeWidgetItem *); 0028 }; 0029 0030 } 0031 0032 #endif /* EXIFTREEVIEW_H */ 0033 0034 // vi:expandtab:tabstop=4 shiftwidth=4: