summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/kreportchartview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:31:01 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:31:01 -0600
commit252fce5a2a5384702fbcc1c9987284d7bd2e6943 (patch)
treed5768ff1e9065f29bec60c94d31880b38b4e82f2 /kmymoney2/reports/kreportchartview.cpp
parent69ef6c4beaa37474a2170d0bfe842de647f53102 (diff)
downloadkmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.tar.gz
kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmymoney2/reports/kreportchartview.cpp')
-rw-r--r--kmymoney2/reports/kreportchartview.cpp12
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)
);
}