remove some more SLOT()

This commit is contained in:
Volker Fischer 2020-06-11 09:48:03 +02:00
parent 78d77e323d
commit eeeaafdcf5
4 changed files with 15 additions and 15 deletions

View File

@ -255,22 +255,22 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
pViewMenu = new QMenu ( tr ( "&View" ), this );
pViewMenu->addAction ( tr ( "&Connection Setup..." ), this,
SLOT ( OnOpenConnectionSetupDialog() ) );
&CClientDlg::OnOpenConnectionSetupDialog );
pViewMenu->addAction ( tr ( "My &Profile..." ), this,
SLOT ( OnOpenMusicianProfileDialog() ) );
&CClientDlg::OnOpenMusicianProfileDialog );
pViewMenu->addAction ( tr ( "C&hat..." ), this,
SLOT ( OnOpenChatDialog() ) );
&CClientDlg::OnOpenChatDialog );
pViewMenu->addAction ( tr ( "&Settings..." ), this,
SLOT ( OnOpenGeneralSettings() ) );
&CClientDlg::OnOpenGeneralSettings );
// optionally show analyzer console entry
if ( bShowAnalyzerConsole )
{
pViewMenu->addAction ( tr ( "&Analyzer Console..." ), this,
SLOT ( OnOpenAnalyzerConsole() ) );
&CClientDlg::OnOpenAnalyzerConsole );
}
pViewMenu->addSeparator();
@ -283,7 +283,7 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
pEditMenu = new QMenu ( tr ( "&Edit" ), this );
pEditMenu->addAction ( tr ( "&Sort Channel Users by Name" ), this,
SLOT ( OnSortChannelsByName() ), QKeySequence ( Qt::CTRL + Qt::Key_N ) );
&CClientDlg::OnSortChannelsByName, QKeySequence ( Qt::CTRL + Qt::Key_N ) );
// Main menu bar -----------------------------------------------------------

View File

@ -153,17 +153,17 @@ CServerDlg::CServerDlg ( CServer* pNServP,
pSystemTrayIconMenu = new QMenu ( this );
pSystemTrayIconMenu->addAction ( tr ( "E&xit" ),
this, SLOT ( OnSysTrayMenuExit() ) );
this, &CServerDlg::OnSysTrayMenuExit );
pSystemTrayIconMenu->addSeparator();
pSystemTrayIconMenu->addAction (
tr ( "&Hide " ) + APP_NAME + tr ( " server" ),
this, SLOT ( OnSysTrayMenuHide() ) );
this, &CServerDlg::OnSysTrayMenuHide );
pSystemTrayIconMenu->setDefaultAction ( pSystemTrayIconMenu->addAction (
tr ( "&Open " ) + APP_NAME + tr ( " server" ),
this, SLOT ( OnSysTrayMenuOpen() ) ) );
this, &CServerDlg::OnSysTrayMenuOpen ) );
SystemTrayIcon.setContextMenu ( pSystemTrayIconMenu );

View File

@ -164,7 +164,7 @@ CServerListManager::CServerListManager ( const quint16 iNPortNum,
{
// 1 minute = 60 * 1000 ms
QTimer::singleShot ( SERVLIST_TIME_PERMSERV_MINUTES * 60000,
this, SLOT ( OnTimerIsPermanent() ) );
this, &CServerListManager::OnTimerIsPermanent );
}
// prepare the register server response timer (single shot timer)

View File

@ -845,17 +845,17 @@ CHelpMenu::CHelpMenu ( const bool bIsClient, QWidget* parent ) : QMenu ( tr ( "&
// standard help menu consists of about and what's this help
if ( bIsClient )
{
addAction ( tr ( "Getting &Started..." ), this, SLOT ( OnHelpClientGetStarted() ) );
addAction ( tr ( "Software &Manual..." ), this, SLOT ( OnHelpSoftwareMan() ) );
addAction ( tr ( "Getting &Started..." ), this, &CHelpMenu::OnHelpClientGetStarted );
addAction ( tr ( "Software &Manual..." ), this, &CHelpMenu::OnHelpSoftwareMan );
}
else
{
addAction ( tr ( "Getting &Started..." ), this, SLOT ( OnHelpServerGetStarted() ) );
addAction ( tr ( "Getting &Started..." ), this, &CHelpMenu::OnHelpServerGetStarted );
}
addSeparator();
addAction ( tr ( "What's &This" ), this, SLOT ( OnHelpWhatsThis() ), QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) );
addAction ( tr ( "What's &This" ), this, &CHelpMenu::OnHelpWhatsThis, QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) );
addSeparator();
addAction ( tr ( "&About..." ), this, SLOT ( OnHelpAbout() ) );
addAction ( tr ( "&About..." ), this, &CHelpMenu::OnHelpAbout );
}