akonadi
Akonadi::ActionStateManager Class Reference
#include <actionstatemanager_p.h>
Public Member Functions | |
ActionStateManager () | |
virtual | ~ActionStateManager () |
void | setReceiver (QObject *receiver) |
void | updateState (const Collection::List &collections, const Item::List &items) |
Detailed Description
A helper class to manage action states.
Definition at line 35 of file actionstatemanager_p.h.
Constructor & Destructor Documentation
ActionStateManager::ActionStateManager | ( | ) |
Creates a new action state manager.
Definition at line 58 of file actionstatemanager.cpp.
|
virtual |
Destroys the action state manager.
Definition at line 63 of file actionstatemanager.cpp.
Member Function Documentation
void ActionStateManager::setReceiver | ( | QObject * | receiver | ) |
Sets the receiver
object that will actually update the states.
The object must provide the following three slots:
- void enableAction( int, bool )
- void updatePluralLabel( int, int )
- bool isFavoriteCollection( const Akonadi::Collection& )
Definition at line 67 of file actionstatemanager.cpp.
void ActionStateManager::updateState | ( | const Collection::List & | collections, |
const Item::List & | items | ||
) |
Updates the states according to the selected collections
and items
.
Definition at line 72 of file actionstatemanager.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:32 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:32 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.