diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/ui/celltooltip.cpp | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/ui/celltooltip.cpp')
-rw-r--r-- | klinkstatus/src/ui/celltooltip.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/klinkstatus/src/ui/celltooltip.cpp b/klinkstatus/src/ui/celltooltip.cpp index b449cbce..b02b7f83 100644 --- a/klinkstatus/src/ui/celltooltip.cpp +++ b/klinkstatus/src/ui/celltooltip.cpp @@ -21,19 +21,19 @@ #include "celltooltip.h" #include "tablelinkstatus.h" -#include <qscrollview.h> +#include <tqscrollview.h> #include <iostream> using namespace std; -CellToolTip::CellToolTip ( TableLinkstatus * table, QToolTipGroup * group) - : QToolTip(table->viewport(), group), table_(table) +CellToolTip::CellToolTip ( TableLinkstatus * table, TQToolTipGroup * group) + : TQToolTip(table->viewport(), group), table_(table) {} -void CellToolTip::maybeTip ( const QPoint & p ) +void CellToolTip::maybeTip ( const TQPoint & p ) { - QPoint cp = table_->viewportToContents(p); + TQPoint cp = table_->viewportToContents(p); int row = table_->rowAt(cp.y()); int col = table_->columnAt(cp.x()); @@ -43,9 +43,9 @@ void CellToolTip::maybeTip ( const QPoint & p ) if(col == 0 || !table_->textFitsInCell(row, col)) { TableItem* item = table_->myItem(row, col); - QString tip_string = item->toolTip(); + TQString tip_string = item->toolTip(); - QRect cr = table_->cellGeometry( row, col ); + TQRect cr = table_->cellGeometry( row, col ); cr.moveTopLeft( table_->contentsToViewport( cr.topLeft() ) ); tip(cr, tip_string); |