From dc6b8e72fed2586239e3514819238c520636c9d9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:54:04 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- klinkstatus/src/ui/celltooltip.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'klinkstatus/src/ui/celltooltip.cpp') 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 +#include #include 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); -- cgit v1.2.3