summaryrefslogtreecommitdiffstats
path: root/kbarcode/dstextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/dstextedit.cpp')
-rw-r--r--kbarcode/dstextedit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbarcode/dstextedit.cpp b/kbarcode/dstextedit.cpp
index 713a52c..8965756 100644
--- a/kbarcode/dstextedit.cpp
+++ b/kbarcode/dstextedit.cpp
@@ -30,7 +30,7 @@ void DSTextEdit::fixParagraphs()
struct {
TQFont font;
TQColor color;
- int alignment;
+ int tqalignment;
} tFormattings;
TQString t;
@@ -57,7 +57,7 @@ void DSTextEdit::fixParagraphs()
t = this->text();
tFormattings.font = this->currentFont();
tFormattings.color = this->color();
- tFormattings.alignment = this->alignment();
+ tFormattings.tqalignment = this->tqalignment();
while( pos != -1 )
{
@@ -101,7 +101,7 @@ void DSTextEdit::fixParagraphs()
this->setCursorPosition( 0, index );
this->setCurrentFont( tFormattings.font );
this->setColor( tFormattings.color );
- this->setAlignment( tFormattings.alignment );
+ this->tqsetAlignment( tFormattings.tqalignment );
this->setSelection( paraFrom, indexFrom, paraTo, indexTo );