File indexing completed on 2024-11-24 04:44:18
0001 /* 0002 SPDX-FileCopyrightText: 2014 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com> 0003 SPDX-FileContributor: Kevin Krammer <kevin.krammer@kdab.com> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #pragma once 0009 0010 #include "kolabrelationresourcetask.h" 0011 0012 class KolabRemoveTagTask : public KolabRelationResourceTask 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit KolabRemoveTagTask(const ResourceStateInterface::Ptr &resource, QObject *parent = nullptr); 0017 0018 protected: 0019 void startRelationTask(KIMAP::Session *session) override; 0020 0021 private: 0022 void triggerStoreJob(KIMAP::Session *session); 0023 0024 private Q_SLOTS: 0025 void onSelectDone(KJob *job); 0026 void onStoreFlagsDone(KJob *job); 0027 };