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

kontact

  • sources
  • kde-4.14
  • kdepim
  • kontact
  • plugins
  • korganizer
todoplugin.h
Go to the documentation of this file.
1 /*
2  This file is part of KDE Kontact.
3 
4  Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License along
17  with this program; if not, write to the Free Software Foundation, Inc.,
18  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 
20  As a special exception, permission is given to link this program
21  with any edition of Qt, and distribute the resulting executable,
22  without including the source code for Qt in the source distribution.
23 */
24 #ifndef KONTACT_TODOPLUGIN_H
25 #define KONTACT_TODOPLUGIN_H
26 
27 #include <KontactInterface/Plugin>
28 
29 class OrgKdeKorganizerCalendarInterface;
30 
31 namespace KontactInterface {
32  class UniqueAppWatcher;
33 }
34 
35 class TodoPlugin : public KontactInterface::Plugin
36 {
37  Q_OBJECT
38  public:
39  TodoPlugin( KontactInterface::Core *core, const QVariantList & );
40  ~TodoPlugin();
41 
42  bool createDBUSInterface( const QString &serviceType );
43  bool isRunningStandalone() const;
44  int weight() const { return 450; }
45 
46  bool canDecodeMimeData( const QMimeData * ) const;
47  void processDropEvent( QDropEvent * );
48 
49  QStringList invisibleToolbarActions() const;
50 
51  virtual KontactInterface::Summary *createSummaryWidget( QWidget *parent );
52 
53  void select();
54 
55  OrgKdeKorganizerCalendarInterface *interface();
56 
57  protected:
58  KParts::ReadOnlyPart *createPart();
59 
60  private slots:
61  void slotNewTodo();
62  void slotSyncTodos();
63 
64  private:
65  OrgKdeKorganizerCalendarInterface *mIface;
66  KontactInterface::UniqueAppWatcher *mUniqueAppWatcher;
67 };
68 
69 #endif
QWidget
TodoPlugin::interface
OrgKdeKorganizerCalendarInterface * interface()
Definition: todoplugin.cpp:139
TodoPlugin::createSummaryWidget
virtual KontactInterface::Summary * createSummaryWidget(QWidget *parent)
Definition: todoplugin.cpp:93
QMimeData
TodoPlugin::~TodoPlugin
~TodoPlugin()
Definition: todoplugin.cpp:89
QDropEvent
QString
QStringList
TodoPlugin::weight
int weight() const
Definition: todoplugin.h:44
TodoPlugin::invisibleToolbarActions
QStringList invisibleToolbarActions() const
Definition: todoplugin.cpp:117
TodoPlugin
Definition: todoplugin.h:35
TodoPlugin::TodoPlugin
TodoPlugin(KontactInterface::Core *core, const QVariantList &)
Definition: todoplugin.cpp:54
TodoPlugin::canDecodeMimeData
bool canDecodeMimeData(const QMimeData *) const
Definition: todoplugin.cpp:177
TodoPlugin::processDropEvent
void processDropEvent(QDropEvent *)
Definition: todoplugin.cpp:191
TodoPlugin::isRunningStandalone
bool isRunningStandalone() const
Definition: todoplugin.cpp:186
TodoPlugin::createDBUSInterface
bool createDBUSInterface(const QString &serviceType)
Definition: todoplugin.cpp:167
TodoPlugin::createPart
KParts::ReadOnlyPart * createPart()
Definition: todoplugin.cpp:98
TodoPlugin::select
void select()
Definition: todoplugin.cpp:112
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kontact

Skip menu "kontact"
  • 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
  • pimprint

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