diff options
Diffstat (limited to 'kmymoney2/reports/kreportchartview.cpp')
-rw-r--r-- | kmymoney2/reports/kreportchartview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/reports/kreportchartview.cpp b/kmymoney2/reports/kreportchartview.cpp index 79a5b5d..208089f 100644 --- a/kmymoney2/reports/kreportchartview.cpp +++ b/kmymoney2/reports/kreportchartview.cpp @@ -95,7 +95,7 @@ KReportChartView::KReportChartView( TQWidget* parent, const char* name ): KDChar // mouse tracking on will force the mouseMoveEvent() method to be called from TQt label->setMouseTracking( true ); label->setFrameStyle( TQFrame::PopupPanel | TQFrame::Raised ); - label->tqsetAlignment( AlignRight ); + label->setAlignment( AlignRight ); label->setAutoResize( true ); } @@ -151,17 +151,17 @@ void KReportChartView::mouseMoveEvent( TQMouseEvent* event ) { // set the tooltip text label->setText(TQString("<h2>%1</h2><strong>%2</strong><br>(%3\%)") - .tqarg(this->params()->legendText( dataset )) - .tqarg(value, 0, 'f', 2) - .tqarg(pivot_sum, 0, 'f', 2) + .arg(this->params()->legendText( dataset )) + .arg(value, 0, 'f', 2) + .arg(pivot_sum, 0, 'f', 2) ); } else // if there is only one dataset, don't show percentage { // set the tooltip text label->setText(TQString("<h2>%1</h2><strong>%2</strong>") - .tqarg(this->params()->legendText( dataset )) - .tqarg(value, 0, 'f', 2) + .arg(this->params()->legendText( dataset )) + .arg(value, 0, 'f', 2) ); } |