Renamed destination to direction for clarity.
[qwerkisync] / Windows / TypesWindow.cpp
index 8a52d7a..b4b86e3 100644 (file)
@@ -236,14 +236,14 @@ void TypesWindow::OrientationChanged()
 
 void TypesWindow::Continue()
 {
-       CurrentSettings().setShouldProcess(Settings::TYPE_SENT, EventTypes::EVENT_TYPE_CALL, cbMadeCalls->checkState() == Qt::Checked);
-       CurrentSettings().setShouldProcess(Settings::TYPE_SENT, EventTypes::EVENT_TYPE_SMS, cbSentSMS->checkState() == Qt::Checked);
-       CurrentSettings().setShouldProcess(Settings::TYPE_SENT, EventTypes::EVENT_TYPE_MMS, cbSentMMS->checkState() == Qt::Checked);
-       CurrentSettings().setShouldProcess(Settings::TYPE_SENT, EventTypes::EVENT_TYPE_CHAT, cbSentChat->checkState() == Qt::Checked);
-       CurrentSettings().setShouldProcess(Settings::TYPE_RECIEVED, EventTypes::EVENT_TYPE_CALL, cbRecvCalls->checkState() == Qt::Checked);
-       CurrentSettings().setShouldProcess(Settings::TYPE_RECIEVED, EventTypes::EVENT_TYPE_SMS, cbRecvSMS->checkState() == Qt::Checked);
-       CurrentSettings().setShouldProcess(Settings::TYPE_RECIEVED, EventTypes::EVENT_TYPE_MMS, cbRecvMMS->checkState() == Qt::Checked);
-       CurrentSettings().setShouldProcess(Settings::TYPE_RECIEVED, EventTypes::EVENT_TYPE_CHAT, cbRecvChat->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::OUTGOING, EventTypes::EVENT_TYPE_CALL, cbMadeCalls->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::OUTGOING, EventTypes::EVENT_TYPE_SMS, cbSentSMS->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::OUTGOING, EventTypes::EVENT_TYPE_MMS, cbSentMMS->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::OUTGOING, EventTypes::EVENT_TYPE_CHAT, cbSentChat->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::INCOMING, EventTypes::EVENT_TYPE_CALL, cbRecvCalls->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::INCOMING, EventTypes::EVENT_TYPE_SMS, cbRecvSMS->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::INCOMING, EventTypes::EVENT_TYPE_MMS, cbRecvMMS->checkState() == Qt::Checked);
+       CurrentSettings().setShouldProcess(Settings::INCOMING, EventTypes::EVENT_TYPE_CHAT, cbRecvChat->checkState() == Qt::Checked);
 
        if(CurrentSettings().anyToProcess())
                Advance();