summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-write/qstylesheet.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-write/qstylesheet.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-write/qstylesheet.h12
1 files changed, 8 insertions, 4 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
@@ -111,24 +111,28 @@ public:
111 111
112 QColor color() const; 112 QColor color() const;
113 void setColor( const QColor &); 113 void setColor( const QColor &);
114 114
115 bool fontItalic() const; 115 bool fontItalic() const;
116 void setFontItalic( bool ); 116 void setFontItalic( bool );
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);
129 133
130 enum Margin { 134 enum Margin {
131 MarginLeft, 135 MarginLeft,
132 MarginRight, 136 MarginRight,
133 MarginTop, 137 MarginTop,
134 MarginBottom, 138 MarginBottom,
@@ -162,28 +166,28 @@ public:
162 166
163 void setLineSpacing( int ls ); 167 void setLineSpacing( int ls );
164 int lineSpacing() const; 168 int lineSpacing() const;
165 169
166private: 170private:
167 void init(); 171 void init();
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
174template class Q_EXPORT QDict<QStyleSheetItem>; 178Q_TEMPLATE_EXTERN template class Q_EXPORT QDict<QStyleSheetItem>;
175template class Q_EXPORT QValueList< QPtrVector<QStyleSheetItem> >; 179Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList< QPtrVector<QStyleSheetItem> >;
176template class Q_EXPORT QPtrVector<QStyleSheetItem>; 180Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QStyleSheetItem>;
177template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>; 181Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>;
178// MOC_SKIP_END 182// MOC_SKIP_END
179#endif 183#endif
180 184
181class QTextCustomItem; 185class QTextCustomItem;
182 186
183class Q_EXPORT QStyleSheet : public QObject 187class Q_EXPORT QStyleSheet : public QObject
184{ 188{
185 Q_OBJECT 189 Q_OBJECT
186public: 190public:
187 QStyleSheet( QObject *parent=0, const char *name=0 ); 191 QStyleSheet( QObject *parent=0, const char *name=0 );
188 virtual ~QStyleSheet(); 192 virtual ~QStyleSheet();
189 193