• 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
  • src
sidepanebase.h
Go to the documentation of this file.
1 /*
2  This file is part of the KDE Kontact.
3 
4  Copyright (C) 2003 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (C) 2008 Rafael Fernández López <ereslibre@kde.org>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU 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 program 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  General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; see the file COPYING. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 #ifndef KONTACT_SIDEPANEBASE_H
23 #define KONTACT_SIDEPANEBASE_H
24 
25 #include <KVBox>
26 
27 namespace KontactInterface {
28 class Core;
29 class Plugin;
30 }
31 
32 
33 namespace Kontact {
34 
35 class SidePaneBase : public KVBox
36 {
37  Q_OBJECT
38 
39 public:
40  SidePaneBase( KontactInterface::Core *core, QWidget *parent );
41  virtual ~SidePaneBase();
42 
43  virtual void setCurrentPlugin( const QString & ) = 0;
44 
45 signals:
46  void pluginSelected( KontactInterface::Plugin * );
47 
48 public slots:
53  virtual void updatePlugins() = 0;
54 
55 protected:
56  KontactInterface::Core *core() const;
57 
58 private:
59  KontactInterface::Core *mCore;
60 };
61 
62 }
63 
64 #endif
QWidget
KVBox
Kontact::SidePaneBase::setCurrentPlugin
virtual void setCurrentPlugin(const QString &)=0
Kontact::SidePaneBase::pluginSelected
void pluginSelected(KontactInterface::Plugin *)
Kontact::SidePaneBase::~SidePaneBase
virtual ~SidePaneBase()
Definition: sidepanebase.cpp:33
QString
Kontact::SidePaneBase
Definition: sidepanebase.h:35
Kontact::SidePaneBase::SidePaneBase
SidePaneBase(KontactInterface::Core *core, QWidget *parent)
Definition: sidepanebase.cpp:28
Kontact::SidePaneBase::updatePlugins
virtual void updatePlugins()=0
This method is called by the core whenever the count of plugins has changed.
Kontact::SidePaneBase::core
KontactInterface::Core * core() const
Definition: sidepanebase.cpp:37
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