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 15eac64..713a52c 100644
--- a/kbarcode/dstextedit.cpp
+++ b/kbarcode/dstextedit.cpp
@@ -30,7 +30,7 @@ void DSTextEdit::fixParagraphs()
struct {
TQFont font;
TQColor color;
- int tqalignment;
+ int alignment;
} tFormattings;
TQString t;
@@ -57,7 +57,7 @@ void DSTextEdit::fixParagraphs()
t = this->text();
tFormattings.font = this->currentFont();
tFormattings.color = this->color();
- tFormattings.tqalignment = this->tqalignment();
+ tFormattings.alignment = this->alignment();
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.tqalignment );
+ this->setAlignment( tFormattings.alignment );
this->setSelection( paraFrom, indexFrom, paraTo, indexTo );