Search Online:
- Synchronizer::searchOnline(folderId, query) virtual with default {}
- ImapSynchronizer: SELECT + UID SEARCH (Subject/From/To/TEXT) + fetch results
- MailService::searchOnline() + onlineSearchFinished/onlineSearchError signals
- MainMainWindow::onOnlineSearchRequested shows real server results
Calendar:
- Real QCalendarWidget view with per-day agenda from local mails
- New MailItemDao::findByDateRange(start, end)
Contacts:
- QTableWidget aggregating addresses from all local mails
- Regex email extraction + live search filter
iCloud/AccountService:
- Wire IcloudAuthenticator into AccountService::createAuthenticator
39 lines
823 B
C++
39 lines
823 B
C++
#include "synchronizer.h"
|
|
|
|
Synchronizer::Synchronizer(QObject *parent)
|
|
: QObject(parent)
|
|
{
|
|
}
|
|
|
|
QVector<MailItem> Synchronizer::fetchMailItems(const QString &folderId, qint64 sinceUid)
|
|
{
|
|
Q_UNUSED(folderId);
|
|
Q_UNUSED(sinceUid);
|
|
return {};
|
|
}
|
|
|
|
bool Synchronizer::appendMailItem(const QString &folderId, const MailItem &item)
|
|
{
|
|
Q_UNUSED(folderId);
|
|
Q_UNUSED(item);
|
|
return false;
|
|
}
|
|
|
|
bool Synchronizer::updateMailItemFlags(const QString &folderId, const QString &itemUid, bool read, bool flagged)
|
|
{
|
|
Q_UNUSED(folderId);
|
|
Q_UNUSED(itemUid);
|
|
Q_UNUSED(read);
|
|
Q_UNUSED(flagged);
|
|
return false;
|
|
}
|
|
|
|
bool Synchronizer::deleteMailItem(const QString &folderId, const QString &itemUid)
|
|
{
|
|
Q_UNUSED(folderId);
|
|
Q_UNUSED(itemUid);
|
|
return false;
|
|
}
|
|
Synchronizer::~Synchronizer() = default;
|
|
|