author | zautrix <zautrix> | 2005-08-22 16:30:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-22 16:30:29 (UTC) |
commit | e011ace92e07174effca53b7dde20b9a5b695af0 (patch) (side-by-side diff) | |
tree | 6e4e4da6b64aae85158ebbf9637f5980aef18448 /korganizer/koagendaitem.h | |
parent | 18780cc2342097b343ee2fa50c649f425ddaed34 (diff) | |
download | kdepimpi-e011ace92e07174effca53b7dde20b9a5b695af0.zip kdepimpi-e011ace92e07174effca53b7dde20b9a5b695af0.tar.gz kdepimpi-e011ace92e07174effca53b7dde20b9a5b695af0.tar.bz2 |
fix
-rw-r--r-- | korganizer/koagendaitem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koagendaitem.h b/korganizer/koagendaitem.h index 37d89a6..27ee720 100644 --- a/korganizer/koagendaitem.h +++ b/korganizer/koagendaitem.h @@ -88,49 +88,49 @@ class KOAgendaItem : public QWidget /** Update the date of this item's occurence (not in the event) */ void setItemDate(QDate qd); void setText ( const QString & text ) { mDisplayedText = text; } QString text () { return mDisplayedText; } virtual bool eventFilter ( QObject *, QEvent * ); static QToolTipGroup *toolTipGroup(); QPtrList<KOAgendaItem> conflictItems(); void setConflictItems(QPtrList<KOAgendaItem>); void addConflictItem(KOAgendaItem *ci); void paintMe( bool, QPainter* painter = 0 ); void repaintMe(); static QPixmap * paintPix(); static QPixmap * paintPixAllday(); void updateItem(); void computeText(); void recreateIncidence(); bool checkLayout(); void initColor (); bool isAllDay() { return mAllDay; } - int resizeMe( int grid, int wid, int hei, bool invalidHei = false ); + int resizeMe( int grid, int wid, int hei, bool invalidWidth = false ); public slots: bool updateIcons( QPainter *, bool ); void select(bool=true); void repaintItem(); protected: void dragEnterEvent(QDragEnterEvent *e); void dropEvent(QDropEvent *e); void paintEvent ( QPaintEvent * ); void resizeEvent ( QResizeEvent *ev ); private: KOAgendaItemWhatsThis* mKOAgendaItemWhatsThis; bool mAllDay; bool mWhiteText; 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; |