diff options
Diffstat (limited to 'kugar/lib/mlabelobject.cpp')
-rw-r--r-- | kugar/lib/mlabelobject.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kugar/lib/mlabelobject.cpp b/kugar/lib/mlabelobject.cpp index fecbd560..6a0db974 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 alignment + // Set the default tqalignment 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 alignment */ +/** Sets the label's horizontal tqalignment */ void MLabelObject::setHorizontalAlignment( int a ) { hAlignment = a; } -/** Sets the label's vertical alignment */ +/** Sets the label's vertical tqalignment */ 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 alignment flags + // Set the text tqalignment 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 alignment data + // Copy the label's tqalignment data vAlignment = mLabelObject->vAlignment; hAlignment = mLabelObject->hAlignment; wordWrap = mLabelObject->wordWrap; |