diff --git a/src/clientdlg.cpp b/src/clientdlg.cpp index 9b359488..4b0c5611 100755 --- a/src/clientdlg.cpp +++ b/src/clientdlg.cpp @@ -255,22 +255,22 @@ CClientDlg::CClientDlg ( CClient* pNCliP, pViewMenu = new QMenu ( tr ( "&View" ), this ); pViewMenu->addAction ( tr ( "&Connection Setup..." ), this, - &CClientDlg::OnOpenConnectionSetupDialog ); + SLOT ( OnOpenConnectionSetupDialog() ) ); pViewMenu->addAction ( tr ( "My &Profile..." ), this, - &CClientDlg::OnOpenMusicianProfileDialog ); + SLOT ( OnOpenMusicianProfileDialog() ) ); pViewMenu->addAction ( tr ( "C&hat..." ), this, - &CClientDlg::OnOpenChatDialog ); + SLOT ( OnOpenChatDialog() ) ); pViewMenu->addAction ( tr ( "&Settings..." ), this, - &CClientDlg::OnOpenGeneralSettings ); + SLOT ( OnOpenGeneralSettings() ) ); // optionally show analyzer console entry if ( bShowAnalyzerConsole ) { pViewMenu->addAction ( tr ( "&Analyzer Console..." ), this, - &CClientDlg::OnOpenAnalyzerConsole ); + SLOT ( 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, - &CClientDlg::OnSortChannelsByName, QKeySequence ( Qt::CTRL + Qt::Key_N ) ); + SLOT ( OnSortChannelsByName() ), QKeySequence ( Qt::CTRL + Qt::Key_N ) ); // Main menu bar ----------------------------------------------------------- diff --git a/src/serverdlg.cpp b/src/serverdlg.cpp index 94e205e9..e8f8c417 100755 --- a/src/serverdlg.cpp +++ b/src/serverdlg.cpp @@ -153,17 +153,17 @@ CServerDlg::CServerDlg ( CServer* pNServP, pSystemTrayIconMenu = new QMenu ( this ); pSystemTrayIconMenu->addAction ( tr ( "E&xit" ), - this, &CServerDlg::OnSysTrayMenuExit ); + this, SLOT ( OnSysTrayMenuExit() ) ); pSystemTrayIconMenu->addSeparator(); pSystemTrayIconMenu->addAction ( tr ( "&Hide " ) + APP_NAME + tr ( " server" ), - this, &CServerDlg::OnSysTrayMenuHide ); + this, SLOT ( OnSysTrayMenuHide() ) ); pSystemTrayIconMenu->setDefaultAction ( pSystemTrayIconMenu->addAction ( tr ( "&Open " ) + APP_NAME + tr ( " server" ), - this, &CServerDlg::OnSysTrayMenuOpen ) ); + this, SLOT ( OnSysTrayMenuOpen() ) ) ); SystemTrayIcon.setContextMenu ( pSystemTrayIconMenu ); diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 1f00b687..b2a542b1 100755 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -164,7 +164,7 @@ CServerListManager::CServerListManager ( const quint16 iNPortNum, { // 1 minute = 60 * 1000 ms QTimer::singleShot ( SERVLIST_TIME_PERMSERV_MINUTES * 60000, - this, &CServerListManager::OnTimerIsPermanent ); + this, SLOT ( OnTimerIsPermanent() ) ); } // prepare the register server response timer (single shot timer) diff --git a/src/util.cpp b/src/util.cpp index 48e606a8..98051287 100755 --- a/src/util.cpp +++ b/src/util.cpp @@ -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, &CHelpMenu::OnHelpClientGetStarted ); - addAction ( tr ( "Software &Manual..." ), this, &CHelpMenu::OnHelpSoftwareMan ); + addAction ( tr ( "Getting &Started..." ), this, SLOT ( OnHelpClientGetStarted() ) ); + addAction ( tr ( "Software &Manual..." ), this, SLOT ( OnHelpSoftwareMan() ) ); } else { - addAction ( tr ( "Getting &Started..." ), this, &CHelpMenu::OnHelpServerGetStarted ); + addAction ( tr ( "Getting &Started..." ), this, SLOT ( OnHelpServerGetStarted() ) ); } addSeparator(); - addAction ( tr ( "What's &This" ), this, &CHelpMenu::OnHelpWhatsThis, QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) ); + addAction ( tr ( "What's &This" ), this, SLOT ( OnHelpWhatsThis() ), QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) ); addSeparator(); - addAction ( tr ( "&About..." ), this, &CHelpMenu::OnHelpAbout ); + addAction ( tr ( "&About..." ), this, SLOT ( OnHelpAbout() ) ); }