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

kjots

  • sources
  • kde-4.12
  • kdepim
  • kjots
  • plasmoid
akonotes_noteslistapplet.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>
3 
4  This library is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Library General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or (at your
7  option) any later version.
8 
9  This library is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12  License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to the
16  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  02110-1301, USA.
18 */
19 
20 #ifndef AKONOTES_NOTESLISTAPPLET_H
21 #define AKONOTES_NOTESLISTAPPLET_H
22 
23 #include <Plasma/PopupApplet>
24 
25 #include "ui_akonotes_applet.h"
26 
27 #include <akonadi/collection.h>
28 
29 class QAbstractItemModel;
30 
31 
32 namespace Akonadi
33 {
34 class PlasmaTreeView;
35 }
36 
37 class AkonotesListApplet : public Plasma::PopupApplet
38 {
39  Q_OBJECT
40 public:
41  AkonotesListApplet(QObject* parent, const QVariantList& args);
42 
43  void init();
44 
45 protected:
46  void createConfigurationInterface (KConfigDialog *parent);
47 
48 protected slots:
49  void configAccepted();
50 
51 private:
52  void setupModel( Akonadi::Collection::Id id );
53 
54 private:
55  Ui::AkonotesConfig ui;
56  QAbstractItemModel *m_model;
57  QGraphicsLinearLayout *m_layout;
58  Akonadi::PlasmaTreeView *m_treeView;
59 };
60 
61 #endif
AkonotesListApplet::createConfigurationInterface
void createConfigurationInterface(KConfigDialog *parent)
Definition: akonotes_noteslistapplet.cpp:93
AkonotesListApplet
Definition: akonotes_noteslistapplet.h:37
AkonotesListApplet::configAccepted
void configAccepted()
Definition: akonotes_noteslistapplet.cpp:123
AkonotesListApplet::AkonotesListApplet
AkonotesListApplet(QObject *parent, const QVariantList &args)
Definition: akonotes_noteslistapplet.cpp:45
QObject
AkonotesListApplet::init
void init()
Definition: akonotes_noteslistapplet.cpp:78
Akonadi::PlasmaTreeView
Provides a plasma-themed Akonadi::EntityTreeView.
Definition: plasmatreeview.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kjots

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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