kmail
KMSetTagCommand Class Reference
  #include <kmcommands.h>
Inheritance diagram for KMSetTagCommand:

Public Types | |
| enum | SetTagMode { AddIfNotExisting, Toggle, CleanExistingAndAddNew } | 
  Public Types inherited from KMCommand | |
| enum | Result { Undefined, OK, Canceled, Failed } | 
Public Member Functions | |
| KMSetTagCommand (const QList< QString > &tagLabel, const QList< Akonadi::Item > &item, SetTagMode mode=AddIfNotExisting) | |
  Public Member Functions inherited from KMCommand | |
| KMCommand (QWidget *parent=0) | |
| KMCommand (QWidget *parent, const Akonadi::Item &) | |
| KMCommand (QWidget *parent, const QList< Akonadi::Item > &msgList) | |
| virtual | ~KMCommand () | 
| Result | result () const | 
Additional Inherited Members | |
  Public Slots inherited from KMCommand | |
| void | start () | 
  Signals inherited from KMCommand | |
| void | completed (KMCommand *command) | 
| void | messagesTransfered (KMCommand::Result result) | 
  Protected Member Functions inherited from KMCommand | |
| bool | deletesItself () const | 
| bool | emitsCompletedItself () const | 
| Akonadi::ItemFetchScope & | fetchScope () | 
| QWidget * | parentWidget () const | 
| Akonadi::Item | retrievedMessage () const | 
| const QList< Akonadi::Item > | retrievedMsgs () const | 
| void | setDeletesItself (bool deletesItself) | 
| void | setEmitsCompletedItself (bool emitsCompletedItself) | 
| void | setResult (Result result) | 
  Protected Attributes inherited from KMCommand | |
| QList< Akonadi::Item > | mRetrievedMsgs | 
Detailed Description
This command is used to set or toggle a tag for a list of messages.
If toggle is true then the tag is deleted if it is already applied.
Definition at line 429 of file kmcommands.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| AddIfNotExisting | |
| Toggle | |
| CleanExistingAndAddNew | |
Definition at line 434 of file kmcommands.h.
Constructor & Destructor Documentation
| KMSetTagCommand::KMSetTagCommand | ( | const QList< QString > & | tagLabel, | 
| const QList< Akonadi::Item > & | item, | ||
| SetTagMode | mode = AddIfNotExisting  | 
        ||
| ) | 
Definition at line 1205 of file kmcommands.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference
 Public Types inherited from