2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Allow Info::Media::ListWidget use different data providers.

This commit is contained in:
John Preston
2022-02-24 18:04:24 +03:00
parent eefb9823e1
commit 91c46dbc85
36 changed files with 2491 additions and 1237 deletions

View File

@@ -53,9 +53,9 @@ public:
TextSelection selection,
const PaintContext *context) = 0;
QDateTime dateTime() const;
[[nodiscard]] QDateTime dateTime() const;
HistoryItem *getItem() const {
[[nodiscard]] not_null<HistoryItem*> getItem() const {
return _parent;
}
@@ -79,7 +79,7 @@ protected:
QPoint position,
bool selected,
const PaintContext *context);
virtual const style::RoundCheckbox &checkboxStyle() const;
[[nodiscard]] virtual const style::RoundCheckbox &checkboxStyle() const;
private:
void ensureCheckboxCreated();