diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
commit | 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch) | |
tree | 4138783f7dad757fc5fbfaa8d66a355288d3125e /korganizer/kolistview.cpp | |
parent | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff) | |
download | tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'korganizer/kolistview.cpp')
-rw-r--r-- | korganizer/kolistview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 32ddc327a..24ffb2025 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -72,7 +72,7 @@ void KOListViewToolTip::maybeTip( const TQPoint &pos ) if ( i && KOPrefs::instance()->mEnableToolTips ) { /* Calculate the rectangle. */ - r = eventlist->tqitemRect( it ); + r = eventlist->itemRect( 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::tqcurrentDate() ); + mSelectedDates.append( TQDate::currentDate() ); } KOListView::~KOListView() @@ -261,7 +261,7 @@ int KOListView::maxDatesHint() return 0; } -int KOListView::tqcurrentDateCount() +int KOListView::currentDateCount() { return mSelectedDates.count(); } @@ -499,9 +499,9 @@ void KOListView::clear() mDateList.clear(); } -TQSize KOListView::tqsizeHint() const +TQSize KOListView::sizeHint() const { - const TQSize s = KOEventView::tqsizeHint(); - return TQSize( s.width() + tqstyle().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) + 1, + const TQSize s = KOEventView::sizeHint(); + return TQSize( s.width() + tqstyle().pixelMetric( TQStyle::PM_ScrollBarExtent ) + 1, s.height() ); } |