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.

Member Typedef Documentation

◆ RequireTypes

Definition at line 35 of file genericplugininterface.h.

Member Enumeration Documentation

◆ RequireType

enum PimCommon::GenericPluginInterface::RequireType

Definition at line 27 of file genericplugininterface.h.

Constructor & Destructor Documentation

◆ GenericPluginInterface()

GenericPluginInterface::GenericPluginInterface ( QObject * parent = nullptr)
explicit

Definition at line 19 of file genericplugininterface.cpp.

Member Function Documentation

◆ actionTypes()

QList< ActionType > GenericPluginInterface::actionTypes ( ) const

Definition at line 39 of file genericplugininterface.cpp.

◆ addActionType()

void GenericPluginInterface::addActionType ( ActionType type)

Definition at line 32 of file genericplugininterface.cpp.

◆ requiresFeatures()

PimCommon::GenericPluginInterface::RequireTypes GenericPluginInterface::requiresFeatures ( ) const
virtual

Definition at line 70 of file genericplugininterface.cpp.

◆ setActionTypes()

void GenericPluginInterface::setActionTypes ( const QList< ActionType > & type)

Definition at line 27 of file genericplugininterface.cpp.

◆ setCollections()

void GenericPluginInterface::setCollections ( const Akonadi::Collection::List & cols)
virtual

Definition at line 65 of file genericplugininterface.cpp.

◆ setCurrentCollection()

void GenericPluginInterface::setCurrentCollection ( const Akonadi::Collection & col)
virtual

Definition at line 60 of file genericplugininterface.cpp.

◆ setCurrentItems()

void GenericPluginInterface::setCurrentItems ( const Akonadi::Item::List & items)
virtual

Definition at line 50 of file genericplugininterface.cpp.

◆ setItems()

void GenericPluginInterface::setItems ( const Akonadi::Item::List & items)
virtual

Definition at line 55 of file genericplugininterface.cpp.

◆ updateActions()

void GenericPluginInterface::updateActions ( int numberOfSelectedItems,
int numberOfSelectedCollections )
virtual

Definition at line 44 of file genericplugininterface.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 11:54:33 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.