Top100
Your Personal Movie List (C++17 CLI + library)
Loading...
Searching...
No Matches
Top100ListModel.h File Reference

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"
Include dependency graph for Top100ListModel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Top100ListModel
 

Detailed Description

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.