PimCommon::GenericPluginInterface

Search for usage in LXR

PimCommon::GenericPluginInterface Class Reference

#include <genericplugininterface.h>

Inherits PimCommon::AbstractGenericPluginInterface.

Public Types

enum  RequireType {
  None = 0, CurrentItems = 1, Items = 2, CurrentCollection = 3,
  Collections = 4
}
 
typedef QFlags< RequireType > RequireTypes
 

Public Member Functions

 GenericPluginInterface (QObject *parent=nullptr)
 
QList< ActionTypeactionTypes () const
 
void addActionType (ActionType type)
 
virtual GenericPluginInterface::RequireTypes requiresFeatures () const
 
void setActionTypes (const QList< ActionType > &type)
 
virtual void setCollections (const Akonadi::Collection::List &cols)
 
virtual void setCurrentCollection (const Akonadi::Collection &col)
 
virtual void setCurrentItems (const Akonadi::Item::List &items)
 
virtual void setItems (const Akonadi::Item::List &items)
 
virtual void updateActions (int numberOfSelectedItems, int numberOfSelectedCollections)
 

Detailed Description

The GenericPluginInterface class.

Author
Laurent Montel monte.nosp@m.l@kd.nosp@m.e.org

Definition at line 20 of file genericplugininterface.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:53:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.