File indexing completed on 2024-05-12 05:17:26

0001 /*
0002     SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef ATTRIBUTEMODEL_H
0008 #define ATTRIBUTEMODEL_H
0009 
0010 #include <QStandardItemModel>
0011 
0012 namespace KItinerary {
0013 class HtmlElement;
0014 }
0015 
0016 /** HTML attribute model. */
0017 class AttributeModel : public QStandardItemModel
0018 {
0019     Q_OBJECT
0020 public:
0021     explicit AttributeModel(QObject *parent = nullptr);
0022     ~AttributeModel();
0023 
0024     void setElement(KItinerary::HtmlElement elem);
0025 };
0026 
0027 #endif // ATTRIBUTEMODEL_H