mirror of
https://invent.kde.org/graphics/okular
synced 2024-07-05 00:58:46 +00:00
save really few bytes
svn path=/trunk/KDE/kdegraphics/okular/; revision=709414
This commit is contained in:
parent
a2b2db70eb
commit
2a29b247f7
|
@ -267,9 +267,9 @@ class Okular::SoundActionPrivate : public Okular::ActionPrivate
|
|||
}
|
||||
|
||||
double m_volume;
|
||||
bool m_sync;
|
||||
bool m_repeat;
|
||||
bool m_mix;
|
||||
bool m_sync : 1;
|
||||
bool m_repeat : 1;
|
||||
bool m_mix : 1;
|
||||
Okular::Sound *m_sound;
|
||||
};
|
||||
|
||||
|
|
|
@ -1107,8 +1107,8 @@ class Okular::LineAnnotationPrivate : public Okular::AnnotationPrivate
|
|||
LineAnnotationPrivate()
|
||||
: AnnotationPrivate(),
|
||||
m_lineStartStyle( LineAnnotation::None ), m_lineEndStyle( LineAnnotation::None ),
|
||||
m_lineClosed( false ), m_lineLeadingFwdPt( 0 ), m_lineLeadingBackPt( 0 ),
|
||||
m_lineShowCaption( false ), m_lineIntent( LineAnnotation::Unknown )
|
||||
m_lineClosed( false ), m_lineShowCaption( false ), m_lineLeadingFwdPt( 0 ),
|
||||
m_lineLeadingBackPt( 0 ), m_lineIntent( LineAnnotation::Unknown )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -1120,11 +1120,11 @@ class Okular::LineAnnotationPrivate : public Okular::AnnotationPrivate
|
|||
QLinkedList<NormalizedPoint> m_transformedLinePoints;
|
||||
LineAnnotation::TermStyle m_lineStartStyle;
|
||||
LineAnnotation::TermStyle m_lineEndStyle;
|
||||
bool m_lineClosed;
|
||||
bool m_lineClosed : 1;
|
||||
bool m_lineShowCaption : 1;
|
||||
QColor m_lineInnerColor;
|
||||
double m_lineLeadingFwdPt;
|
||||
double m_lineLeadingBackPt;
|
||||
bool m_lineShowCaption;
|
||||
LineAnnotation::LineIntent m_lineIntent;
|
||||
};
|
||||
|
||||
|
@ -1506,8 +1506,8 @@ class HighlightAnnotation::Quad::Private
|
|||
|
||||
NormalizedPoint m_points[4];
|
||||
NormalizedPoint m_transformedPoints[4];
|
||||
bool m_capStart;
|
||||
bool m_capEnd;
|
||||
bool m_capStart : 1;
|
||||
bool m_capEnd : 1;
|
||||
double m_feather;
|
||||
};
|
||||
|
||||
|
|
|
@ -89,8 +89,8 @@ struct RunningSearch
|
|||
QString cachedString;
|
||||
Document::SearchType cachedType;
|
||||
Qt::CaseSensitivity cachedCaseSensitivity;
|
||||
bool cachedViewportMove;
|
||||
bool cachedNoDialogs;
|
||||
bool cachedViewportMove : 1;
|
||||
bool cachedNoDialogs : 1;
|
||||
QColor cachedColor;
|
||||
};
|
||||
|
||||
|
@ -103,7 +103,7 @@ struct GeneratorInfo
|
|||
Generator * generator;
|
||||
KLibrary * library;
|
||||
QString catalogName;
|
||||
bool hasConfig;
|
||||
bool hasConfig : 1;
|
||||
};
|
||||
|
||||
#define foreachObserver( cmd ) {\
|
||||
|
|
|
@ -50,8 +50,8 @@ class GeneratorPrivate
|
|||
Generator *m_generator;
|
||||
PixmapGenerationThread *mPixmapGenerationThread;
|
||||
TextPageGenerationThread *mTextPageGenerationThread;
|
||||
bool mPixmapReady;
|
||||
bool mTextPageReady;
|
||||
bool mPixmapReady : 1;
|
||||
bool mTextPageReady : 1;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user