akonadi
standardcalendaractionmanager.cpp
43 Private( KActionCollection *actionCollection, QWidget *parentWidget, StandardCalendarActionManager *parent )
116 mGenericManager->action( Akonadi::StandardActionManager::SynchronizeCollections )->setWhatsThis(
349 mGenericManager->action( Akonadi::StandardActionManager::CopyItemToMenu )->setText( i18n( "Copy Event To" ) );
352 mGenericManager->action( Akonadi::StandardActionManager::CopyItemToDialog )->setText( i18n( "Copy Event To" ) );
363 mGenericManager->action( Akonadi::StandardActionManager::MoveItemToMenu )->setText( i18n( "Move Event To" ) );
366 mGenericManager->action( Akonadi::StandardActionManager::MoveItemToDialog )->setText( i18n( "Move Event To" ) );
369 mActions.value( StandardCalendarActionManager::EditIncidence )->setText( i18n( "Edit Event..." ) );
377 mGenericManager->action( Akonadi::StandardActionManager::CopyItemToMenu )->setText( i18n( "Copy To-do To" ) );
380 mGenericManager->action( Akonadi::StandardActionManager::CopyItemToDialog )->setText( i18n( "Copy To-do To" ) );
391 mGenericManager->action( Akonadi::StandardActionManager::MoveItemToMenu )->setText( i18n( "Move To-do To" ) );
394 mGenericManager->action( Akonadi::StandardActionManager::MoveItemToDialog )->setText( i18n( "Move To-do To" ) );
397 mActions.value( StandardCalendarActionManager::EditIncidence )->setText( i18n( "Edit To-do..." ) );
405 mGenericManager->action( Akonadi::StandardActionManager::CopyItemToMenu )->setText( i18n( "Copy Journal To" ) );
408 mGenericManager->action( Akonadi::StandardActionManager::CopyItemToDialog )->setText( i18n( "Copy Journal To" ) );
419 mGenericManager->action( Akonadi::StandardActionManager::MoveItemToMenu )->setText( i18n( "Move Journal To" ) );
422 mGenericManager->action( Akonadi::StandardActionManager::MoveItemToDialog )->setText( i18n( "Move Journal To" ) );
425 mActions.value( StandardCalendarActionManager::EditIncidence )->setText( i18n( "Edit Journal..." ) );
433 mActions[ StandardCalendarActionManager::CreateEvent ]->setEnabled( hasWritableCollection( KCalCore::Event::eventMimeType() ) );
436 mActions[ StandardCalendarActionManager::CreateTodo ]->setEnabled( hasWritableCollection( KCalCore::Todo::todoMimeType() ) );
439 mActions[ StandardCalendarActionManager::CreateJournal ]->setEnabled( hasWritableCollection( KCalCore::Journal::journalMimeType() ) );
452 const Collection parentCollection = index.data( EntityTreeModel::ParentCollectionRole ).value<Collection>();
470 mActions[ StandardCalendarActionManager::CreateSubTodo ]->setEnabled( hasWritableCollection( KCalCore::Todo::todoMimeType() ) );
514 Akonadi::StandardCalendarActionManager::StandardCalendarActionManager( KActionCollection *actionCollection, QWidget *parent )
525 void StandardCalendarActionManager::setCollectionSelectionModel( QItemSelectionModel *selectionModel )
539 void StandardCalendarActionManager::setItemSelectionModel( QItemSelectionModel *selectionModel )
550 KAction* StandardCalendarActionManager::createAction( StandardCalendarActionManager::Type type )
632 KAction* StandardCalendarActionManager::action( StandardCalendarActionManager::Type type ) const
646 void StandardCalendarActionManager::setActionText( StandardActionManager::Type type, const KLocalizedString &text )
651 void StandardCalendarActionManager::interceptAction( StandardCalendarActionManager::Type type, bool intercept )
660 void StandardCalendarActionManager::interceptAction( StandardActionManager::Type type, bool intercept )
675 void StandardCalendarActionManager::setContextText( StandardActionManager::Type type, StandardActionManager::TextContext context, const QString &text )
680 void StandardCalendarActionManager::setContextText( StandardActionManager::Type type, StandardActionManager::TextContext context, const KLocalizedString &text )
685 void StandardCalendarActionManager::setCollectionPropertiesPageNames( const QStringList &names )
Moves the selected items to trash and marks them as deleted, needs EntityDeletedAttribute.
Definition: standardactionmanager.h:163
TextContext
Describes the text context that can be customized.
Definition: standardactionmanager.h:177
Helper type for MoveToTrashRestoreItem, do not create directly. Use this to override texts of the res...
Definition: standardactionmanager.h:169
Menu allowing to move item into a collection.
Definition: standardactionmanager.h:148
Creates a new sub-todo.
Definition: standardcalendaractionmanager.h:59
Creates an collection.
Definition: standardactionmanager.h:134
Moves the selected collection to trash and marks it as deleted, needs EntityDeletedAttribute.
Definition: standardactionmanager.h:162
The window title of an error message.
Definition: standardactionmanager.h:183
Copies the selected items.
Definition: standardactionmanager.h:139
Manages generic actions for collection and item views.
Definition: standardactionmanager.h:126
void interceptAction(Type type, bool intercept=true)
Sets whether the default implementation for the given action type shall be executed when the action i...
Definition: standardcalendaractionmanager.cpp:651
Copy a collection into another collection, select the target in a dialog.
Definition: standardactionmanager.h:157
Provides the resource properties.
Definition: standardactionmanager.h:154
Akonadi::Item::List selectedItems() const
Returns the list of items that are currently selected.
Definition: standardcalendaractionmanager.cpp:670
Cuts the selected items.
Definition: standardactionmanager.h:150
void setContextText(StandardActionManager::Type type, StandardActionManager::TextContext context, const QString &text)
Sets the text of the action type for the given context.
Definition: standardcalendaractionmanager.cpp:675
void createAllActions()
Convenience method to create all standard actions.
Definition: standardcalendaractionmanager.cpp:619
Manages calendar specific actions for collection and item views.
Definition: standardcalendaractionmanager.h:49
Restores the selected items from trash, needs EntityDeletedAttribute.
Definition: standardactionmanager.h:165
void setActionText(StandardActionManager::Type type, const KLocalizedString &text)
Sets the label of the action type to text, which is used during updating the action state and substit...
Definition: standardcalendaractionmanager.cpp:646
~StandardCalendarActionManager()
Destroys the standard calendar action manager.
Definition: standardcalendaractionmanager.cpp:520
Toggles the work offline state of all resources.
Definition: standardactionmanager.h:156
void setCollectionSelectionModel(QItemSelectionModel *selectionModel)
Sets the collection selection model based on which the collection related actions should operate...
Definition: standardcalendaractionmanager.cpp:525
Restores the selected collection from trash, needs EntityDeletedAttribute.
Definition: standardactionmanager.h:164
Helper type for MoveToTrashRestoreCollection, do not create directly. Use this to override texts of t...
Definition: standardactionmanager.h:167
Paste collections or items.
Definition: standardactionmanager.h:140
KAction * createAction(Type type)
Creates the action of the given type and adds it to the action collection specified in the constructo...
Definition: standardcalendaractionmanager.cpp:550
Provides collection properties.
Definition: standardactionmanager.h:138
Remove the collection from the favorite collections model.
Definition: standardactionmanager.h:144
Copy an item into a collection, select the target in a dialog.
Definition: standardactionmanager.h:159
StandardCalendarActionManager(KActionCollection *actionCollection, QWidget *parent=0)
Creates a new standard calendar action manager.
Definition: standardcalendaractionmanager.cpp:514
Add the collection to the favorite collections model.
Definition: standardactionmanager.h:143
KAction * action(Type type) const
Returns the action of the given type, 0 if it has not been created (yet).
Definition: standardcalendaractionmanager.cpp:632
The window title of a message box.
Definition: standardactionmanager.h:180
void actionStateUpdated()
This signal is emitted whenever the action state has been updated.
Can create new items in this collection.
Definition: collection.h:89
Creates a new journal.
Definition: standardcalendaractionmanager.h:60
Synchronizes collections in a recursive way.
Definition: standardactionmanager.h:161
Creates a new todo.
Definition: standardcalendaractionmanager.h:58
Menu allowing to quickly copy a collection into another collection.
Definition: standardactionmanager.h:146
The parent collection of the entity.
Definition: entitytreemodel.h:340
void setItemSelectionModel(QItemSelectionModel *selectionModel)
Sets the item selection model based on which the item related actions should operate.
Definition: standardcalendaractionmanager.cpp:539
Rights rights() const
Returns the rights the user has on the collection.
Definition: collection.cpp:99
Cuts the selected collections.
Definition: standardactionmanager.h:151
Akonadi::Collection::List selectedCollections() const
Returns the list of collections that are currently selected.
Definition: standardcalendaractionmanager.cpp:665
The window title of a dialog.
Definition: standardactionmanager.h:178
Edit currently selected event/todo/journal.
Definition: standardcalendaractionmanager.h:61
Menu allowing to quickly copy an item into a collection.
Definition: standardactionmanager.h:147
Synchronizes the selected resources.
Definition: standardactionmanager.h:155
Deletes the selected resources.
Definition: standardactionmanager.h:153
Copies the selected collections.
Definition: standardactionmanager.h:135
Creates a new event.
Definition: standardcalendaractionmanager.h:57
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition: collection.cpp:115
The text of a message box.
Definition: standardactionmanager.h:181
Move Item to Trash or Restore it from Trash, needs EntityDeletedAttribute.
Definition: standardactionmanager.h:168
Creates a new resource.
Definition: standardactionmanager.h:152
Move an item into a collection, select the target in a dialog.
Definition: standardactionmanager.h:160
Move a collection into another collection, select the target in a dialog.
Definition: standardactionmanager.h:158
Synchronizes collections.
Definition: standardactionmanager.h:137
Move Collection to Trash or Restore it from Trash, needs EntityDeletedAttribute.
Definition: standardactionmanager.h:166
Manages local subscriptions.
Definition: standardactionmanager.h:142
The text of an error message.
Definition: standardactionmanager.h:184
Deletes the selected items.
Definition: standardactionmanager.h:141
Deletes the selected collections.
Definition: standardactionmanager.h:136
Menu allowing to move a collection into another collection.
Definition: standardactionmanager.h:149
Rename the collection of the favorite collections model.
Definition: standardactionmanager.h:145
Synchronize favorite collections.
Definition: standardactionmanager.h:170
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:19 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:19 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.