diff --git a/src/agentbase/accountsintegration.cpp b/src/agentbase/accountsintegration.cpp
index 2b48bd2..76e72cb 100644
--- a/src/agentbase/accountsintegration.cpp
+++ b/src/agentbase/accountsintegration.cpp
@@ -88,9 +88,9 @@ void AccountsIntegration::requestAuthData(const QString &serviceType, AuthDataCa
         return;
     }
 
-    auto job = new GetCredentialsJob(mAccountId.value(), this);
+    auto job = new KAccounts::GetCredentialsJob(mAccountId.value(), this);
     job->setServiceType(serviceType);
-    connect(job, &GetCredentialsJob::result, this, [job, callback = std::move(callback), error = std::move(errCallback)]() {
+    connect(job, &KAccounts::GetCredentialsJob::result, this, [job, callback = std::move(callback), error = std::move(errCallback)]() {
         if (job->error()) {
             error(job->errorString());
         } else {
