From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koagendaitem.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'korganizer/koagendaitem.cpp') diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index de1f4ef87..21eea0e11 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -737,16 +737,16 @@ void KOAgendaItem::paintEvent( TQPaintEvent *ev ) if ( !mIncidence )return; TQRect visRect = visibleRect(); - // when scrolling horizontally in the side-by-side view, the repainted area is clipped + // when scrolling horizontally in the side-by-side view, the tqrepainted area is clipped // to the newly visible area, which is a problem since the content changes when visRect - // changes, so repaint the full item in that case + // changes, so tqrepaint the full item in that case if ( ev->rect() != visRect && visRect.isValid() && ev->rect().isValid() ) { - repaint( visRect ); + tqrepaint( visRect ); return; } TQPainter p( this ); - const int ft = 2; // frame thickness for layout, see paintFrame() + const int ft = 2; // frame thickness for tqlayout, see paintFrame() const int margin = 1 + ft; // frame + space between frame and content // General idea is to always show the icons (even in the all-day events). @@ -769,7 +769,7 @@ void KOAgendaItem::paintEvent( TQPaintEvent *ev ) if ( static_cast(mIncidence)->isOverdue() ) bgColor = KOPrefs::instance()->todoOverdueColor(); else if ( static_cast(mIncidence)->dtDue().date() == - TQDateTime::currentDateTime().date() ) + TQDateTime::tqcurrentDateTime().date() ) bgColor = KOPrefs::instance()->todoDueTodayColor(); } -- cgit v1.2.1