support return key for navigation (thanks to Luca Gugelmann for the patch!)

svn path=/trunk/KDE/kdebase/apps/; revision=641273
This commit is contained in:
Peter Penz 2007-03-10 18:42:19 +00:00
parent e41ebdc528
commit 1959f9c867
2 changed files with 4 additions and 0 deletions

View file

@ -60,6 +60,8 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
connect(this, SIGNAL(clicked(const QModelIndex&)),
controller, SLOT(triggerItem(const QModelIndex&)));
connect(this, SIGNAL(activated(const QModelIndex&)),
controller, SLOT(triggerItem(const QModelIndex&)));
connect(controller, SIGNAL(zoomIn()),
this, SLOT(zoomIn()));

View file

@ -42,6 +42,8 @@ DolphinIconsView::DolphinIconsView(QWidget* parent, DolphinController* controlle
connect(this, SIGNAL(clicked(const QModelIndex&)),
controller, SLOT(triggerItem(const QModelIndex&)));
connect(this, SIGNAL(activated(const QModelIndex&)),
controller, SLOT(triggerItem(const QModelIndex&)));
connect(controller, SIGNAL(showPreviewChanged(bool)),
this, SLOT(updateGridSize(bool)));
connect(controller, SIGNAL(zoomIn()),