summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaitem.h
Side-by-side diff
Diffstat (limited to 'korganizer/koagendaitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaitem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koagendaitem.h b/korganizer/koagendaitem.h
index b4dba79..53658c0 100644
--- a/korganizer/koagendaitem.h
+++ b/korganizer/koagendaitem.h
@@ -18,24 +18,25 @@
*/
#ifndef KOAGENDAITEM_H
#define KOAGENDAITEM_H
#include <qframe.h>
#include <qlabel.h>
#include <qpixmap.h>
#include <qdatetime.h>
#include <qpalette.h>
#include <libkcal/incidence.h>
+class KOAgendaItemWhatsThis;
class QToolTipGroup;
class QDragEnterEvent;
class QDropEvent;
using namespace KCal;
/*
The KOAgendaItem has to make sure that it receives all mouse events, which are
to be used for dragging and resizing. That means it has to be installed as
eventfiler for its children, if it has children, and it has to pass mouse
events from the cildren to itself. See eventFilter().
*/
@@ -110,24 +111,25 @@ class KOAgendaItem : public QWidget
bool checkLayout();
public slots:
bool updateIcons( QPainter *, bool );
void select(bool=true);
protected:
void dragEnterEvent(QDragEnterEvent *e);
void dropEvent(QDropEvent *e);
void paintEvent ( QPaintEvent * );
void resizeEvent ( QResizeEvent *ev );
private:
+ KOAgendaItemWhatsThis* mKOAgendaItemWhatsThis;
bool mAllDay;
int mCellX;
int mCellXWidth;
int mCellYTop,mCellYBottom;
int mSubCell; // subcell number of this item
int mSubCells; // Total number of subcells in cell of this item
int xPaintCoord;
int yPaintCoord;
int wPaintCoord;
int hPaintCoord;
// Variables to remember start position
int mStartCellX;