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

Kontact Plugin Interface Library

  • kontactinterface
summary.h
1/*
2 This file is part of the KDE Kontact Plugin Interface Library.
3
4 Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library 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 library 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 Library General Public License for more details.
15
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA.
20*/
21#ifndef KONTACTINTERFACE_SUMMARY_H
22#define KONTACTINTERFACE_SUMMARY_H
23
24#include "kontactinterface_export.h"
25
26#include <QWidget>
27
28class KStatusBar;
29class QMouseEvent;
30class QDragEnterEvent;
31class QDropEvent;
32
33namespace KontactInterface {
34
41class KONTACTINTERFACE_EXPORT Summary : public QWidget
42{
43 Q_OBJECT
44
45 public:
51 explicit Summary( QWidget *parent );
52
56 virtual ~Summary();
57
64 virtual int summaryHeight() const;
65
73 QWidget *createHeader( QWidget *parent, const QString &icon, const QString &heading );
74
80 virtual QStringList configModules() const;
81
82 public Q_SLOTS:
86 virtual void configChanged();
87
93 virtual void updateSummary( bool force = false );
94
95 Q_SIGNALS:
100 void message( const QString &message );
101
108 void summaryWidgetDropped( QWidget *target, QWidget *widget, int alignment );
109
110 protected:
111 virtual void mousePressEvent( QMouseEvent * );
112 virtual void mouseMoveEvent( QMouseEvent * );
113 virtual void dragEnterEvent( QDragEnterEvent * );
114 virtual void dropEvent( QDropEvent * );
115
116 private:
117 //@cond PRIVATE
118 class Private;
119 Private *const d;
120 //@endcond
121};
122
123}
124
125#endif
KontactInterface::Summary
Base class for summary widgets in Kontact.
Definition: summary.h:42
KontactInterface::Summary::summaryWidgetDropped
void summaryWidgetDropped(QWidget *target, QWidget *widget, int alignment)
KontactInterface::Summary::message
void message(const QString &message)
This signal can be emitted to signaling that an action is going on.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 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.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 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