Commit 79a4280f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more infos

parent 0548e55e
......@@ -30,11 +30,11 @@ FollowUpReminderInfoWidget::FollowUpReminderInfoWidget(QWidget *parent)
{
QHBoxLayout *hbox = new QHBoxLayout;
mTreeWidget = new QTreeWidget;
//TODO
QStringList headers;
headers << i18n("To")
<< i18n("Subject")
<< i18n("Message Id");
<< i18n("Message Id")
<< i18n("Dead Line");
mTreeWidget->setHeaderLabels(headers);
mTreeWidget->setSortingEnabled(true);
......
......@@ -41,7 +41,8 @@ private:
enum FollowUpReminderColumn {
To = 0,
Subject,
MessageId
MessageId,
Date
};
QTreeWidget *mTreeWidget;
};
......
......@@ -68,7 +68,6 @@ void FollowUpReminderManager::load()
void FollowUpReminderManager::checkFollowUp(const Akonadi::Item &item, const Akonadi::Collection &col)
{
//TODO
FollowUpReminderJob *job = new FollowUpReminderJob(this);
connect(job, SIGNAL(finished(QString)), SLOT(slotCheckFollowUpFinished(QString)));
job->setItem(item);
......@@ -80,10 +79,10 @@ void FollowUpReminderManager::slotCheckFollowUpFinished(const QString &messageId
Q_FOREACH(FollowUpReminderInfo* info, mFollowUpReminderInfoList) {
if (info->messageId() == messageId) {
answerReceived(info->to());
//TODO inform that we have a response!
//Remove info in list and settings
break;
}
}
//TODO
}
void FollowUpReminderManager::answerReceived(const QString &from)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment