From c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:31 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 94844816550ad672ccfcdc25659c625546239998. --- kugar/lib/mlabelobject.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kugar/lib/mlabelobject.cpp') 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; -- cgit v1.2.1