summaryrefslogtreecommitdiffstats
path: root/khexedit/hexviewwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:09:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-18 22:46:01 +0900
commit278d2f50538b5465caa86fc7608d9cdfddf36cb9 (patch)
tree4a7510f5edd4198094ddd9ae4d81ca2a90da7990 /khexedit/hexviewwidget.cpp
parenta8bb8db5a25e70bf9de62c56c15c442883a752dc (diff)
downloadtdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.tar.gz
tdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit af0b8f5d1e5e00b1f3b48658d89876c2df28e71c)
Diffstat (limited to 'khexedit/hexviewwidget.cpp')
-rw-r--r--khexedit/hexviewwidget.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/khexedit/hexviewwidget.cpp b/khexedit/hexviewwidget.cpp
index 16a3ffd..19a1d54 100644
--- a/khexedit/hexviewwidget.cpp
+++ b/khexedit/hexviewwidget.cpp
@@ -199,10 +199,10 @@ CHexViewWidget::CHexViewWidget( TQWidget *parent, const char *name,
if( mHorzScroll == 0 ) { return; }
mCorner = new TQWidget( this );
if( mCorner == 0 ) { return; }
- connect( mHorzScroll, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changeXPos(int)) );
- connect( mVertScroll, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changeYPos(int)) );
- connect( mHorzScroll, TQT_SIGNAL(hidden()), TQT_SLOT(update()) );
- connect( mVertScroll, TQT_SIGNAL(hidden()), TQT_SLOT(update()) );
+ connect( mHorzScroll, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changeXPos(int)) );
+ connect( mVertScroll, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changeYPos(int)) );
+ connect( mHorzScroll, TQ_SIGNAL(hidden()), TQ_SLOT(update()) );
+ connect( mVertScroll, TQ_SIGNAL(hidden()), TQ_SLOT(update()) );
mHorzScroll->hide();
mVertScroll->hide();
@@ -213,7 +213,7 @@ CHexViewWidget::CHexViewWidget( TQWidget *parent, const char *name,
#else
mDragManager->setActivateMode( CDragManager::Timer );
#endif
- connect( mDragManager, TQT_SIGNAL(startDrag(bool)), TQT_SLOT(startDrag(bool)) );
+ connect( mDragManager, TQ_SIGNAL(startDrag(bool)), TQ_SLOT(startDrag(bool)) );
setFrameStyle( TQFrame::WinPanel|TQFrame::Sunken );
setWFlags( WResizeNoErase );
@@ -438,8 +438,8 @@ void CHexViewWidget::changeYPos( int p )
void CHexViewWidget::clipboardChanged( void )
{
- disconnect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()),
- this,TQT_SLOT(clipboardChanged()));
+ disconnect(TQApplication::clipboard(),TQ_SIGNAL(dataChanged()),
+ this,TQ_SLOT(clipboardChanged()));
unselect();
}
@@ -964,8 +964,8 @@ void CHexViewWidget::copy( void )
{
return;
}
- disconnect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()),
- this,TQT_SLOT(clipboardChanged()));
+ disconnect(TQApplication::clipboard(),TQ_SIGNAL(dataChanged()),
+ this,TQ_SLOT(clipboardChanged()));
//
// Note: Do no give the CHexDrag a parent != 0. The clipboard
// owns the current dragdata and will destroy it on exit or
@@ -975,8 +975,8 @@ void CHexViewWidget::copy( void )
// when the app. is closed (=> segfault).
//
TQApplication::clipboard()->setData(new CHexDrag( buf ));
- connect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()),
- this,TQT_SLOT(clipboardChanged()));
+ connect(TQApplication::clipboard(),TQ_SIGNAL(dataChanged()),
+ this,TQ_SLOT(clipboardChanged()));
}
@@ -988,11 +988,11 @@ void CHexViewWidget::copyText( int columnSegment )
return;
}
- disconnect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()),
- this,TQT_SLOT(clipboardChanged()));
+ disconnect(TQApplication::clipboard(),TQ_SIGNAL(dataChanged()),
+ this,TQ_SLOT(clipboardChanged()));
TQApplication::clipboard()->setText( buf.data() );
- connect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()),
- this,TQT_SLOT(clipboardChanged()));
+ connect(TQApplication::clipboard(),TQ_SIGNAL(dataChanged()),
+ this,TQ_SLOT(clipboardChanged()));
}