• 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
journalplugin.h
Go to the documentation of this file.
1 /*
2  This file is part of KDE Kontact.
3 
4  Copyright (c) 2004,2009 Allen Winter <winter@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_JOURNALPLUGIN_H
25 #define KONTACT_JOURNALPLUGIN_H
26 
27 #include <KontactInterface/Plugin>
28 
29 class OrgKdeKorganizerCalendarInterface;
30 
31 namespace KontactInterface {
32  class UniqueAppWatcher;
33 }
34 
35 class JournalPlugin : public KontactInterface::Plugin
36 {
37  Q_OBJECT
38  public:
39  JournalPlugin( KontactInterface::Core *core, const QVariantList & );
40  ~JournalPlugin();
41 
42  bool createDBUSInterface( const QString &serviceType );
43  bool isRunningStandalone() const;
44  int weight() const { return 525; }
45 
46  QStringList invisibleToolbarActions() const;
47 
48  void select();
49 
50  OrgKdeKorganizerCalendarInterface *interface();
51 
52  protected:
53  KParts::ReadOnlyPart *createPart();
54 
55  private slots:
56  void slotNewJournal();
57  void slotSyncJournal();
58 
59  private:
60  OrgKdeKorganizerCalendarInterface *mIface;
61  KontactInterface::UniqueAppWatcher *mUniqueAppWatcher;
62 };
63 
64 #endif
JournalPlugin::JournalPlugin
JournalPlugin(KontactInterface::Core *core, const QVariantList &)
Definition: journalplugin.cpp:39
JournalPlugin::interface
OrgKdeKorganizerCalendarInterface * interface()
Definition: journalplugin.cpp:121
JournalPlugin
Definition: journalplugin.h:35
JournalPlugin::createPart
KParts::ReadOnlyPart * createPart()
Definition: journalplugin.cpp:80
JournalPlugin::invisibleToolbarActions
QStringList invisibleToolbarActions() const
Definition: journalplugin.cpp:99
JournalPlugin::select
void select()
Definition: journalplugin.cpp:94
JournalPlugin::createDBUSInterface
bool createDBUSInterface(const QString &serviceType)
Definition: journalplugin.cpp:149
JournalPlugin::~JournalPlugin
~JournalPlugin()
Definition: journalplugin.cpp:76
QString
JournalPlugin::weight
int weight() const
Definition: journalplugin.h:44
QStringList
JournalPlugin::isRunningStandalone
bool isRunningStandalone() const
Definition: journalplugin.cpp:159
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