summaryrefslogtreecommitdiffstats
path: root/khexedit
diff options
context:
space:
mode:
Diffstat (limited to 'khexedit')
-rw-r--r--khexedit/draglabel.cpp2
-rw-r--r--khexedit/hexviewwidget.cpp12
-rw-r--r--khexedit/hexviewwidget.h2
-rw-r--r--khexedit/lib/khexedit.cpp8
4 files changed, 12 insertions, 12 deletions
diff --git a/khexedit/draglabel.cpp b/khexedit/draglabel.cpp
index dfca9a6..fd38d7b 100644
--- a/khexedit/draglabel.cpp
+++ b/khexedit/draglabel.cpp
@@ -44,7 +44,7 @@ CDragLabel::~CDragLabel( void )
void CDragLabel::mousePressEvent( TQMouseEvent *e )
{
- if( mValid == false || e->button() != Qt::LeftButton || mUrl.isEmpty() == true )
+ if( mValid == false || e->button() != TQt::LeftButton || mUrl.isEmpty() == true )
{
return;
}
diff --git a/khexedit/hexviewwidget.cpp b/khexedit/hexviewwidget.cpp
index 28335af..16a3ffd 100644
--- a/khexedit/hexviewwidget.cpp
+++ b/khexedit/hexviewwidget.cpp
@@ -193,9 +193,9 @@ CHexViewWidget::CHexViewWidget( TQWidget *parent, const char *name,
// signal whenever is receives a TQHideEvent.
//
- mVertScroll = new CScrollBar( Qt::Vertical, this );
+ mVertScroll = new CScrollBar( TQt::Vertical, this );
if( mVertScroll == 0 ) { return; }
- mHorzScroll = new CScrollBar( Qt::Horizontal, this );
+ mHorzScroll = new CScrollBar( TQt::Horizontal, this );
if( mHorzScroll == 0 ) { return; }
mCorner = new TQWidget( this );
if( mCorner == 0 ) { return; }
@@ -1534,7 +1534,7 @@ void CHexViewWidget::mousePressEvent( TQMouseEvent *e )
// The RMB popup menu is managed by the KContextMenuManager
//
- if( e->button() == Qt::LeftButton )
+ if( e->button() == TQt::LeftButton )
{
if( e->state() & ControlButton )
{
@@ -1550,7 +1550,7 @@ void CHexViewWidget::mousePressEvent( TQMouseEvent *e )
setCursorPosition( e->x(), e->y(), true, cellLevel );
}
}
- else if( e->button() == Qt::MidButton )
+ else if( e->button() == TQt::MidButton )
{
paste();
}
@@ -1559,7 +1559,7 @@ void CHexViewWidget::mousePressEvent( TQMouseEvent *e )
void CHexViewWidget::mouseMoveEvent( TQMouseEvent *e )
{
- if( e->state() & Qt::LeftButton )
+ if( e->state() & TQt::LeftButton )
{
if( mDragManager->start( e ) == false )
{
@@ -1575,7 +1575,7 @@ void CHexViewWidget::mouseReleaseEvent( TQMouseEvent *e )
// The RMB popup menu is managed by the KContextMenuManager
//
- if( e->button() == Qt::LeftButton )
+ if( e->button() == TQt::LeftButton )
{
if( e->state() & ControlButton )
{
diff --git a/khexedit/hexviewwidget.h b/khexedit/hexviewwidget.h
index c439635..1b73ec1 100644
--- a/khexedit/hexviewwidget.h
+++ b/khexedit/hexviewwidget.h
@@ -43,7 +43,7 @@ class CScrollBar : public TQScrollBar
public:
- CScrollBar( Qt::Orientation o, TQWidget *parent, const char *name = 0 )
+ CScrollBar( TQt::Orientation o, TQWidget *parent, const char *name = 0 )
: TQScrollBar( o, parent, name )
{
}
diff --git a/khexedit/lib/khexedit.cpp b/khexedit/lib/khexedit.cpp
index eaedc9d..b60ad7e 100644
--- a/khexedit/lib/khexedit.cpp
+++ b/khexedit/lib/khexedit.cpp
@@ -1548,7 +1548,7 @@ void KHexEdit::contentsMousePressEvent( TQMouseEvent *e )
pauseCursor( true );
// care about a left button press?
- if( e->button() == Qt::LeftButton )
+ if( e->button() == TQt::LeftButton )
{
MousePressed = true;
@@ -1601,7 +1601,7 @@ void KHexEdit::contentsMousePressEvent( TQMouseEvent *e )
BufferRanges->removeFurtherSelections();
}
- else if( e->button() == Qt::MidButton )
+ else if( e->button() == TQt::MidButton )
BufferRanges->removeSelection();
if( BufferRanges->isModified() )
@@ -1684,7 +1684,7 @@ void KHexEdit::contentsMouseReleaseEvent( TQMouseEvent *e )
}
}
// middle mouse button paste?
- else if( e->button() == Qt::MidButton && !isReadOnly() )
+ else if( e->button() == TQt::MidButton && !isReadOnly() )
{
pauseCursor();
@@ -1723,7 +1723,7 @@ void KHexEdit::contentsMouseReleaseEvent( TQMouseEvent *e )
void KHexEdit::contentsMouseDoubleClickEvent( TQMouseEvent *e )
{
// we are only interested in LMB doubleclicks
- if( e->button() != Qt::LeftButton )
+ if( e->button() != TQt::LeftButton )
{
e->ignore();
return;