Fix build: synchronize Request API, fix GmailSynchronizer, and migrate UI to Qt6 Widgets

This commit is contained in:
2026-06-17 22:44:27 +02:00
parent dcb7c52269
commit 0e9f620fe0
348 changed files with 118736 additions and 1207 deletions
+18
View File
@@ -0,0 +1,18 @@
// concreterequests.cpp
#include "concreterequests.h"
#include <QDebug>
Request* Concreterequests::createRequest(const QString& type, const QString& target) {
qDebug() << "Attempting to create request type:" << type << "for target:" << target;
if (type == "IMAP") {
// Placeholder for IMAP request creation
return new ImapRequest(nullptr); // Will be properly initialized by the concrete class
} else if (type == "SMTP") {
// Placeholder for SMTP request creation
return new SmtpRequest(nullptr); // Will be properly initialized by the concrete class
}
qWarning() << "Unknown request type:" << type;
return nullptr;
}