1 /***************************************************************************
2 * Copyright (C) 2007 by Pino Toscano <pino@kde.org> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef _OKULAR_PAGECONTROLLER_P_H_
11 #define _OKULAR_PAGECONTROLLER_P_H_
13 #include <QtCore/QObject>
15 namespace ThreadWeaver
{
24 class PageController
: public QObject
30 * Constructor. No NOT use this, NEVER! Use the static self() instead.
36 static PageController
* self();
38 void addRotationJob( RotationJob
*job
);
41 void rotationFinished( int page
);
44 void imageRotationDone(ThreadWeaver::Job
*);