diff options
Diffstat (limited to 'lib/kotext/KoOasisContext.h')
| -rw-r--r-- | lib/kotext/KoOasisContext.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/kotext/KoOasisContext.h b/lib/kotext/KoOasisContext.h index 9be3e2ab6..70b7c7dba 100644 --- a/lib/kotext/KoOasisContext.h +++ b/lib/kotext/KoOasisContext.h @@ -63,12 +63,12 @@ public: ///// List handling KoListStyleStack& listStyleStack() { return m_listStyleStack; } - QString currentListStyleName() const { return m_currentListStyleName; } - void setCurrentListStyleName( const QString& s ) { m_currentListStyleName = s; } + TQString currentListStyleName() const { return m_currentListStyleName; } + void setCurrentListStyleName( const TQString& s ) { m_currentListStyleName = s; } /// Used for lists (numbered paragraphs) /// @return true on success (a list style was found and pushed) - bool pushListLevelStyle( const QString& listStyleName, int level ); + bool pushListLevelStyle( const TQString& listStyleName, int level ); /// Used for outline levels bool pushOutlineListLevelStyle( int level ); @@ -81,11 +81,11 @@ public: private: /// @return true on success (a list style was found and pushed) - bool pushListLevelStyle( const QString& listStyleName, const QDomElement& fullListStyle, int level ); + bool pushListLevelStyle( const TQString& listStyleName, const TQDomElement& fullListStyle, int level ); private: KoListStyleStack m_listStyleStack; - QString m_currentListStyleName; + TQString m_currentListStyleName; KoVariableCollection& m_varColl; KoTextParag* m_cursorTextParagraph; @@ -138,17 +138,17 @@ public: /// Store bookmarks [for the current text paragraph beind saved] /// so that KoTextParag can save them at the right place inside the text struct BookmarkPosition { - BookmarkPosition() : name(), pos( -1 ), startEqualsEnd( false ) {} // for QValueList - BookmarkPosition( const QString& nm, int p, bool simple ) + BookmarkPosition() : name(), pos( -1 ), startEqualsEnd( false ) {} // for TQValueList + BookmarkPosition( const TQString& nm, int p, bool simple ) : name( nm ), pos( p ), startEqualsEnd( simple ) {} - QString name; + TQString name; int pos; bool startEqualsEnd; bool operator<( BookmarkPosition& rhs ) const { return pos < rhs.pos; } }; - typedef QValueList<BookmarkPosition> BookmarkPositions; + typedef TQValueList<BookmarkPosition> BookmarkPositions; void setBookmarkPositions( const BookmarkPositions& bkStarts, const BookmarkPositions& bkEnds ) { m_bookmarkStarts = bkStarts; @@ -157,8 +157,8 @@ public: const BookmarkPositions& bookmarkStarts() const { return m_bookmarkStarts; } const BookmarkPositions& bookmarkEnds() const { return m_bookmarkEnds; } - void addFontFace( const QString& fontName ); - typedef QMap<QString, bool> FontFaces; + void addFontFace( const TQString& fontName ); + typedef TQMap<TQString, bool> FontFaces; void writeFontFaces( KoXmlWriter& writer ); // See KoParagLayout::saveOasis |
