author | zecke <zecke> | 2004-04-07 23:57:11 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-07 23:57:11 (UTC) |
commit | c968f44205a5da7dc37029e701f527450692e39a (patch) (unidiff) | |
tree | 2739918a38d2b12c446c34b77ee9d74425fdf51c /noncore/graphics | |
parent | 10ec13c9068e7e4ca0acf75e5843ebd91e4e8566 (diff) | |
download | opie-c968f44205a5da7dc37029e701f527450692e39a.zip opie-c968f44205a5da7dc37029e701f527450692e39a.tar.gz opie-c968f44205a5da7dc37029e701f527450692e39a.tar.bz2 |
Enter folders on Return
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index c07a1e5..7e4164b 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp | |||
@@ -124,12 +124,14 @@ PIconView::PIconView( QWidget* wid, Opie::Core::OConfig* cfg ) | |||
124 | connect( m_views, SIGNAL(activated(int)), | 124 | connect( m_views, SIGNAL(activated(int)), |
125 | this, SLOT(slotViewChanged(int)) ); | 125 | this, SLOT(slotViewChanged(int)) ); |
126 | 126 | ||
127 | m_view= new QIconView( this ); | 127 | m_view= new QIconView( this ); |
128 | connect(m_view, SIGNAL(clicked(QIconViewItem*) ), | 128 | connect(m_view, SIGNAL(clicked(QIconViewItem*) ), |
129 | this, SLOT(slotClicked(QIconViewItem*)) ); | 129 | this, SLOT(slotClicked(QIconViewItem*)) ); |
130 | connect(m_view, SIGNAL(returnPressed(QIconViewItem*)), | ||
131 | this, SLOT(slotClicked(QIconViewItem*)) ); | ||
130 | 132 | ||
131 | m_view->setArrangement( QIconView::LeftToRight ); | 133 | m_view->setArrangement( QIconView::LeftToRight ); |
132 | m_view->setItemTextPos( QIconView::Right ); | 134 | m_view->setItemTextPos( QIconView::Right ); |
133 | 135 | ||
134 | int dw = QApplication::desktop()->width(); | 136 | int dw = QApplication::desktop()->width(); |
135 | int viewerWidth = dw-style().scrollBarExtent().width(); | 137 | int viewerWidth = dw-style().scrollBarExtent().width(); |
@@ -408,13 +410,12 @@ void PIconView::slotBeam() { | |||
408 | return; | 410 | return; |
409 | 411 | ||
410 | Ir* ir = new Ir( this ); | 412 | Ir* ir = new Ir( this ); |
411 | connect( ir, SIGNAL(done(Ir*)), | 413 | connect( ir, SIGNAL(done(Ir*)), |
412 | this, SLOT(slotBeamDone(Ir*))); | 414 | this, SLOT(slotBeamDone(Ir*))); |
413 | ir->send(pa, tr( "Image" ) ); | 415 | ir->send(pa, tr( "Image" ) ); |
414 | |||
415 | } | 416 | } |
416 | 417 | ||
417 | /* | 418 | /* |
418 | * BEAM done clean up | 419 | * BEAM done clean up |
419 | */ | 420 | */ |
420 | void PIconView::slotBeamDone( Ir* ir) { | 421 | void PIconView::slotBeamDone( Ir* ir) { |