MCPcopy Create free account
hub / github.com/KDE/kdevelop / contextGetLogin

Method contextGetLogin

plugins/subversion/svninternaljobbase.cpp:63–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool SvnInternalJobBase::contextGetLogin( const std::string& realm,
64 std::string& username, std::string& password,
65 bool& maySave )
66{
67
68 emit needLogin( QString::fromUtf8( realm.c_str() ) );
69 m_guiSemaphore.acquire( 1 );
70 QMutexLocker l(&m_mutex);
71 if( m_login_username.isEmpty() || m_login_password.isEmpty() )
72 return false;
73 username = std::string(m_login_username.toUtf8().constData());
74 password = std::string(m_login_password.toUtf8().constData());
75 maySave = this->m_maySave;
76 return true;
77}
78
79void SvnInternalJobBase::contextNotify( const char* path, svn_wc_notify_action_t action,
80 svn_node_kind_t kind, const char* mimetype,

Callers 1

retrieveLoginMethod · 0.80

Calls 2

c_strMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected