summaryrefslogtreecommitdiffstats
path: root/kontact/src/iconsidepane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/src/iconsidepane.cpp')
-rw-r--r--kontact/src/iconsidepane.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp
index 2fef3e0b2..de16ee72d 100644
--- a/kontact/src/iconsidepane.cpp
+++ b/kontact/src/iconsidepane.cpp
@@ -251,7 +251,7 @@ void EntryItem::setPaintActive( bool paintActive )
}
Navigator::Navigator( IconSidePane *parent, const char *name )
- : KListBox( parent, name ), mSidePane( parent ),
+ : TDEListBox( parent, name ), mSidePane( parent ),
mShowIcons( true ), mShowText( true )
{
mMouseOn = 0;
@@ -259,7 +259,7 @@ Navigator::Navigator( IconSidePane *parent, const char *name )
mViewMode = sizeIntToEnum( Prefs::self()->sidePaneIconSize() );
mShowIcons = Prefs::self()->sidePaneShowIcons();
mShowText = Prefs::self()->sidePaneShowText();
- setSelectionMode( KListBox::Single );
+ setSelectionMode( TDEListBox::Single );
viewport()->setBackgroundMode( PaletteBackground );
setFrameStyle( TQFrame::NoFrame );
setHScrollBarMode( TQScrollView::AlwaysOff );
@@ -400,13 +400,13 @@ void Navigator::resizeEvent( TQResizeEvent *event )
void Navigator::enterEvent( TQEvent *event )
{
// work around TQt behaviour: onItem is not emmitted in enterEvent()
- KListBox::enterEvent( event );
+ TDEListBox::enterEvent( event );
emit onItem( itemAt( mapFromGlobal( TQCursor::pos() ) ) );
}
void Navigator::leaveEvent( TQEvent *event )
{
- KListBox::leaveEvent( event );
+ TDEListBox::leaveEvent( event );
slotMouseOn( 0 );
mMouseOn = 0;
}
@@ -443,7 +443,7 @@ IconViewMode Navigator::sizeIntToEnum(int size) const
void Navigator::slotShowRMBMenu( TQListBoxItem *, const TQPoint &pos )
{
- KPopupMenu menu;
+ TDEPopupMenu menu;
menu.insertTitle( i18n( "Icon Size" ) );
menu.insertItem( i18n( "Large" ), (int)LargeIcons );
menu.setItemEnabled( (int)LargeIcons, mShowIcons );