~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/miscellaneous.h

  • Committer: Adam Reichold
  • Date: 2017-04-19 21:01:25 UTC
  • mto: This revision was merged to the branch mainline in revision 2043.
  • Revision ID: adam.reichold@t-online.de-20170419210125-x3ubrcjkdmjzkn5g
Fix usage of QList in the bookmark and search models and various small performance issues reported by the clazy tool using the checks of "level0,level1,level2,no-missing-qobject-macro,no-qstring-allocations,no-copyable-polymorphic,no-ctor-missing-parent-argument,no-reserve-candidates".

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
 
181
181
signals:
182
182
    void tabDragRequested(int index);
183
 
    void tabContextMenuRequested(const QPoint& globalPos, int index);
 
183
    void tabContextMenuRequested(QPoint globalPos, int index);
184
184
 
185
185
protected slots:
186
 
    void on_tabBar_customContextMenuRequested(const QPoint& pos);
 
186
    void on_tabBar_customContextMenuRequested(QPoint pos);
187
187
 
188
188
protected:
189
189
    void tabInserted(int index);
335
335
    void setProgress(int progress);
336
336
 
337
337
signals:
338
 
    void returnPressed(const Qt::KeyboardModifiers& modifiers);
 
338
    void returnPressed(Qt::KeyboardModifiers modifiers);
339
339
 
340
340
protected:
341
341
    void paintEvent(QPaintEvent* event);
368
368
 
369
369
protected slots:
370
370
    void on_timeout();
371
 
    void on_returnPressed(const Qt::KeyboardModifiers& modifiers);
 
371
    void on_returnPressed(Qt::KeyboardModifiers modifiers);
372
372
 
373
373
private:
374
374
    Q_DISABLE_COPY(SearchLineEdit)