• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • akonadi
  • kmime
removeduplicatesjob.h
1/*
2 Copyright (c) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
3 Copyright (c) 2010 Andras Mantia <andras@kdab.com>
4 Copyright (c) 2012 Dan Vrátil <dvratil@redhat.com>
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19*/
20
21#ifndef REMOVEDUPLICATESJOB_H
22#define REMOVEDUPLICATESJOB_H
23
24#include <akonadi/job.h>
25#include <akonadi/collection.h>
26
27#include "akonadi-kmime_export.h"
28
29class QAbstractItemModel;
30
31namespace Akonadi {
32
41class AKONADI_KMIME_EXPORT RemoveDuplicatesJob : public Akonadi::Job
42{
43 Q_OBJECT
44
45public:
52 RemoveDuplicatesJob(const Akonadi::Collection &folder, QObject *parent = 0);
53
60 RemoveDuplicatesJob(const Akonadi::Collection::List &folders, QObject *parent);
61
65 virtual ~RemoveDuplicatesJob();
66
67protected:
68 virtual void doStart();
69 virtual bool doKill();
70
71private:
72 class Private;
73 Private *const d;
74
75 Q_PRIVATE_SLOT(d, void slotFetchDone(KJob *job))
76 Q_PRIVATE_SLOT(d, void slotDeleteDone(KJob *job))
77};
78
79} /* namespace Akonadi */
80
81#endif // REMOVEDUPLICATESJOB_H
Akonadi::Collection
Represents a collection of PIM items.
Definition collection.h:76
Akonadi::Collection::List
QList< Collection > List
Describes a list of collections.
Definition collection.h:81
Akonadi::Job
Base class for all actions in the Akonadi storage.
Definition job.h:87
Akonadi::RemoveDuplicatesJob
Job that finds and removes duplicate messages in given collection.
Definition removeduplicatesjob.h:42
Akonadi
FreeBusyManager::Singleton.
Definition actionstatemanager_p.h:28
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal