okular
global.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef OKULAR_GLOBAL_H
00011 #define OKULAR_GLOBAL_H
00012
00013 #include <QtCore/QGlobalStatic>
00014
00015 namespace Okular {
00016
00020 enum Permission
00021 {
00022 AllowModify = 1,
00023 AllowCopy = 2,
00024 AllowPrint = 4,
00025 AllowNotes = 8,
00026 AllowFillForms = 16
00027 };
00028 Q_DECLARE_FLAGS( Permissions, Permission )
00029
00030
00033 enum SearchDirection
00034 {
00035 FromTop,
00036 FromBottom,
00037 NextResult,
00038 PreviousResult
00039 };
00040
00044 enum Rotation
00045 {
00046 Rotation0 = 0,
00047 Rotation90 = 1,
00048 Rotation180 = 2,
00049 Rotation270 = 3
00050 };
00051
00055 enum GenerationType
00056 {
00057 Synchronous,
00058 Asynchronous
00059 };
00060
00064 enum MergeSide
00065 {
00066 MergeRight = 0,
00067 MergeBottom = 1,
00068 MergeLeft = 2,
00069 MergeTop = 3,
00070 MergeAll = 4
00071 };
00072
00073 }
00074
00075 #endif