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

kdgantt1

KDGanttViewEventItem.h

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