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 @@ -72,31 +72,31 @@ public: enum DisplayMode { DisplayBlock, DisplayInline, DisplayListItem, DisplayNone }; DisplayMode displayMode() const; void setDisplayMode(DisplayMode m); int alignment() const; void setAlignment( int f); - + enum VerticalAlignment { VAlignBaseline, VAlignSub, VAlignSuper }; - + VerticalAlignment verticalAlignment() const; void setVerticalAlignment( VerticalAlignment valign ); int fontWeight() const; void setFontWeight(int w); int logicalFontSize() const; void setLogicalFontSize(int s); int logicalFontSizeStep() const; void setLogicalFontSizeStep( int s ); @@ -111,24 +111,28 @@ public: QColor color() const; void setColor( const QColor &); bool fontItalic() const; void setFontItalic( bool ); bool definesFontItalic() const; bool fontUnderline() const; void setFontUnderline( bool ); bool definesFontUnderline() const; + bool fontStrikeOut() const; + void setFontStrikeOut( bool ); + bool definesFontStrikeOut() const; + bool isAnchor() const; void setAnchor(bool anc); enum WhiteSpaceMode { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap }; WhiteSpaceMode whiteSpaceMode() const; void setWhiteSpaceMode(WhiteSpaceMode m); enum Margin { MarginLeft, MarginRight, MarginTop, MarginBottom, @@ -162,28 +166,28 @@ public: void setLineSpacing( int ls ); int lineSpacing() const; private: void init(); QStyleSheetItemData* d; }; #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -template class Q_EXPORT QDict<QStyleSheetItem>; -template class Q_EXPORT QValueList< QPtrVector<QStyleSheetItem> >; -template class Q_EXPORT QPtrVector<QStyleSheetItem>; -template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>; +Q_TEMPLATE_EXTERN template class Q_EXPORT QDict<QStyleSheetItem>; +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList< QPtrVector<QStyleSheetItem> >; +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QStyleSheetItem>; +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>; // MOC_SKIP_END #endif class QTextCustomItem; class Q_EXPORT QStyleSheet : public QObject { Q_OBJECT public: QStyleSheet( QObject *parent=0, const char *name=0 ); virtual ~QStyleSheet(); |