kontact

sidepanebase.h
1/*
2 This file is part of the 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
7 modify it under the terms of the GNU General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (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 GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA.
20*/
21#ifndef KONTACT_SIDEPANEBASE_H
22#define KONTACT_SIDEPANEBASE_H
23
24#include <tqvbox.h>
25
26namespace KParts { class Part; }
27
28namespace Kontact
29{
30
31class Core;
32class Plugin;
33
34class SidePaneBase : public TQVBox
35{
36 TQ_OBJECT
37
38 public:
39 SidePaneBase( Core *core, TQWidget *parent, const char *name = 0 );
40 virtual ~SidePaneBase();
41
42 signals:
43 void pluginSelected( Kontact::Plugin* );
44
45 public slots:
50 virtual void updatePlugins() = 0;
51
52
53 virtual void indicateForegrunding( Kontact::Plugin* ) = 0;
54 protected:
55 Core* core() const;
56
57 private:
58 Core* mCore;
59 TDEActionCollection *mActionCollection;
60};
61
62}
63
64#endif
Base class for all Plugins in Kontact.
Definition: plugin.h:59