diff options
author | Albert Astals Cid <aacid@kde.org> | 2006-05-13 11:14:24 +0000 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2006-05-13 11:14:24 +0000 |
commit | 46fd63c44369c882d8dac473d4156001d9d4ed18 (patch) | |
tree | bad0b5639aae1715d57b97df1f2a6f7b332e20e0 /qt4 | |
parent | 35500375e3f790c444ab7e7d0a687d270c5a66b1 (diff) |
numbers for easier casting
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/src/poppler-link.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/qt4/src/poppler-link.h b/qt4/src/poppler-link.h index 059dae31..4521bd6c 100644 --- a/qt4/src/poppler-link.h +++ b/qt4/src/poppler-link.h @@ -150,8 +150,18 @@ class LinkAction : public Link { public: // define types of actions - enum ActionType { PageFirst, PagePrev, PageNext, PageLast, HistoryBack, HistoryForward, - Quit, Presentation, EndPresentation, Find, GoToPage, Close }; + enum ActionType { PageFirst = 1, + PagePrev = 2, + PageNext = 3, + PageLast = 4, + HistoryBack = 5, + HistoryForward = 6, + Quit = 7, + Presentation = 8, + EndPresentation = 9, + Find = 10, + GoToPage = 11, + Close = 12 }; // query for action type ActionType actionType() const; |