summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoStyleCollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoStyleCollection.h')
-rw-r--r--lib/kotext/KoStyleCollection.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/kotext/KoStyleCollection.h b/lib/kotext/KoStyleCollection.h
index c3cc7770..66a244e5 100644
--- a/lib/kotext/KoStyleCollection.h
+++ b/lib/kotext/KoStyleCollection.h
@@ -19,8 +19,8 @@
#ifndef kostyle_h
#define kostyle_h
-#include <qdom.h>
-#include <qvaluevector.h>
+#include <tqdom.h>
+#include <tqvaluevector.h>
#include "KoParagStyle.h"
#include "KoUserStyleCollection.h"
@@ -41,7 +41,7 @@ struct KoStyleChangeDef {
int paragLayoutChanged;
int formatChanged;
};
-typedef QMap<KoParagStyle *, KoStyleChangeDef> KoStyleChangeDefMap;
+typedef TQMap<KoParagStyle *, KoStyleChangeDef> KoStyleChangeDefMap;
/// TODO rename to KoParagStyleCollection - or should char styles be part of it too?
class KOTEXT_EXPORT KoStyleCollection : public KoUserStyleCollection
@@ -50,10 +50,10 @@ public:
KoStyleCollection();
~KoStyleCollection();
- //const QPtrList<KoParagStyle> & styleList() const { return m_styleList; }
+ //const TQPtrList<KoParagStyle> & styleList() const { return m_styleList; }
// compat method, TODO: remove
- QStringList translatedStyleNames() const { return displayNameList(); }
+ TQStringList translatedStyleNames() const { return displayNameList(); }
/**
* See KoUserStyleCollection::addStyle.
@@ -67,15 +67,15 @@ public:
* Find style based on the internal name @p name.
* Overloaded for convenience.
*/
- KoParagStyle* findStyle( const QString & name ) const {
- return static_cast<KoParagStyle*>( KoUserStyleCollection::findStyle( name, QString::fromLatin1( "Standard" ) ) );
+ KoParagStyle* findStyle( const TQString & name ) const {
+ return static_cast<KoParagStyle*>( KoUserStyleCollection::findStyle( name, TQString::tqfromLatin1( "Standard" ) ) );
}
/**
* Find style based on the display name @p displayName.
* Overloaded for convenience.
*/
- KoParagStyle* findStyleByDisplayName( const QString & name ) const {
+ KoParagStyle* findStyleByDisplayName( const TQString & name ) const {
return static_cast<KoParagStyle*>( KoUserStyleCollection::findStyleByDisplayName( name ) );
}
@@ -100,7 +100,7 @@ public:
void saveOasisOutlineStyles( KoXmlWriter& writer ) const;
/// @return the list of outline styles
- QValueVector<KoParagStyle *> outlineStyles() const;
+ TQValueVector<KoParagStyle *> outlineStyles() const;
/// @return the [first] outline style for a given level. Can be 0 if not found.
KoParagStyle* outlineStyleForLevel( int level ) const;