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

akonadi

  • sources
  • kde-4.12
  • kdepimlibs
  • akonadi
notificationsource_p.h
1 /*
2  * Copyright (C) 2013 Daniel Vrátil <dvratil@redhat.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  *
18  */
19 
20 #ifndef NOTIFICATIONSOURCE_P_H
21 #define NOTIFICATIONSOURCE_P_H
22 
23 #include <QtCore/QObject>
24 
25 #include "entity.h"
26 #include "akonadiprivate_export.h"
27 #include <notificationmessagev2_p.h>
28 
29 namespace Akonadi
30 {
31 
32 class AKONADI_TESTS_EXPORT NotificationSource: public QObject
33 {
34  Q_OBJECT
35 
36  public:
37  NotificationSource( QObject *source );
38  ~NotificationSource();
39 
40  void setAllMonitored( bool allMonitored );
41  void setMonitoredCollection( Entity::Id id, bool monitored );
42  void setMonitoredItem( Entity::Id id, bool monitored );
43  void setMonitoredResource( const QByteArray &resource, bool monitored );
44  void setMonitoredMimeType( const QString &mimeType, bool monitored );
45  void setIgnoredSession( const QByteArray &session, bool monitored );
46 
47  QObject* source() const;
48 
49  Q_SIGNALS:
50  void notifyV2( const Akonadi::NotificationMessageV2::List &msgs );
51 };
52 
53 }
54 
55 #endif // NOTIFICATIONSOURCE_P_H
Akonadi::Entity::Id
qint64 Id
Describes the unique id type.
Definition: entity.h:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 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
  • Modules
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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