17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef __FOTOKOPIERER_PAGE_HXX__
#define __FOTOKOPIERER_PAGE_HXX__
#include <QtCore/QDateTime>
#include <QtCore/QDir>
#include <QtCore/QObject>
#include <QtCore/QScopedPointer>
#include <QtGui/QImage>
class Scanner;
/// A single scanned page.
class Page : public QObject
{
Q_OBJECT
|
|
>
|
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef __FOTOKOPIERER_PAGE_HXX__
#define __FOTOKOPIERER_PAGE_HXX__
#include <QtCore/QDateTime>
#include <QtCore/QDir>
#include <QtCore/QObject>
#include <QtGui/QImage>
#include <memory>
class Scanner;
/// A single scanned page.
class Page : public QObject
{
Q_OBJECT
|
133
134
135
136
137
138
139
140
141
142
143
|
void thumbnailFinished(const QString& thumbnail_path);
/// An error occurred.
void error(const QString& errorMessage);
private:
struct Data;
QScopedPointer<Data> d;
};
#endif
|
|
|
134
135
136
137
138
139
140
141
142
143
144
|
void thumbnailFinished(const QString& thumbnail_path);
/// An error occurred.
void error(const QString& errorMessage);
private:
struct Data;
std::unique_ptr<Data> d;
};
#endif
|