• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kdgantt1

KDGanttViewSummaryItem.h

Go to the documentation of this file.
00001 /* -*- Mode: C++ -*-
00002    $Id: KDGanttViewSummaryItem.h 836291 2008-07-22 04:34:42Z pradeepto $
00003    KDGantt - a multi-platform charting engine
00004 */
00005 /****************************************************************************
00006  ** Copyright (C)  2002-2004 Klarälvdalens Datakonsult AB.  All rights reserved.
00007  **
00008  ** This file is part of the KDGantt library.
00009  **
00010  ** This file may be used under the terms of the GNU General Public
00011  ** License versions 2.0 or 3.0 as published by the Free Software
00012  ** Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
00013  ** included in the packaging of this file.  Alternatively you may (at
00014  ** your option) use any later version of the GNU General Public
00015  ** License if such license has been publicly approved by
00016  ** Klarälvdalens Datakonsult AB (or its successors, if any).
00017  ** 
00018  ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
00019  ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
00020  ** A PARTICULAR PURPOSE. Klarälvdalens Datakonsult AB reserves all rights
00021  ** not expressly granted herein.
00022  ** 
00023  ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00024  ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00025  **
00026  ** As a special exception, permission is given to link this program
00027  ** with any edition of Qt, and distribute the resulting executable,
00028  ** without including the source code for Qt in the source distribution.
00029  **
00030  **********************************************************************/
00031 
00032 
00033 #ifndef KDGANTTVIEWSUMMARYITEM_H
00034 #define KDGANTTVIEWSUMMARYITEM_H
00035 
00036 #include "KDGanttViewItem.h"
00037 
00038 class KDGanttViewSummaryItem : public KDGanttViewItem
00039 {
00040 public:
00041     KDGanttViewSummaryItem( KDGanttView* view,
00042                             const QString& lvtext = QString(),
00043                             const QString& name = QString() );
00044     KDGanttViewSummaryItem( KDGanttViewItem* parent,
00045                             const QString& lvtext = QString(),
00046                             const QString& name = QString() );
00047     KDGanttViewSummaryItem( KDGanttView* view, KDGanttViewItem* after,
00048                             const QString& lvtext = QString(),
00049                             const QString& name = QString() );
00050     KDGanttViewSummaryItem( KDGanttViewItem* parent, KDGanttViewItem* after,
00051                             const QString& lvtext = QString(),
00052                             const QString& name = QString() );
00053     virtual ~KDGanttViewSummaryItem();
00054 
00055     virtual bool moveConnector( Connector, QPoint p );
00056     virtual Connector getConnector( QPoint p );
00057     void setMiddleTime( const QDateTime& );
00058     QDateTime middleTime() const;
00059     void setActualEndTime( const QDateTime& end );
00060     QDateTime actualEndTime() const;
00061     void setStartTime( const QDateTime& start );
00062     void setEndTime( const QDateTime& end );
00063 private:
00064     virtual KDGanttViewItem::Connector getConnector( QPoint p, bool linkMode );
00065     virtual void showItem( bool show = true, int coordY = 0 );
00066     QDateTime* myActualEndTime,*myMiddleTime;
00067     virtual void initItem();
00068     void hideMe();
00069 
00070 
00071 };
00072 
00073 #endif

kdgantt1

Skip menu "kdgantt1"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal