Use const refs for the deserialized data
This commit is contained in:
parent
5bcaaa3aa3
commit
73e73f46ea
19 changed files with 198 additions and 196 deletions
|
|
@ -33,10 +33,10 @@ class HistoryView : public QWidget
|
|||
|
||||
public:
|
||||
explicit HistoryView(QWidget *parent = 0);
|
||||
explicit HistoryView(QList<Event> events, QWidget *parent = 0);
|
||||
explicit HistoryView(const QList<Event> &events, QWidget *parent = 0);
|
||||
~HistoryView();
|
||||
|
||||
void addHistoryItem(Event event, QString color, bool with_sender);
|
||||
void addHistoryItem(const Event &event, const QString &color, bool with_sender);
|
||||
void addEvents(const QList<Event> &events);
|
||||
|
||||
public slots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue