summaryrefslogtreecommitdiffstats
path: root/src/indexwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 21:15:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 17:43:59 +0900
commit2a173c586953cbca4c6fbb598d2644a911ac0f3d (patch)
tree532016217a18b4ca78ffae6f6c3dfcbdcd35dc09 /src/indexwidget.cpp
parent76067f79800c1d8e4417dbd74b27d860c84fef26 (diff)
downloadknmap-2a173c586953cbca4c6fbb598d2644a911ac0f3d.tar.gz
knmap-2a173c586953cbca4c6fbb598d2644a911ac0f3d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8c94fd2f9bea6e051ac0903362fceb7cd92fde41)
Diffstat (limited to 'src/indexwidget.cpp')
-rw-r--r--src/indexwidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/indexwidget.cpp b/src/indexwidget.cpp
index f8402e7..77a8e8a 100644
--- a/src/indexwidget.cpp
+++ b/src/indexwidget.cpp
@@ -85,15 +85,15 @@ void IndexWidget::contentsContextMenuEvent( TQContextMenuEvent* event )
TQIconSet scanNew = iconLoader->loadIconSet( "scannew", TDEIcon::Small );
TQIconSet scanRename = iconLoader->loadIconSet( "scanrename", TDEIcon::Small );
- contextMenu->insertItem( scanClose, i18n( "&Close scan" ), parent( ), SLOT( slotScanClose( )), CTRL+Key_W );
- contextMenu->insertItem( scanDuplicate, i18n( "&Duplicate scan" ), parent( ), SLOT( slotScanDuplicate( )), CTRL+Key_C );
- contextMenu->insertItem( scanNew, i18n( "&New scan..." ), parent( ), SLOT( slotScanNew( )), CTRL+Key_N );
- contextMenu->insertItem( scanRename, i18n( "&Rename scan..." ), parent( ), SLOT( slotScanRename( )), Key_F2 );
- contextMenu->insertItem( i18n( "&Use target host name" ), parent( ), SLOT( slotUseTargetHost( )));
+ contextMenu->insertItem( scanClose, i18n( "&Close scan" ), parent( ), TQ_SLOT( slotScanClose( )), CTRL+Key_W );
+ contextMenu->insertItem( scanDuplicate, i18n( "&Duplicate scan" ), parent( ), TQ_SLOT( slotScanDuplicate( )), CTRL+Key_C );
+ contextMenu->insertItem( scanNew, i18n( "&New scan..." ), parent( ), TQ_SLOT( slotScanNew( )), CTRL+Key_N );
+ contextMenu->insertItem( scanRename, i18n( "&Rename scan..." ), parent( ), TQ_SLOT( slotScanRename( )), Key_F2 );
+ contextMenu->insertItem( i18n( "&Use target host name" ), parent( ), TQ_SLOT( slotUseTargetHost( )));
contextMenu->insertSeparator( );
- contextMenu->insertItem( profileLoad, i18n( "&Load profile..." ), parent( ), SLOT( slotProfileLoad( )));
- contextMenu->insertItem( profileSave, i18n( "&Save profile..." ), parent( ), SLOT( slotProfileSave( )));
- contextMenu->insertItem( profileSaveAs, i18n( "&Save profile as..." ), parent( ), SLOT( slotProfileSaveAs( )));
+ contextMenu->insertItem( profileLoad, i18n( "&Load profile..." ), parent( ), TQ_SLOT( slotProfileLoad( )));
+ contextMenu->insertItem( profileSave, i18n( "&Save profile..." ), parent( ), TQ_SLOT( slotProfileSave( )));
+ contextMenu->insertItem( profileSaveAs, i18n( "&Save profile as..." ), parent( ), TQ_SLOT( slotProfileSaveAs( )));
contextMenu->exec( event->globalPos( ));
}
@@ -253,7 +253,7 @@ void IndexWidget::slotScanStarted( )
Q_ASSERT( m_blinkTimer == NULL );
m_blinkTimer = new TQTimer( this );
- connect( m_blinkTimer, SIGNAL( timeout( )), SLOT( slotRepaint( )));
+ connect( m_blinkTimer, TQ_SIGNAL( timeout( )), TQ_SLOT( slotRepaint( )));
m_blinkTimer->start( 500 );
m_highlight = true;
}