~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/searchtask.cpp

  • 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:
23
23
 
24
24
#include "model.h"
25
25
 
 
26
namespace qpdfview
 
27
{
 
28
 
26
29
SearchTask::SearchTask(QObject* parent) : QThread(parent),
27
30
    m_wasCanceled(false),
28
31
    m_progress(0),
66
69
    m_progress = 0;
67
70
}
68
71
 
69
 
void SearchTask::start(const QVector< Model::Page* >& pages, const QString& text, bool matchCase, int beginAtPage)
 
72
void SearchTask::start(const QVector< model::Page* >& pages, const QString& text, bool matchCase, int beginAtPage)
70
73
{
71
74
    m_pages = pages;
72
75
 
84
87
{
85
88
    m_wasCanceled = true;
86
89
}
 
90
 
 
91
} // qpdfview