diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 17:43:59 +0900 |
commit | 2a173c586953cbca4c6fbb598d2644a911ac0f3d (patch) | |
tree | 532016217a18b4ca78ffae6f6c3dfcbdcd35dc09 /src/profiledialog.cpp | |
parent | 76067f79800c1d8e4417dbd74b27d860c84fef26 (diff) | |
download | knmap-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/profiledialog.cpp')
-rw-r--r-- | src/profiledialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profiledialog.cpp b/src/profiledialog.cpp index 5d5b3d2..d426926 100644 --- a/src/profiledialog.cpp +++ b/src/profiledialog.cpp @@ -56,9 +56,9 @@ ProfileDialog::ProfileDialog( Action action, createlayout( ); setInitialValues( currentProfile ); - connect( m_profileListBox, SIGNAL( contextMenuRequested( TQListBoxItem*, const TQPoint& )), SLOT( slotProfileListContextMenu( TQListBoxItem*, const TQPoint& ))); - connect( m_profileListBox, SIGNAL( doubleClicked( TQListBoxItem* )), SLOT( slotOk( ))); - connect( m_profileListBox, SIGNAL( selectionChanged( )), SLOT( slotProfileListBoxChanged( ))); + connect( m_profileListBox, TQ_SIGNAL( contextMenuRequested( TQListBoxItem*, const TQPoint& )), TQ_SLOT( slotProfileListContextMenu( TQListBoxItem*, const TQPoint& ))); + connect( m_profileListBox, TQ_SIGNAL( doubleClicked( TQListBoxItem* )), TQ_SLOT( slotOk( ))); + connect( m_profileListBox, TQ_SIGNAL( selectionChanged( )), TQ_SLOT( slotProfileListBoxChanged( ))); } // checkForDuplicateName @@ -298,9 +298,9 @@ void ProfileDialog::slotProfileListContextMenu( TQListBoxItem* item, const TQPoi { m_contextItem = item; TQPopupMenu* contextMenu = new TQPopupMenu( this, "context menu" ); - contextMenu->insertItem( i18n( "&Copy" ), this, SLOT( slotCopy( ))); - contextMenu->insertItem( i18n( "&Delete" ), this, SLOT( slotDelete( ))); - contextMenu->insertItem( i18n( "&Rename" ), this, SLOT( slotRename( ))); + contextMenu->insertItem( i18n( "&Copy" ), this, TQ_SLOT( slotCopy( ))); + contextMenu->insertItem( i18n( "&Delete" ), this, TQ_SLOT( slotDelete( ))); + contextMenu->insertItem( i18n( "&Rename" ), this, TQ_SLOT( slotRename( ))); contextMenu->exec( pos ); } |