summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagStyle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kotext/KoParagStyle.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kotext/KoParagStyle.h')
-rw-r--r--lib/kotext/KoParagStyle.h24
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; }