summaryrefslogtreecommitdiffstats
path: root/kdat/ktreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/ktreeview.cpp')
-rw-r--r--kdat/ktreeview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdat/ktreeview.cpp b/kdat/ktreeview.cpp
index 24712d4..f3a98ce 100644
--- a/kdat/ktreeview.cpp
+++ b/kdat/ktreeview.cpp
@@ -350,7 +350,7 @@ void KTreeViewItem::paintHighlight(TQPainter* p, int indent, const TQColorGroup&
textRect.setCoords(l - 1, t - 1, r + 1, b + 1);
p->setPen(TQPen(TQt::yellow, 0, TQt::DotLine));
p->setBackgroundColor(fc);
- p->setBackgroundMode(Qt::OpaqueMode);
+ p->setBackgroundMode(TQt::OpaqueMode);
p->drawRect(textRect);
textRect.setCoords(l - 2, t - 2, r + 2, b + 2);
p->setPen(fc);
@@ -1701,7 +1701,7 @@ void KTreeView::mousePressEvent(TQMouseEvent *e)
{
// first: check which button was pressed
- if (e->button() == Qt::MidButton)
+ if (e->button() == TQt::MidButton)
{
// RB: the MMB is hardcoded to the "rubberband" scroll mode
if (!rubberband_mode) {
@@ -1709,7 +1709,7 @@ void KTreeView::mousePressEvent(TQMouseEvent *e)
}
return;
}
- else if ( ( rubberband_mode ) && ( e->button() != Qt::RightButton ) )
+ else if ( ( rubberband_mode ) && ( e->button() != TQt::RightButton ) )
{
// another button was pressed while rubberbanding, stop the move.
// RB: if we allow other buttons while rubberbanding the tree can expand
@@ -1751,7 +1751,7 @@ void KTreeView::mousePressEvent(TQMouseEvent *e)
// hit item (to show info on the file/dir label clicked)
else if (item->boundingRect(indentation(item)).contains(cellCoord)) {
setCurrentItem(itemClicked); // highlight item
- if ( e->button() == Qt::RightButton ) {
+ if ( e->button() == TQt::RightButton ) {
emit popupMenu( itemClicked, mapToGlobal( TQPoint( e->pos().x(), e->pos().y() ) ) );
}
}
@@ -1761,7 +1761,7 @@ void KTreeView::mousePressEvent(TQMouseEvent *e)
void KTreeView::mouseReleaseEvent(TQMouseEvent *e)
{
/* if it's the MMB end rubberbanding */
- if (rubberband_mode && e->button()==Qt::MidButton)
+ if (rubberband_mode && e->button()==TQt::MidButton)
{
end_rubberband();
}