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

kapptemplate

  • sources
  • kde-4.12
  • kdesdk
  • kapptemplate
  • templates
  • C++
  • akonadiresource
%{APPNAMELC}resource.h
Go to the documentation of this file.
1 #ifndef %{APPNAMEUC}RESOURCE_H
2 #define %{APPNAMEUC}RESOURCE_H
3 
4 #include <akonadi/resourcebase.h>
5 
6 class %{APPNAME}Resource : public Akonadi::ResourceBase,
7  public Akonadi::AgentBase::Observer
8 {
9  Q_OBJECT
10 
11  public:
12  %{APPNAME}Resource( const QString &id );
13  ~%{APPNAME}Resource();
14 
15  public Q_SLOTS:
16  virtual void configure( WId windowId );
17 
18  protected Q_SLOTS:
19  void retrieveCollections();
20  void retrieveItems( const Akonadi::Collection &col );
21  bool retrieveItem( const Akonadi::Item &item, const QSet<QByteArray> &parts );
22 
23  protected:
24  virtual void aboutToQuit();
25 
26  virtual void itemAdded( const Akonadi::Item &item, const Akonadi::Collection &collection );
27  virtual void itemChanged( const Akonadi::Item &item, const QSet<QByteArray> &parts );
28  virtual void itemRemoved( const Akonadi::Item &item );
29 };
30 
31 #endif
APPNAME
main APPNAME
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kapptemplate

Skip menu "kapptemplate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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