• 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
korganizerplugin.h
Go to the documentation of this file.
1 /*
2  This file is part of KDE Kontact.
3 
4  Copyright (c) 2001 Matthias Hoelzer-Kluepfel <mhk@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 
25 #ifndef KORGANIZER_PLUGIN_H
26 #define KORGANIZER_PLUGIN_H
27 
28 #include <KontactInterface/Plugin>
29 
30 class OrgKdeKorganizerCalendarInterface;
31 
32 namespace KontactInterface {
33  class UniqueAppWatcher;
34 }
35 
36 class KOrganizerPlugin : public KontactInterface::Plugin
37 {
38  Q_OBJECT
39 
40  public:
41  KOrganizerPlugin( KontactInterface::Core *core, const QVariantList & );
42  ~KOrganizerPlugin();
43 
44  bool createDBUSInterface( const QString &serviceType );
45  bool isRunningStandalone() const;
46  int weight() const { return 400; }
47 
48  bool canDecodeMimeData( const QMimeData * ) const;
49  void processDropEvent( QDropEvent * );
50 
51  virtual KontactInterface::Summary *createSummaryWidget( QWidget *parent );
52 
53  QString tipFile() const;
54  QStringList invisibleToolbarActions() const;
55 
56  void select();
57 
58  OrgKdeKorganizerCalendarInterface *interface();
59 
60  protected:
61  KParts::ReadOnlyPart *createPart();
62 
63  private slots:
64  void slotNewEvent();
65  void slotSyncEvents();
66 
67  private:
68  OrgKdeKorganizerCalendarInterface *mIface;
69  KontactInterface::UniqueAppWatcher *mUniqueAppWatcher;
70 };
71 
72 #endif
QWidget
KOrganizerPlugin::createSummaryWidget
virtual KontactInterface::Summary * createSummaryWidget(QWidget *parent)
Definition: korganizerplugin.cpp:96
KOrganizerPlugin::isRunningStandalone
bool isRunningStandalone() const
Definition: korganizerplugin.cpp:176
KOrganizerPlugin
Definition: korganizerplugin.h:36
KOrganizerPlugin::~KOrganizerPlugin
~KOrganizerPlugin()
Definition: korganizerplugin.cpp:92
KOrganizerPlugin::KOrganizerPlugin
KOrganizerPlugin(KontactInterface::Core *core, const QVariantList &)
Definition: korganizerplugin.cpp:56
QMimeData
QDropEvent
KOrganizerPlugin::weight
int weight() const
Definition: korganizerplugin.h:46
KOrganizerPlugin::tipFile
QString tipFile() const
Definition: korganizerplugin.cpp:115
QString
QStringList
KOrganizerPlugin::invisibleToolbarActions
QStringList invisibleToolbarActions() const
Definition: korganizerplugin.cpp:121
KOrganizerPlugin::createPart
KParts::ReadOnlyPart * createPart()
Definition: korganizerplugin.cpp:101
KOrganizerPlugin::select
void select()
Definition: korganizerplugin.cpp:133
KOrganizerPlugin::createDBUSInterface
bool createDBUSInterface(const QString &serviceType)
Definition: korganizerplugin.cpp:166
KOrganizerPlugin::interface
OrgKdeKorganizerCalendarInterface * interface()
Definition: korganizerplugin.cpp:138
KOrganizerPlugin::canDecodeMimeData
bool canDecodeMimeData(const QMimeData *) const
Definition: korganizerplugin.cpp:181
KOrganizerPlugin::processDropEvent
void processDropEvent(QDropEvent *)
Definition: korganizerplugin.cpp:188
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