summaryrefslogtreecommitdiffstats
path: root/kdvi/dviWidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kdvi/dviWidget.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/dviWidget.cpp')
-rw-r--r--kdvi/dviWidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdvi/dviWidget.cpp b/kdvi/dviWidget.cpp
index 8475af92..ddcac8e6 100644
--- a/kdvi/dviWidget.cpp
+++ b/kdvi/dviWidget.cpp
@@ -22,13 +22,13 @@
#include "renderedDviPagePixmap.h"
#include "selection.h"
-DVIWidget::DVIWidget(QWidget* parent, PageView* sv, DocumentPageCache* cache, const char* name)
+DVIWidget::DVIWidget(TQWidget* parent, PageView* sv, DocumentPageCache* cache, const char* name)
: DocumentWidget(parent, sv, cache, name)
{
}
-void DVIWidget::mousePressEvent(QMouseEvent* e)
+void DVIWidget::mousePressEvent(TQMouseEvent* e)
{
// pageNr == 0 indicated an invalid page (e.g. page number not yet set)
if (pageNr == 0)
@@ -60,7 +60,7 @@ void DVIWidget::mousePressEvent(QMouseEvent* e)
return;
}
// Remember the closest source link
- QPoint center = pageData->sourceHyperLinkList[i].box.center();
+ TQPoint center = pageData->sourceHyperLinkList[i].box.center();
int dx = center.x() - e->pos().x();
int dy = center.y() - e->pos().y();
if (dx*dx + dy*dy < minimum || i == 0)
@@ -79,7 +79,7 @@ void DVIWidget::mousePressEvent(QMouseEvent* e)
}
-void DVIWidget::mouseMoveEvent(QMouseEvent* e)
+void DVIWidget::mouseMoveEvent(TQMouseEvent* e)
{
// pageNr == 0 indicated an invalid page (e.g. page number not yet set)
if (pageNr == 0)
@@ -105,7 +105,7 @@ void DVIWidget::mouseMoveEvent(QMouseEvent* e)
// The macro-package srcltx gives a special like "src:99 test.tex"
// while MikTeX gives "src:99test.tex". KDVI tries
// to understand both.
- QString cp = pageData->sourceHyperLinkList[i].linkText;
+ TQString cp = pageData->sourceHyperLinkList[i].linkText;
int max = cp.length();
int i;
for(i=0; i<max; i++)