summaryrefslogtreecommitdiffstats
path: root/knode/headerview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /knode/headerview.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'knode/headerview.cpp')
-rw-r--r--knode/headerview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp
index 9995ba465..6bfea7042 100644
--- a/knode/headerview.cpp
+++ b/knode/headerview.cpp
@@ -33,7 +33,7 @@
KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
- KListView(parent,name),
+ TDEListView(parent,name),
mSortCol( -1 ),
mSortAsc( true ),
mSortByThreadChangeDate( false ),
@@ -70,7 +70,7 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
TQT_SLOT(slotSizeChanged(int, int, int)) );
// column selection RMB menu
- mPopup = new KPopupMenu( this );
+ mPopup = new TDEPopupMenu( this );
mPopup->insertTitle( i18n("View Columns") );
mPopup->setCheckable( true );
mPopup->insertItem( i18n("Line Count"), KPaintInfo::COL_SIZE );
@@ -213,7 +213,7 @@ void KNHeaderView::setSorting( int column, bool ascending )
emit sortingChanged( column );
}
- KListView::setSorting( column, ascending );
+ TDEListView::setSorting( column, ascending );
if ( currentItem() )
ensureItemVisible( currentItem() );
@@ -458,7 +458,7 @@ bool KNHeaderView::event( TQEvent *e )
if (e->type() == TQEvent::ApplicationPaletteChange)
return TQListView::event(e);
else
- return KListView::event(e);
+ return TDEListView::event(e);
}
void KNHeaderView::contentsMousePressEvent( TQMouseEvent *e )
@@ -470,7 +470,7 @@ void KNHeaderView::contentsMousePressEvent( TQMouseEvent *e )
TQPoint vp = contentsToViewport(e->pos());
TQListViewItem *i = itemAt(vp);
- KListView::contentsMousePressEvent( e );
+ TDEListView::contentsMousePressEvent( e );
if ( i ) {
int decoLeft = header()->sectionPos( 0 ) +
@@ -495,7 +495,7 @@ void KNHeaderView::contentsMouseDoubleClickEvent( TQMouseEvent *e )
return;
}
- KListView::contentsMouseDoubleClickEvent( e );
+ TDEListView::contentsMouseDoubleClickEvent( e );
}
@@ -517,7 +517,7 @@ void KNHeaderView::keyPressEvent(TQKeyEvent *e)
break;
default:
- KListView::keyPressEvent (e);
+ TDEListView::keyPressEvent (e);
}
}
@@ -555,7 +555,7 @@ bool KNHeaderView::eventFilter(TQObject *o, TQEvent *e)
return true;
}
- return KListView::eventFilter(o, e);
+ return TDEListView::eventFilter(o, e);
}