• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

Kontact Plugin Interface Library

  • kontactinterface
core.h
1 /*
2  This file is part of the KDE Kontact Plugin Interface Library.
3 
4  Copyright (c) 2001 Matthias Hoelzer-Kluepfel <mhk@kde.org>
5  Copyright (c) 2002-2003 Daniel Molkentin <molkentin@kde.org>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 
22 */
23 #ifndef KONTACTINTERFACE_CORE_H
24 #define KONTACTINTERFACE_CORE_H
25 
26 #include "kontactinterface_export.h"
27 #include <kparts/mainwindow.h>
28 #include <kparts/part.h>
29 
30 namespace KontactInterface {
31 
32 class Plugin;
33 
39 class KONTACTINTERFACE_EXPORT Core : public KParts::MainWindow
40 {
41  Q_OBJECT
42 
43  public:
47  virtual ~Core();
48 
55  virtual void selectPlugin( KontactInterface::Plugin *plugin ) = 0;
56 
63  virtual void selectPlugin( const QString &plugin ) = 0;
64 
68  virtual QList<KontactInterface::Plugin*> pluginList() const = 0;
69 
75  KParts::ReadOnlyPart *createPart( const char *library );
76 
82  virtual void partLoaded( Plugin *plugin, KParts::ReadOnlyPart *part ) = 0;
83 
84  Q_SIGNALS:
90  void dayChanged( const QDate &date );
91 
92  protected:
99  explicit Core( QWidget *parent = 0, Qt::WindowFlags flags = KDE_DEFAULT_WINDOWFLAGS );
100 
105  QString lastErrorMessage() const;
106 
107  private:
108  //@cond PRIVATE
109  class Private;
110  Private *const d;
111 
112  Q_PRIVATE_SLOT( d, void slotPartDestroyed( QObject * ) )
113  Q_PRIVATE_SLOT( d, void checkNewDay() )
114  //@endcond
115 };
116 
117 }
118 
119 #endif
120 
121 // vim: sw=2 sts=2 et tw=80
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:09 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kontact Plugin Interface Library

Skip menu "Kontact Plugin Interface Library"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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