summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoParagLayout.h')
-rw-r--r--lib/kotext/KoParagLayout.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kotext/KoParagLayout.h b/lib/kotext/KoParagLayout.h
index 2c9b9dea3..c0582b191 100644
--- a/lib/kotext/KoParagLayout.h
+++ b/lib/kotext/KoParagLayout.h
@@ -96,7 +96,7 @@ public:
char pageBreaking; // Page breaking flags
char direction; // TQChar::Direction
/// Alignment flag (AlignAuto/AlignLeft/AlignRight/AlignJustify)
- char tqalignment; // TQt::AlignmentFlags
+ char alignment; // TQt::AlignmentFlags
KoBorder leftBorder, rightBorder, topBorder, bottomBorder;
/// The background color of the paragraph
@@ -135,7 +135,7 @@ public:
/** Save this parag tqlayout to XML.
* This format is used by KWord for paragraphs, and by KPresenter+KWord for styles.
*/
- void saveParagLayout( TQDomElement & parentElem, int tqalignment ) const;
+ void saveParagLayout( TQDomElement & parentElem, int alignment ) const;
/** Load this parag tqlayout from XML.
* This format is used by KWord for paragraphs, and by KPresenter+KWord for styles.
@@ -151,10 +151,10 @@ public:
/// @param context the current context
void saveOasis( KoGenStyle& gs, KoSavingContext& context, bool savingStyle ) const;
- /// Convert an tqalignment string into an tqalignment flag (load)
+ /// Convert an alignment string into an alignment flag (load)
static TQt::AlignmentFlags loadOasisAlignment( const TQCString& str );
- /// Convert an tqalignment flag into an tqalignment string (save)
- static TQCString saveOasisAlignment( TQt::AlignmentFlags tqalignment );
+ /// Convert an alignment flag into an alignment string (save)
+ static TQCString saveOasisAlignment( TQt::AlignmentFlags alignment );
private:
static int getAttribute(const TQDomElement &element, const char *attributeName, int defaultValue) {