summaryrefslogtreecommitdiffstats
path: root/korganizer/kolistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kolistview.cpp')
-rw-r--r--korganizer/kolistview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp
index 973550d65..ce75b6543 100644
--- a/korganizer/kolistview.cpp
+++ b/korganizer/kolistview.cpp
@@ -135,9 +135,9 @@ bool KOListView::ListItemVisitor::visit( Event *e )
TQString endDateTime;
mItem->setText( StartDateTime_Column, IncidenceFormatter::dateTimeToString( e->dtStart(), e->doesFloat() ) );
- mItem->setSortKey( StartDateTime_Column, e->dtStart().toString( TQt::ISODate ) );
+ mItem->setSortKey( StartDateTime_Column, e->dtStart().toString( Qt::ISODate ) );
mItem->setText( EndDateTime_Column, IncidenceFormatter::dateTimeToString( e->dtEnd(), e->doesFloat() ) );
- mItem->setSortKey( EndDateTime_Column, e->dtEnd().toString( TQt::ISODate ) );
+ mItem->setSortKey( EndDateTime_Column, e->dtEnd().toString( Qt::ISODate ) );
mItem->setText( Categories_Column, e->categoriesStr() );
return true;
@@ -167,14 +167,14 @@ bool KOListView::ListItemVisitor::visit( Todo *t )
if ( t->hasStartDate() ) {
mItem->setText( StartDateTime_Column, IncidenceFormatter::dateTimeToString( t->dtStart(), t->doesFloat() ) );
- mItem->setSortKey( StartDateTime_Column, t->dtStart().toString( TQt::ISODate ) );
+ mItem->setSortKey( StartDateTime_Column, t->dtStart().toString( Qt::ISODate ) );
} else {
mItem->setText( StartDateTime_Column, "---" );
}
if ( t->hasDueDate() ) {
mItem->setText( EndDateTime_Column, IncidenceFormatter::dateTimeToString( t->dtDue(), t->doesFloat() ) );
- mItem->setSortKey( EndDateTime_Column, t->dtDue().toString( TQt::ISODate ) );
+ mItem->setSortKey( EndDateTime_Column, t->dtDue().toString( Qt::ISODate ) );
} else {
mItem->setText( EndDateTime_Column, "---" );
}
@@ -190,7 +190,7 @@ bool KOListView::ListItemVisitor::visit( Journal *j )
// Just use the first line
mItem->setText( Summary_Column, j->description().section( "\n", 0, 0 ) );
mItem->setText( StartDateTime_Column, IncidenceFormatter::dateTimeToString( j->dtStart(), j->doesFloat() ) );
- mItem->setSortKey( StartDateTime_Column, j->dtStart().toString( TQt::ISODate ) );
+ mItem->setSortKey( StartDateTime_Column, j->dtStart().toString( Qt::ISODate ) );
return true;
}
@@ -232,15 +232,15 @@ KOListView::KOListView( Calendar *calendar,
TQT_SLOT(hideDates()));
*/
- TQObject::connect( mListView, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
+ connect( mListView, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
TQT_SLOT( defaultItemAction( TQListViewItem * ) ) );
- TQObject::connect( mListView, TQT_SIGNAL( returnPressed( TQListViewItem * ) ),
+ connect( mListView, TQT_SIGNAL( returnPressed( TQListViewItem * ) ),
TQT_SLOT( defaultItemAction( TQListViewItem * ) ) );
- TQObject::connect( mListView, TQT_SIGNAL( rightButtonClicked ( TQListViewItem *,
+ connect( mListView, TQT_SIGNAL( rightButtonClicked ( TQListViewItem *,
const TQPoint &,
int ) ),
TQT_SLOT( popupMenu( TQListViewItem *, const TQPoint &, int ) ) );
- TQObject::connect( mListView, TQT_SIGNAL( selectionChanged() ),
+ connect( mListView, TQT_SIGNAL( selectionChanged() ),
TQT_SLOT( processSelectionChange() ) );
// setMinimumSize(100,100);
@@ -502,6 +502,6 @@ void KOListView::clear()
TQSize KOListView::tqsizeHint() const
{
const TQSize s = KOEventView::tqsizeHint();
- return TQSize( s.width() + style().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) + 1,
+ return TQSize( s.width() + tqstyle().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) + 1,
s.height() );
}