~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/searchtask.h

  • Committer: Adam Reichold
  • Date: 2014-03-29 10:20:32 UTC
  • Revision ID: adam.reichold@t-online.com-20140329102032-6z5yl9a2fkwm62rd
Make proper use of application and anonymous namespaces and fix a few header guards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <QThread>
27
27
#include <QVector>
28
28
 
29
 
namespace Model
 
29
namespace qpdfview
 
30
{
 
31
 
 
32
namespace model
30
33
{
31
34
class Page;
32
35
}
50
53
    void resultsReady(int index, QList< QRectF > results);
51
54
 
52
55
public slots:
53
 
    void start(const QVector< Model::Page* >& pages, const QString& text, bool matchCase, int beginAtPage = 1);
 
56
    void start(const QVector< model::Page* >& pages, const QString& text, bool matchCase, int beginAtPage = 1);
54
57
    void cancel();
55
58
 
56
59
private:
60
63
 
61
64
    int m_progress;
62
65
 
63
 
    QVector< Model::Page* > m_pages;
 
66
    QVector< model::Page* > m_pages;
64
67
 
65
68
    QString m_text;
66
69
    bool m_matchCase;
68
71
 
69
72
};
70
73
 
 
74
} // qpdfview
 
75
 
71
76
#endif // SEARCHTHREAD_H