Top100
Your Personal Movie List (C++17 CLI + library)
|
Shared QAbstractListModel exposing movies to both Qt and KDE UIs. More...
#include <QAbstractListModel>
#include <QHash>
#include <QByteArray>
#include <vector>
#include <string>
#include <QString>
#include <QVariantMap>
#include <QFutureWatcher>
#include <QDebug>
#include <QtConcurrent>
#include "../../lib/Movie.h"
#include "../../lib/top100.h"
#include "../../lib/config.h"
#include "../../lib/posting.h"
#include "../../lib/omdb.h"
Go to the source code of this file.
Classes | |
class | Top100ListModel |
Shared QAbstractListModel exposing movies to both Qt and KDE UIs.
Roles: title, year, rank, posterUrl, plotFull, imdbID; also supports Qt::DisplayRole for convenience. Provides reload(), get(row) for QML details binding, OMDb-assisted add, delete by IMDb ID, and async posting.