diff options
Diffstat (limited to 'korganizer/kolistview.cpp')
-rw-r--r-- | korganizer/kolistview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index b714041cf..32ddc327a 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -25,7 +25,7 @@ */ #include <tqlistview.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpopupmenu.h> #include <tqcursor.h> #include <tqstyle.h> @@ -72,7 +72,7 @@ void KOListViewToolTip::maybeTip( const TQPoint &pos ) if ( i && KOPrefs::instance()->mEnableToolTips ) { /* Calculate the rectangle. */ - r = eventlist->itemRect( it ); + r = eventlist->tqitemRect( it ); /* Show the tip */ TQString tipText( IncidenceFormatter::toolTipStr( mCalendar, i->data() ) ); if ( !tipText.isEmpty() ) { @@ -248,7 +248,7 @@ KOListView::KOListView( Calendar *calendar, new KOListViewToolTip( mListView->viewport(), calendar, mListView ); - mSelectedDates.append( TQDate::currentDate() ); + mSelectedDates.append( TQDate::tqcurrentDate() ); } KOListView::~KOListView() @@ -261,7 +261,7 @@ int KOListView::maxDatesHint() return 0; } -int KOListView::currentDateCount() +int KOListView::tqcurrentDateCount() { return mSelectedDates.count(); } @@ -299,7 +299,7 @@ void KOListView::showDates( bool show ) mListView->setColumnWidth( 1, oldColWidth1 ); mListView->setColumnWidth( 3, oldColWidth3 ); } - mListView->repaint(); + mListView->tqrepaint(); } void KOListView::showDates() @@ -499,9 +499,9 @@ void KOListView::clear() mDateList.clear(); } -TQSize KOListView::sizeHint() const +TQSize KOListView::tqsizeHint() const { - const TQSize s = KOEventView::sizeHint(); - return TQSize( s.width() + tqstyle().pixelMetric( TQStyle::PM_ScrollBarExtent ) + 1, + const TQSize s = KOEventView::tqsizeHint(); + return TQSize( s.width() + tqstyle().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) + 1, s.height() ); } |