Diffstat (limited to 'noncore/apps/opie-write/qstylesheet.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-write/qstylesheet.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/noncore/apps/opie-write/qstylesheet.h b/noncore/apps/opie-write/qstylesheet.h index bb209fa..cb786f5 100644 --- a/noncore/apps/opie-write/qstylesheet.h +++ b/noncore/apps/opie-write/qstylesheet.h | |||
@@ -78,19 +78,19 @@ public: | |||
78 | 78 | ||
79 | DisplayMode displayMode() const; | 79 | DisplayMode displayMode() const; |
80 | void setDisplayMode(DisplayMode m); | 80 | void setDisplayMode(DisplayMode m); |
81 | 81 | ||
82 | int alignment() const; | 82 | int alignment() const; |
83 | void setAlignment( int f); | 83 | void setAlignment( int f); |
84 | 84 | ||
85 | enum VerticalAlignment { | 85 | enum VerticalAlignment { |
86 | VAlignBaseline, | 86 | VAlignBaseline, |
87 | VAlignSub, | 87 | VAlignSub, |
88 | VAlignSuper | 88 | VAlignSuper |
89 | }; | 89 | }; |
90 | 90 | ||
91 | VerticalAlignment verticalAlignment() const; | 91 | VerticalAlignment verticalAlignment() const; |
92 | void setVerticalAlignment( VerticalAlignment valign ); | 92 | void setVerticalAlignment( VerticalAlignment valign ); |
93 | 93 | ||
94 | int fontWeight() const; | 94 | int fontWeight() const; |
95 | void setFontWeight(int w); | 95 | void setFontWeight(int w); |
96 | 96 | ||
@@ -117,12 +117,16 @@ public: | |||
117 | bool definesFontItalic() const; | 117 | bool definesFontItalic() const; |
118 | 118 | ||
119 | bool fontUnderline() const; | 119 | bool fontUnderline() const; |
120 | void setFontUnderline( bool ); | 120 | void setFontUnderline( bool ); |
121 | bool definesFontUnderline() const; | 121 | bool definesFontUnderline() const; |
122 | 122 | ||
123 | bool fontStrikeOut() const; | ||
124 | void setFontStrikeOut( bool ); | ||
125 | bool definesFontStrikeOut() const; | ||
126 | |||
123 | bool isAnchor() const; | 127 | bool isAnchor() const; |
124 | void setAnchor(bool anc); | 128 | void setAnchor(bool anc); |
125 | 129 | ||
126 | enum WhiteSpaceMode { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap }; | 130 | enum WhiteSpaceMode { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap }; |
127 | WhiteSpaceMode whiteSpaceMode() const; | 131 | WhiteSpaceMode whiteSpaceMode() const; |
128 | void setWhiteSpaceMode(WhiteSpaceMode m); | 132 | void setWhiteSpaceMode(WhiteSpaceMode m); |
@@ -168,16 +172,16 @@ private: | |||
168 | QStyleSheetItemData* d; | 172 | QStyleSheetItemData* d; |
169 | }; | 173 | }; |
170 | 174 | ||
171 | 175 | ||
172 | #if defined(Q_TEMPLATEDLL) | 176 | #if defined(Q_TEMPLATEDLL) |
173 | // MOC_SKIP_BEGIN | 177 | // MOC_SKIP_BEGIN |
174 | template class Q_EXPORT QDict<QStyleSheetItem>; | 178 | Q_TEMPLATE_EXTERN template class Q_EXPORT QDict<QStyleSheetItem>; |
175 | template class Q_EXPORT QValueList< QPtrVector<QStyleSheetItem> >; | 179 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList< QPtrVector<QStyleSheetItem> >; |
176 | template class Q_EXPORT QPtrVector<QStyleSheetItem>; | 180 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QStyleSheetItem>; |
177 | template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>; | 181 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>; |
178 | // MOC_SKIP_END | 182 | // MOC_SKIP_END |
179 | #endif | 183 | #endif |
180 | 184 | ||
181 | class QTextCustomItem; | 185 | class QTextCustomItem; |
182 | 186 | ||
183 | class Q_EXPORT QStyleSheet : public QObject | 187 | class Q_EXPORT QStyleSheet : public QObject |