• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.9.5 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 <QtGui/QWidget>
27 
28 class KStatusBar;
29 class QMouseEvent;
30 class QDragEnterEvent;
31 class QDropEvent;
32 
33 namespace KontactInterface
34 {
35 
42 class KONTACTINTERFACE_EXPORT Summary : public QWidget
43 {
44  Q_OBJECT
45 
46  public:
52  explicit Summary( QWidget *parent );
53 
57  virtual ~Summary();
58 
65  virtual int summaryHeight() const;
66 
74  QWidget *createHeader( QWidget *parent, const QString &icon, const QString &heading );
75 
81  virtual QStringList configModules() const;
82 
83  public Q_SLOTS:
87  virtual void configChanged();
88 
94  virtual void updateSummary( bool force = false );
95 
96  Q_SIGNALS:
101  void message( const QString &message );
102 
109  void summaryWidgetDropped( QWidget *target, QWidget *widget, int alignment );
110 
111  protected:
112  virtual void mousePressEvent( QMouseEvent * );
113  virtual void mouseMoveEvent( QMouseEvent * );
114  virtual void dragEnterEvent( QDragEnterEvent * );
115  virtual void dropEvent( QDropEvent * );
116 
117  private:
118  //@cond PRIVATE
119  class Private;
120  Private *const d;
121  //@endcond
122 };
123 
124 }
125 
126 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jan 5 2013 19:45:44 by doxygen 1.8.1.2 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.9.5 API Reference

Skip menu "kdepimlibs-4.9.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • 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