• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • akonadi
agentinstancewidget.h
1/*
2 Copyright (c) 2006-2008 Tobias Koenig <tokoe@kde.org>
3 Copyright (c) 2012 Laurent Montel <montel@kde.org>
4
5 This library is free software; you can redistribute it and/or modify it
6 under the terms of the GNU Library General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or (at your
8 option) any later version.
9
10 This library is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to the
17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 02110-1301, USA.
19*/
20
21#ifndef AKONADI_AGENTINSTANCEWIDGET_H
22#define AKONADI_AGENTINSTANCEWIDGET_H
23
24#include "akonadi_export.h"
25
26#include <QWidget>
27
28class QAbstractItemView;
29namespace Akonadi {
30
31class AgentInstance;
32class AgentFilterProxyModel;
33
66class AKONADI_EXPORT AgentInstanceWidget : public QWidget
67{
68 Q_OBJECT
69
70public:
76 explicit AgentInstanceWidget(QWidget *parent = 0);
77
81 ~AgentInstanceWidget();
82
87 AgentInstance currentAgentInstance() const;
88
93 QList<AgentInstance> selectedAgentInstances() const;
94
99 AgentFilterProxyModel *agentFilterProxyModel() const;
100
105 QAbstractItemView *view() const;
106
107Q_SIGNALS:
114 void currentChanged(const Akonadi::AgentInstance &current, const Akonadi::AgentInstance &previous);
115
121 void doubleClicked(const Akonadi::AgentInstance &current);
122
129 void clicked(const Akonadi::AgentInstance &current);
130
131private:
132 //@cond PRIVATE
133 class Private;
134 Private *const d;
135
136 Q_PRIVATE_SLOT(d, void currentAgentInstanceChanged(const QModelIndex &, const QModelIndex &))
137 Q_PRIVATE_SLOT(d, void currentAgentInstanceDoubleClicked(const QModelIndex &))
138 Q_PRIVATE_SLOT(d, void currentAgentInstanceClicked(const QModelIndex &currentIndex))
139 //@endcond
140};
141
142}
143
144#endif
Akonadi::AgentFilterProxyModel
A proxy model for filtering AgentType or AgentInstance.
Definition agentfilterproxymodel.h:53
Akonadi::AgentInstanceWidget
Provides a widget that lists all available agent instances.
Definition agentinstancewidget.h:67
Akonadi::AgentInstanceWidget::doubleClicked
void doubleClicked(const Akonadi::AgentInstance &current)
This signal is emitted whenever there is a double click on an agent instance.
Akonadi::AgentInstanceWidget::clicked
void clicked(const Akonadi::AgentInstance &current)
This signal is emitted whenever there is a click on an agent instance.
Akonadi::AgentInstanceWidget::currentChanged
void currentChanged(const Akonadi::AgentInstance &current, const Akonadi::AgentInstance &previous)
This signal is emitted whenever the current agent instance changes.
Akonadi::AgentInstance
A representation of an agent instance.
Definition agentinstance.h:63
Akonadi
FreeBusyManager::Singleton.
Definition actionstatemanager_p.h:28
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal