MauiKit Image Tools
8#include <QAbstractListModel>
12#include <MauiKit4/Core/mauilist.h>
28 Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged)
29 Q_PROPERTY(QString fileName MEMBER m_fileName NOTIFY fileNameChanged FINAL)
30 Q_PROPERTY(
double lat READ latitude NOTIFY dataReady FINAL)
31 Q_PROPERTY(
double lon READ longitude NOTIFY dataReady FINAL)
32 Q_PROPERTY(
double alt READ altitude NOTIFY dataReady FINAL)
33 Q_PROPERTY(QString exifComment READ exifComment NOTIFY dataReady FINAL)
34 Q_PROPERTY(QString cityName READ cityName NOTIFY dataReady FINAL)
35 Q_PROPERTY(QSize pixelSize READ pixelSize NOTIFY dataReady FINAL)
38 enum ROLES { KEY, VALUE };
42 void componentComplete() override final;
45 void setUrl(QUrl url);
47 double latitude() const;
48 double longitude() const;
49 double altitude() const;
50 QString cityName() const;
51 QSize pixelSize() const;
53 bool removeTag(const QString &tag);
54 bool editTag(const QString &tag, const QString &value);
56 bool setGpsData(const QString &latitude, const QString &longitude, const QString &altitude =
"0.0");
59 bool setComment(const QString &comment);
60 QString exifComment() const;
64 Exiv2Extractor *m_extractor;
67 FMH::MODEL_LIST m_data;
72 QString m_exifComment;
79 void urlChanged(QUrl url);
80 void fileNameChanged();
85 const FMH::MODEL_LIST &items() const override;
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 11 2025 11:57:09 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.