| 66 | } |
| 67 | |
| 68 | PixmapGenerationThread *GeneratorPrivate::pixmapGenerationThread() |
| 69 | { |
| 70 | if (mPixmapGenerationThread) { |
| 71 | return mPixmapGenerationThread; |
| 72 | } |
| 73 | |
| 74 | Q_Q(Generator); |
| 75 | mPixmapGenerationThread = new PixmapGenerationThread(q); |
| 76 | QObject::connect(mPixmapGenerationThread, &PixmapGenerationThread::finished, q, [this] { pixmapGenerationFinished(); }, Qt::QueuedConnection); |
| 77 | |
| 78 | return mPixmapGenerationThread; |
| 79 | } |
| 80 | |
| 81 | TextPageGenerationThread *GeneratorPrivate::textPageGenerationThread() |
| 82 | { |