diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:40 +0900 |
commit | 007026cdc4d51e217ce6317b87c0ff2b2d120c83 (patch) | |
tree | e44642c9aa2755473430d44da4e3ce6d7a892fc8 /khexedit | |
parent | a2da8d06203ef630594a41222c0c3a16bedb86c4 (diff) | |
download | tdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.tar.gz tdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khexedit')
-rw-r--r-- | khexedit/draglabel.cpp | 2 | ||||
-rw-r--r-- | khexedit/hexviewwidget.cpp | 12 | ||||
-rw-r--r-- | khexedit/hexviewwidget.h | 2 | ||||
-rw-r--r-- | khexedit/lib/khexedit.cpp | 8 |
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; |