diff options
Diffstat (limited to 'lib/kotext/KoParagStyle.h')
-rw-r--r-- | lib/kotext/KoParagStyle.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/kotext/KoParagStyle.h b/lib/kotext/KoParagStyle.h index 5b070825..46e4f242 100644 --- a/lib/kotext/KoParagStyle.h +++ b/lib/kotext/KoParagStyle.h @@ -23,7 +23,7 @@ #include "KoParagLayout.h" #include "KoUserStyle.h" class KoGenStyles; -class QDomElement; +class TQDomElement; /** * A KoCharStyle is a set of formatting attributes (font, color, etc.) @@ -33,10 +33,10 @@ class KOTEXT_EXPORT KoCharStyle : public KoUserStyle { public: /** Create a blank style (with default attributes) */ - KoCharStyle( const QString & name ); + KoCharStyle( const TQString & name ); /** Copy another style */ - KoCharStyle( const KoCharStyle & rhs ) : KoUserStyle( QString::null ) { *this = rhs; } + KoCharStyle( const KoCharStyle & rhs ) : KoUserStyle( TQString() ) { *this = rhs; } /** Return a format. Don't forget to use the format collection * of your KoTextDocument from the result of that method. */ @@ -49,13 +49,13 @@ protected: /** * A paragraph style is a combination of a character style - * and paragraph-layout attributes, all grouped under a name. + * and paragraph-tqlayout attributes, all grouped under a name. */ class KOTEXT_EXPORT KoParagStyle : public KoCharStyle { public: /** Create a blank style (with default attributes) */ - KoParagStyle( const QString & name ); + KoParagStyle( const TQString & name ); /** Copy another style */ KoParagStyle( const KoParagStyle & rhs ); @@ -71,20 +71,20 @@ public: KoParagStyle *followingStyle() const { return m_followingStyle; } void setFollowingStyle( KoParagStyle *fst ); - /// Saves the name, layout, the following style and the outline bool. Not the format. + /// Saves the name, tqlayout, the following style and the outline bool. Not the format. /// @deprecated (1.3 format) - void saveStyle( QDomElement & parentElem ); - /// Loads the name, layout and the outline bool. Not the "following style" nor the format. + void saveStyle( TQDomElement & tqparentElem ); + /// Loads the name, tqlayout and the outline bool. Not the "following style" nor the format. /// (1.3 format) - void loadStyle( QDomElement & parentElem, int docVersion = 2 ); + void loadStyle( TQDomElement & tqparentElem, int docVersion = 2 ); /// Load the style from OASIS - void loadStyle( QDomElement & styleElem, KoOasisContext& context ); + void loadStyle( TQDomElement & styleElem, KoOasisContext& context ); /// Save the style to OASIS /// Don't use, use the method in KoStyleCollection instead - QString saveStyle( KoGenStyles& genStyles, int styleType, const QString& parentStyleName, KoSavingContext& context ) const; + TQString saveStyle( KoGenStyles& genStyles, int styleType, const TQString& tqparentStyleName, KoSavingContext& context ) const; - KoParagStyle * parentStyle() const {return m_parentStyle;} + KoParagStyle * tqparentStyle() const {return m_parentStyle;} void setParentStyle( KoParagStyle *_style){ m_parentStyle = _style;} int inheritedParagLayoutFlag() const { return m_inheritedParagLayoutFlag; } |