summaryrefslogtreecommitdiffstats
path: root/kugar/lib/mlabelobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/lib/mlabelobject.cpp')
-rw-r--r--kugar/lib/mlabelobject.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kugar/lib/mlabelobject.cpp b/kugar/lib/mlabelobject.cpp
index 6a0db974..fecbd560 100644
--- a/kugar/lib/mlabelobject.cpp
+++ b/kugar/lib/mlabelobject.cpp
@@ -29,7 +29,7 @@ MLabelObject::MLabelObject() : MReportObject(), xMargin( 0 ), yMargin( 0 )
fontWeight = MLabelObject::Normal;
fontItalic = false;
- // Set the default tqalignment
+ // Set the default alignment
hAlignment = MLabelObject::Left;
vAlignment = MLabelObject::Top;
wordWrap = false;
@@ -76,13 +76,13 @@ void MLabelObject::setFont( const TQString family, int size, int weight, bool it
fontItalic = italic;
}
-/** Sets the label's horizontal tqalignment */
+/** Sets the label's horizontal alignment */
void MLabelObject::setHorizontalAlignment( int a )
{
hAlignment = a;
}
-/** Sets the label's vertical tqalignment */
+/** Sets the label's vertical alignment */
void MLabelObject::setVerticalAlignment( int a )
{
vAlignment = a;
@@ -113,7 +113,7 @@ void MLabelObject::draw( TQPainter* p, int xoffset, int yoffset )
p->setFont( font );
TQFontMetrics fm = p->fontMetrics();
- // Set the text tqalignment flags
+ // Set the text alignment flags
//Qt::Horizontal
switch ( hAlignment )
@@ -165,7 +165,7 @@ void MLabelObject::copy( const MLabelObject* mLabelObject )
fontWeight = mLabelObject->fontWeight;
fontItalic = mLabelObject->fontItalic;
- // Copy the label's tqalignment data
+ // Copy the label's alignment data
vAlignment = mLabelObject->vAlignment;
hAlignment = mLabelObject->hAlignment;
wordWrap = mLabelObject->wordWrap;