|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <sidebar_models.h>
Public Member Functions | |
| CategoryModel (ThemeManager *themeManager, QObject *parent=nullptr) | |
| QVariant | data (const QModelIndex &index, int role) const override |
| void | rebuildIcons () |
| int | rowContaining (const QString &partial) const |
| int | rowCount (const QModelIndex &parent={}) const override |
| void | setCounts (int all, int favorites, int recentlyPlayed, int installed, int notInstalled, int updatesAvailable, int running) |
Definition at line 58 of file sidebar_models.h.
|
explicit |
Definition at line 34 of file sidebar_models.cpp.
References rebuildIcons().
|
override |
Definition at line 68 of file sidebar_models.cpp.
References SidebarIdRole.
| void CategoryModel::rebuildIcons | ( | ) |
Definition at line 89 of file sidebar_models.cpp.
References ThemeColors::accent, FA::CirclePlay, FA::CircleUp, FA::ClockRotateLeft, FA::Cloud, FA::HardDrive, IconFont::icon(), FA::Star, FA::TableCellsLarge, and ThemeColors::textSecondary.
Referenced by CategoryModel().
| int CategoryModel::rowContaining | ( | const QString & | partial | ) | const |
Definition at line 123 of file sidebar_models.cpp.
|
override |
Definition at line 61 of file sidebar_models.cpp.
| void CategoryModel::setCounts | ( | int | all, |
| int | favorites, | ||
| int | recentlyPlayed, | ||
| int | installed, | ||
| int | notInstalled, | ||
| int | updatesAvailable, | ||
| int | running ) |
Definition at line 107 of file sidebar_models.cpp.