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

Kontact Plugin Interface Library

summary.h
00001 /*
00002   This file is part of the KDE Kontact Plugin Interface Library.
00003 
00004   Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
00005 
00006   This library is free software; you can redistribute it and/or
00007   modify it under the terms of the GNU Library General Public
00008   License as published by the Free Software Foundation; either
00009   version 2 of the License, or (at your option) any later version.
00010 
00011   This library is distributed in the hope that it will be useful,
00012   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014   Library General Public License for more details.
00015 
00016   You should have received a copy of the GNU Library General Public License
00017   along with this library; see the file COPYING.LIB.  If not, write to
00018   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019   Boston, MA 02110-1301, USA.
00020 */
00021 #ifndef KONTACTINTERFACE_SUMMARY_H
00022 #define KONTACTINTERFACE_SUMMARY_H
00023 
00024 #include "kontactinterface_export.h"
00025 
00026 #include <QtGui/QWidget>
00027 
00028 class KStatusBar;
00029 class QMouseEvent;
00030 class QDragEnterEvent;
00031 class QDropEvent;
00032 
00033 namespace KontactInterface
00034 {
00035 
00042 class KONTACTINTERFACE_EXPORT Summary : public QWidget
00043 {
00044   Q_OBJECT
00045 
00046   public:
00052     explicit Summary( QWidget *parent );
00053 
00057     virtual ~Summary();
00058 
00065     virtual int summaryHeight() const;
00066 
00074     QWidget *createHeader( QWidget *parent, const QString &icon, const QString &heading );
00075 
00081     virtual QStringList configModules() const;
00082 
00083   public Q_SLOTS:
00087     virtual void configChanged();
00088 
00094     virtual void updateSummary( bool force = false );
00095 
00096   Q_SIGNALS:
00101     void message( const QString &message );
00102 
00109     void summaryWidgetDropped( QWidget *target, QWidget *widget, int alignment );
00110 
00111   protected:
00112     virtual void mousePressEvent( QMouseEvent * );
00113     virtual void mouseMoveEvent( QMouseEvent * );
00114     virtual void dragEnterEvent( QDragEnterEvent * );
00115     virtual void dropEvent( QDropEvent * );
00116 
00117   private:
00118     //@cond PRIVATE
00119     class Private;
00120     Private *const d;
00121     //@endcond
00122 };
00123 
00124 }
00125 
00126 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:11 by doxygen 1.7.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.8.5 API Reference

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