Beispiel #1
0
void SqlTableModel::setSynchronizing(bool value)
{
	if (_synchronizing == value)
		return;

	_synchronizing = value;
	emit synchronizingChanged();
}
bool SyncEmailClient::uninit()
{
    disconnect(m_emailAgent, SIGNAL(synchronizingChanged(EmailAgent::Status)), this, SLOT(syncStatusChanged(EmailAgent::Status)));
    return true;
}
bool SyncEmailClient::init()
{
    m_emailAgent = EmailAgent::instance();
    connect(m_emailAgent, SIGNAL(synchronizingChanged(EmailAgent::Status)), this, SLOT(syncStatusChanged(EmailAgent::Status)));
    return true;
}