QUrl CloudSyncManager::apiUrl() const { return QUrl( QString( "%0%1:%2@%3/%4" ) .arg( d->m_owncloudProtocol ) .arg( d->m_owncloudUsername ).arg( d->m_owncloudPassword ) .arg( d->m_ownloudServer ).arg( apiPath() ) ); }
QUrl CloudSyncManager::apiUrl() const { return QUrl( QString( "http://%0:%1@%2/%3" ) .arg( owncloudUsername() ).arg( owncloudPassword() ) .arg( owncloudServer() ).arg( apiPath() ) ); }