summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/khlistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /khotkeys/shared/khlistview.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'khotkeys/shared/khlistview.cpp')
-rw-r--r--khotkeys/shared/khlistview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khotkeys/shared/khlistview.cpp b/khotkeys/shared/khlistview.cpp
index 2afa9db17..ae348af33 100644
--- a/khotkeys/shared/khlistview.cpp
+++ b/khotkeys/shared/khlistview.cpp
@@ -22,7 +22,7 @@ namespace KHotKeys
{
KHListView::KHListView( TQWidget* parent_P, const char* name_P )
- : KListView( parent_P, name_P ), saved_current_item( NULL ),
+ : TDEListView( parent_P, name_P ), saved_current_item( NULL ),
in_clear( false ), ignore( false ), force_select( false )
{
connect( this, TQT_SIGNAL( selectionChanged( TQListViewItem* )),
@@ -72,7 +72,7 @@ void KHListView::slot_current_changed( TQListViewItem* item_P )
void KHListView::clear()
{
in_clear = true;
- KListView::clear();
+ TDEListView::clear();
in_clear = false;
slot_selection_changed( NULL );
}
@@ -82,7 +82,7 @@ void KHListView::insertItem( TQListViewItem* item_P )
bool set = false;
if( !in_clear )
set = childCount() == 0;
- KListView::insertItem( item_P );
+ TDEListView::insertItem( item_P );
if( set && force_select )
{
bool block = signalsBlocked();
@@ -96,7 +96,7 @@ void KHListView::insertItem( TQListViewItem* item_P )
void KHListView::clearSelection()
{
- KListView::clearSelection();
+ TDEListView::clearSelection();
slot_current_changed( currentItem());
}
@@ -113,7 +113,7 @@ void KHListView::contentsDropEvent( TQDropEvent* e )
{
bool save_ignore = ignore;
ignore = true;
- KListView::contentsDropEvent( e );
+ TDEListView::contentsDropEvent( e );
ignore = save_ignore;
}