diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-07 16:12:01 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-07 16:14:15 -0700 |
commit | df01a5d35f620d2f33e4283863b729ed9554e23f (patch) | |
tree | 6450a6668ad303bf345819d89498b294ec746880 /qt-ui/profilegraphics.cpp | |
parent | d590cb951988976f21bacc39d5ea1581c65d3b20 (diff) | |
download | subsurface-df01a5d35f620d2f33e4283863b729ed9554e23f.tar.gz |
Added a bit of documentation on how to use the ToolTips & removed 2 bad-api methods
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.cpp')
-rw-r--r-- | qt-ui/profilegraphics.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index 81d343976..a9a7c93f8 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -598,17 +598,6 @@ void ProfileGraphicsView::plot_text(struct graphics_context *gc, text_render_opt scene()->addItem(item); } -void ProfileGraphicsView::addToolTip(const QString& text, const QIcon& icon) -{ - toolTip->addToolTip(text, icon); -} - -void ProfileGraphicsView::removeToolTip(const QString& text) -{ - toolTip->removeToolTip(text); -} - - void ProfileGraphicsView::resizeEvent(QResizeEvent *event) { // Fits the scene's rectangle on the view. |