diff options
Diffstat (limited to 'certmanager/lib/ui/keylistview.cpp')
-rw-r--r-- | certmanager/lib/ui/keylistview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/certmanager/lib/ui/keylistview.cpp b/certmanager/lib/ui/keylistview.cpp index 100334f20..8e81b9768 100644 --- a/certmanager/lib/ui/keylistview.cpp +++ b/certmanager/lib/ui/keylistview.cpp @@ -129,14 +129,14 @@ static const struct { TQT_SLOT(slotEmitReturnPressed(TQListViewItem*)) }, { TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotEmitSelectionChanged(TQListViewItem*)) }, - { TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*,const TQPoint&)), - TQT_SLOT(slotEmitContextMenu(KListView*, TQListViewItem*,const TQPoint&)) }, + { TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*,const TQPoint&)), + TQT_SLOT(slotEmitContextMenu(TDEListView*, TQListViewItem*,const TQPoint&)) }, }; static const int numSignalReplacements = sizeof signalReplacements / sizeof *signalReplacements; Kleo::KeyListView::KeyListView( const ColumnStrategy * columnStrategy, const DisplayStrategy * displayStrategy, TQWidget * parent, const char * name, WFlags f ) - : KListView( parent, name ), + : TDEListView( parent, name ), mColumnStrategy( columnStrategy ), mDisplayStrategy ( displayStrategy ), mHierarchical( false ) @@ -187,7 +187,7 @@ Kleo::KeyListView::~KeyListView() { void Kleo::KeyListView::insertItem( TQListViewItem * qlvi ) { //kdDebug() << "Kleo::KeyListView::insertItem( " << qlvi << " )" << endl; - KListView::insertItem( qlvi ); + TDEListView::insertItem( qlvi ); if ( KeyListViewItem * item = lvi_cast<KeyListViewItem>( qlvi ) ) registerItem( item ); } @@ -196,7 +196,7 @@ void Kleo::KeyListView::takeItem( TQListViewItem * qlvi ) { //kdDebug() << "Kleo::KeyListView::takeItem( " << qlvi << " )" << endl; if ( KeyListViewItem * item = lvi_cast<KeyListViewItem>( qlvi ) ) deregisterItem( item ); - KListView::takeItem( qlvi ); + TDEListView::takeItem( qlvi ); } @@ -244,7 +244,7 @@ void Kleo::KeyListView::slotUpdateTimeout() { void Kleo::KeyListView::clear() { d->updateTimer->stop(); d->keyBuffer.clear(); - KListView::clear(); + TDEListView::clear(); } void Kleo::KeyListView::registerItem( KeyListViewItem * item ) { @@ -359,7 +359,7 @@ void Kleo::KeyListView::slotEmitSelectionChanged( TQListViewItem * item ) { emit selectionChanged( static_cast<KeyListViewItem*>( item ) ); } -void Kleo::KeyListView::slotEmitContextMenu( KListView*, TQListViewItem * item, const TQPoint & p ) { +void Kleo::KeyListView::slotEmitContextMenu( TDEListView*, TQListViewItem * item, const TQPoint & p ) { if ( !item || lvi_cast<KeyListViewItem>( item ) ) emit contextMenu( static_cast<KeyListViewItem*>( item ), p ); } @@ -833,11 +833,11 @@ Kleo::KeyListViewItem * Kleo::KeyListViewItem::nextSibling() const { } Kleo::KeyListViewItem * Kleo::KeyListView::firstChild() const { - return static_cast<Kleo::KeyListViewItem*>( KListView::firstChild() ); + return static_cast<Kleo::KeyListViewItem*>( TDEListView::firstChild() ); } Kleo::KeyListViewItem * Kleo::KeyListView::selectedItem() const { - return static_cast<Kleo::KeyListViewItem*>( KListView::selectedItem() ); + return static_cast<Kleo::KeyListViewItem*>( TDEListView::selectedItem() ); } static void selectedItems( TQPtrList<Kleo::KeyListViewItem> & result, TQListViewItem * start ) { |