• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

mailtransport

outboxactions_p.h

00001 /*
00002     Copyright (c) 2009 Constantin Berzan <exit3219@gmail.com>
00003 
00004     This library is free software; you can redistribute it and/or modify it
00005     under the terms of the GNU Library General Public License as published by
00006     the Free Software Foundation; either version 2 of the License, or (at your
00007     option) any later version.
00008 
00009     This library is distributed in the hope that it will be useful, but WITHOUT
00010     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00012     License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to the
00016     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017     02110-1301, USA.
00018 */
00019 
00020 #ifndef MAILTRANSPORT_OUTBOXACTIONS_P_H
00021 #define MAILTRANSPORT_OUTBOXACTIONS_P_H
00022 
00023 #include <mailtransport/mailtransport_export.h>
00024 #include <mailtransport/filteractionjob_p.h>
00025 #include <mailtransport/transportattribute.h>
00026 
00027 #include <akonadi/itemfetchscope.h>
00028 #include <akonadi/job.h>
00029 
00030 namespace MailTransport {
00031 
00043 class SendQueuedAction : public Akonadi::FilterAction
00044 {
00045   public:
00047     SendQueuedAction();
00048 
00050     virtual ~SendQueuedAction();
00051 
00052     /* reimpl */
00053     virtual Akonadi::ItemFetchScope fetchScope() const;
00054 
00055     /* reimpl */
00056     virtual bool itemAccepted( const Akonadi::Item &item ) const;
00057 
00058     /* reimpl */
00059     virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const;
00060 
00061   private:
00062     class Private;
00063     Private *const d;
00064 };
00065 
00077 class ClearErrorAction : public Akonadi::FilterAction
00078 {
00079   public:
00081     ClearErrorAction();
00082 
00084     virtual ~ClearErrorAction();
00085 
00086     /* reimpl */
00087     virtual Akonadi::ItemFetchScope fetchScope() const;
00088 
00089     /* reimpl */
00090     virtual bool itemAccepted( const Akonadi::Item &item ) const;
00091 
00092     /* reimpl */
00093     virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const;
00094 
00095   private:
00096     class Private;
00097     Private *const d;
00098 };
00099 
00111 class DispatchManualTransportAction : public Akonadi::FilterAction
00112 {
00113   public:
00114     DispatchManualTransportAction( int transportId );
00115 
00116     virtual ~DispatchManualTransportAction();
00117 
00118     /* reimpl */
00119     virtual Akonadi::ItemFetchScope fetchScope() const;
00120 
00121     /* reimpl */
00122     virtual bool itemAccepted( const Akonadi::Item &item ) const;
00123 
00124     /* reimpl */
00125     virtual Akonadi::Job *itemAction( const Akonadi::Item &item, Akonadi::FilterActionJob *parent ) const;
00126 
00127   private:
00128     class Private;
00129     Private *const d;
00130 
00131     int mTransportId;
00132 };
00133 
00134 } // namespace MailTransport
00135 
00136 #endif // MAILTRANSPORT_OUTBOXACTIONS_P_H

mailtransport

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal