summaryrefslogtreecommitdiffstats
path: root/kpdf/core/generator.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-14 08:57:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-14 08:57:48 +0000
commit9116c29739aa3e15eb5e052d335b1f76700f6b32 (patch)
treec7301ec627341f5207fba729b3e2ad4e6cb9dfb0 /kpdf/core/generator.h
parent47d455dd55be855e4cc691c32f687f723d9247ee (diff)
downloadtdegraphics-9116c29739aa3e15eb5e052d335b1f76700f6b32.tar.gz
tdegraphics-9116c29739aa3e15eb5e052d335b1f76700f6b32.zip
* kpdf page rotate options
* kdvi options dialog enhancements * djvu plugin for kviewshell git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1062216 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpdf/core/generator.h')
-rw-r--r--kpdf/core/generator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kpdf/core/generator.h b/kpdf/core/generator.h
index ca0ea015..e0c892fd 100644
--- a/kpdf/core/generator.h
+++ b/kpdf/core/generator.h
@@ -92,8 +92,8 @@ class Generator : public QObject
*/
struct PixmapRequest
{
- PixmapRequest( int rId, int n, int w, int h, int p, bool a = false )
- : id( rId ), pageNumber( n ), width( w ), height( h ),
+ PixmapRequest( int rId, int n, int w, int h, int p, bool a = false, int r = 0 )
+ : id( rId ), pageNumber( n ), width( w ), height( h ), rotation( r ),
priority( p ), async( a ), page( 0 ) {};
// observer id
@@ -102,6 +102,7 @@ struct PixmapRequest
int pageNumber;
int width;
int height;
+ int rotation;
// asyncronous request priority (less is better, 0 is max)
int priority;
// generate the pixmap in a thread and notify observer when done