Changeset View
Changeset View
Standalone View
Standalone View
klipper/historymodel.cpp
Show All 19 Lines | |||||
20 | #include "historyimageitem.h" | 20 | #include "historyimageitem.h" | ||
21 | #include "historystringitem.h" | 21 | #include "historystringitem.h" | ||
22 | #include "historyurlitem.h" | 22 | #include "historyurlitem.h" | ||
23 | 23 | | |||
24 | 24 | | |||
25 | HistoryModel::HistoryModel(QObject *parent) | 25 | HistoryModel::HistoryModel(QObject *parent) | ||
26 | : QAbstractListModel(parent) | 26 | : QAbstractListModel(parent) | ||
27 | , m_maxSize(0) | 27 | , m_maxSize(0) | ||
28 | , m_displayImages(true) | ||||
28 | , m_mutex(QMutex::Recursive) | 29 | , m_mutex(QMutex::Recursive) | ||
29 | { | 30 | { | ||
30 | } | 31 | } | ||
31 | 32 | | |||
32 | HistoryModel::~HistoryModel() | 33 | HistoryModel::~HistoryModel() | ||
33 | { | 34 | { | ||
34 | clear(); | 35 | clear(); | ||
35 | } | 36 | } | ||
▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines |