Extract function

This commit is contained in:
Luis Ángel San Martín
2022-10-29 11:07:10 +02:00
parent 555540b85d
commit 3e2bda7cf1
3 changed files with 25 additions and 18 deletions

View File

@ -4,6 +4,7 @@
#include <QStandardPaths>
#include <QDataStream>
#include <QMetaType>
#include <QAbstractItemModel>
#define VERSION "9.10.0"
@ -68,6 +69,10 @@ QString getSettingsPath();
QString colorToName(LabelColors colors);
QString labelColorToRGBString(LabelColors color);
void iterate(const QModelIndex &index,
const QAbstractItemModel *model,
const std::function<bool(const QModelIndex &)> &iteration);
}
Q_DECLARE_METATYPE(YACReader::OpenComicSource::Source)