summaryrefslogtreecommitdiffstats
path: root/kword/KWTableStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWTableStyle.h')
-rw-r--r--kword/KWTableStyle.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kword/KWTableStyle.h b/kword/KWTableStyle.h
index b63d8e0c..2fe1f26d 100644
--- a/kword/KWTableStyle.h
+++ b/kword/KWTableStyle.h
@@ -24,9 +24,9 @@
#include "KWFrameStyle.h"
#include <KoParagStyle.h>
-#include <qdom.h>
-#include <qptrlist.h>
-#include <qbrush.h>
+#include <tqdom.h>
+#include <tqptrlist.h>
+#include <tqbrush.h>
class KWFrameStyleCollection;
class KoStyleCollection;
@@ -48,12 +48,12 @@ class KWTableStyle : public KoUserStyle
{
public:
/** Create a blank framestyle (with default attributes) */
- KWTableStyle( const QString & name, KoParagStyle * _style, KWFrameStyle * _frameStyle );
+ KWTableStyle( const TQString & name, KoParagStyle * _style, KWFrameStyle * _frameStyle );
- KWTableStyle( QDomElement & parentElem, KWDocument *_doc, int docVersion=2 );
+ KWTableStyle( TQDomElement & tqparentElem, KWDocument *_doc, int docVersion=2 );
/** Copy another framestyle */
- KWTableStyle( const KWTableStyle & rhs ) : KoUserStyle( QString::null ) { *this = rhs; }
+ KWTableStyle( const KWTableStyle & rhs ) : KoUserStyle( TQString() ) { *this = rhs; }
~KWTableStyle() {}
@@ -67,14 +67,14 @@ public:
void setFrameStyle( KWFrameStyle *frameStyle ) { m_frameStyle = frameStyle; }
/// save (old xml format)
- void saveTableStyle( QDomElement & parentElem );
+ void saveTableStyle( TQDomElement & tqparentElem );
/// save (new oasis xml format)
void saveOasis( KoGenStyles& mainStyles, KoSavingContext& savingContext ) const;
/// load (old xml format)
- static KWTableStyle *loadStyle( QDomElement & parentElem, KWDocument *_doc, int docVersion=2 );
+ static KWTableStyle *loadStyle( TQDomElement & tqparentElem, KWDocument *_doc, int docVersion=2 );
/// load (new oasis xml format)
- void loadOasis( QDomElement & styleElem, KoOasisContext& context, const KoStyleCollection& paragraphStyles, const KWFrameStyleCollection& frameStyles );
+ void loadOasis( TQDomElement & styleElem, KoOasisContext& context, const KoStyleCollection& paragraphStyles, const KWFrameStyleCollection& frameStyles );
private:
KoParagStyle *m_paragStyle;
@@ -89,13 +89,13 @@ class KWTableStyleCollection : public KoUserStyleCollection
public:
KWTableStyleCollection();
- static QString defaultStyleName() { return QString::fromLatin1( "Plain" ); }
+ static TQString defaultStyleName() { return TQString::tqfromLatin1( "Plain" ); }
/**
* Find style based on the untranslated name @p name.
* Overloaded for convenience
*/
- KWTableStyle* findStyle( const QString & name ) const {
+ KWTableStyle* findStyle( const TQString & name ) const {
return static_cast<KWTableStyle*>( KoUserStyleCollection::findStyle( name, defaultStyleName() ) );
}
@@ -105,7 +105,7 @@ public:
* This is only for the old XML loading.
* Overloaded for convenience
*/
- KWTableStyle* findStyleByDisplayName( const QString & name ) const {
+ KWTableStyle* findStyleByDisplayName( const TQString & name ) const {
return static_cast<KWTableStyle*>( KoUserStyleCollection::findStyleByDisplayName( name ) );
}