summaryrefslogtreecommitdiffstats
path: root/koshell/iconsidepane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'koshell/iconsidepane.cpp')
-rw-r--r--koshell/iconsidepane.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/koshell/iconsidepane.cpp b/koshell/iconsidepane.cpp
index 3c88f8b6..87fb5251 100644
--- a/koshell/iconsidepane.cpp
+++ b/koshell/iconsidepane.cpp
@@ -203,10 +203,10 @@ void EntryItem::setPaintActive( bool paintActive )
// ************************************************
-Navigator::Navigator(bool _selectable, KPopupMenu * menu, IconSidePane *_iconsidepane, TQWidget *parent, const char *name )
- : KListBox( parent, name ), mSidePane( _iconsidepane ), mPopupMenu( menu )
+Navigator::Navigator(bool _selectable, TDEPopupMenu * menu, IconSidePane *_iconsidepane, TQWidget *parent, const char *name )
+ : TDEListBox( parent, name ), mSidePane( _iconsidepane ), mPopupMenu( menu )
{
- setSelectionMode( KListBox::Single );
+ setSelectionMode( TDEListBox::Single );
viewport()->setBackgroundMode( PaletteBackground );
setFrameStyle( TQFrame::NoFrame );
setHScrollBarMode( TQScrollView::AlwaysOff );
@@ -246,7 +246,7 @@ bool Navigator::showIcons()
void Navigator::mouseReleaseEvent(TQMouseEvent *e)
{
- KListBox::mouseReleaseEvent(e);
+ TDEListBox::mouseReleaseEvent(e);
if ( e->button() != Qt::LeftButton || !mLeftMouseButtonPressed )
return;
if ( itemAt( e->pos() ) && executedItem == selectedItem() )
@@ -266,13 +266,13 @@ void Navigator::mousePressEvent(TQMouseEvent *e)
}
else
mLeftMouseButtonPressed = true;
- KListBox::mousePressEvent(e);
+ TDEListBox::mousePressEvent(e);
}
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() ) ) );
}
@@ -415,7 +415,7 @@ IconSidePane::IconSidePane(TQWidget *parent, const char *name )
mShowIcons = KoShellSettings::sidePaneShowIcons();
mShowText = KoShellSettings::sidePaneShowText();
mViewMode = sizeIntToEnum( KoShellSettings::sidePaneIconSize() );
- mPopupMenu = new KPopupMenu(0);
+ mPopupMenu = new TDEPopupMenu(0);
mPopupMenu->insertTitle( i18n( "Icon Size" ) );
mPopupMenu->insertItem( i18n( "Large" ), (int)LargeIcons );
mPopupMenu->setItemEnabled( (int)LargeIcons, mShowIcons );
@@ -580,12 +580,12 @@ IconViewMode IconSidePane::sizeIntToEnum(int size) const
}
}
-void IconSidePane::setActionCollection( KActionCollection *actionCollection )
+void IconSidePane::setActionCollection( TDEActionCollection *actionCollection )
{
mActionCollection = actionCollection;
}
-KActionCollection *IconSidePane::actionCollection() const
+TDEActionCollection *IconSidePane::actionCollection() const
{
return mActionCollection;
}