Review comment changes
This commit is contained in:
parent
0f8d15f343
commit
7977413bb6
4 changed files with 16 additions and 27 deletions
|
@ -470,7 +470,7 @@ CServer::CServer ( const int iNewMaxNumChan,
|
|||
|
||||
QObject::connect( &JamRecorder,
|
||||
SIGNAL ( RecordingSessionStarted ( QString ) ),
|
||||
this, SLOT ( OnRecordingSessionStarted ( QString ) ) );
|
||||
SIGNAL ( RecordingSessionStarted ( QString ) ) );
|
||||
|
||||
QObject::connect ( QCoreApplication::instance(),
|
||||
SIGNAL ( aboutToQuit() ),
|
||||
|
|
|
@ -459,11 +459,6 @@ public slots:
|
|||
|
||||
void OnCLDisconnection ( CHostAddress InetAddr );
|
||||
|
||||
void OnRecordingSessionStarted ( QString sessionDir )
|
||||
{
|
||||
emit RecordingSessionStarted ( sessionDir );
|
||||
}
|
||||
|
||||
void OnAboutToQuit();
|
||||
|
||||
void OnHandledSignal ( int sigNum );
|
||||
|
|
|
@ -474,11 +474,6 @@ void CServerDlg::OnCentServAddrTypeActivated ( int iTypeIdx )
|
|||
UpdateGUIDependencies();
|
||||
}
|
||||
|
||||
void CServerDlg::OnNewRecordingClicked()
|
||||
{
|
||||
pServer->RestartRecorder();
|
||||
}
|
||||
|
||||
void CServerDlg::OnSysTrayActivated ( QSystemTrayIcon::ActivationReason ActReason )
|
||||
{
|
||||
// on double click on the icon, show window in fore ground
|
||||
|
@ -532,17 +527,6 @@ void CServerDlg::OnTimer()
|
|||
ListViewMutex.unlock();
|
||||
}
|
||||
|
||||
void CServerDlg::OnServerStarted()
|
||||
{
|
||||
UpdateSystemTrayIcon ( true );
|
||||
}
|
||||
|
||||
void CServerDlg::OnServerStopped()
|
||||
{
|
||||
UpdateSystemTrayIcon ( false );
|
||||
|
||||
UpdateRecorderStatus ( QString::null );
|
||||
}
|
||||
|
||||
void CServerDlg::UpdateGUIDependencies()
|
||||
{
|
||||
|
|
|
@ -91,10 +91,15 @@ public slots:
|
|||
void OnLocationCityTextChanged ( const QString& strNewCity );
|
||||
void OnLocationCountryActivated ( int iCntryListItem );
|
||||
void OnCentServAddrTypeActivated ( int iTypeIdx );
|
||||
void OnNewRecordingClicked();
|
||||
void OnTimer();
|
||||
void OnServerStarted();
|
||||
void OnServerStopped();
|
||||
|
||||
void OnServerStarted() { UpdateSystemTrayIcon ( true ); }
|
||||
void OnServerStopped()
|
||||
{
|
||||
UpdateSystemTrayIcon ( false );
|
||||
UpdateRecorderStatus ( QString::null );
|
||||
}
|
||||
|
||||
void OnSvrRegStatusChanged() { UpdateGUIDependencies(); }
|
||||
void OnSysTrayMenuOpen() { ShowWindowInForeground(); }
|
||||
void OnSysTrayMenuHide() { hide(); }
|
||||
|
@ -104,6 +109,11 @@ public slots:
|
|||
void keyPressEvent ( QKeyEvent *e ) // block escape key
|
||||
{ if ( e->key() != Qt::Key_Escape ) QDialog::keyPressEvent ( e ); }
|
||||
|
||||
void OnNewRecordingClicked();
|
||||
{
|
||||
pServer->RestartRecorder();
|
||||
}
|
||||
|
||||
void OnRecordingSessionStarted ( QString sessionDir )
|
||||
{
|
||||
UpdateRecorderStatus ( sessionDir );
|
||||
|
|
Loading…
Reference in a new issue