author | llornkcor <llornkcor> | 2004-04-07 07:56:05 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-07 07:56:05 (UTC) |
commit | 00dda4de55885bf3942fe3d4b6cd552ee6f020bf (patch) (unidiff) | |
tree | 476f0e48eb5cef00b97c0602a846918d90974320 | |
parent | a1221f718bb1e9bcb6318dbf3314b9a35891caac (diff) | |
download | opie-00dda4de55885bf3942fe3d4b6cd552ee6f020bf.zip opie-00dda4de55885bf3942fe3d4b6cd552ee6f020bf.tar.gz opie-00dda4de55885bf3942fe3d4b6cd552ee6f020bf.tar.bz2 |
re-add enter,space,tab,up,down icons, as convience for non keyboarded devices
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index ff5c2f1..8207f23 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -612,30 +612,27 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
612 | connect( a, SIGNAL( activated() ), this, SLOT( toggleFullScreen() ) ); | 612 | connect( a, SIGNAL( activated() ), this, SLOT( toggleFullScreen() ) ); |
613 | a->addTo( toolBar ); | 613 | a->addTo( toolBar ); |
614 | 614 | ||
615 | a = new QAction( tr("Zoom"), Resource::loadPixmap( "zoom" ), QString::null, 0, this, 0 ); | 615 | a = new QAction( tr("Zoom"), Resource::loadPixmap( "zoom" ), QString::null, 0, this, 0 ); |
616 | connect( a, SIGNAL( activated() ), this, SLOT( cycleZoom() ) ); | 616 | connect( a, SIGNAL( activated() ), this, SLOT( cycleZoom() ) ); |
617 | a->addTo( toolBar ); | 617 | a->addTo( toolBar ); |
618 | 618 | ||
619 | 619 | ||
620 | /* | ||
621 | a = new QAction( tr("Enter"), Resource::loadPixmap( "konsole/enter" ), QString::null, 0, this, 0 ); | 620 | a = new QAction( tr("Enter"), Resource::loadPixmap( "konsole/enter" ), QString::null, 0, this, 0 ); |
622 | connect( a, SIGNAL( activated() ), this, SLOT( hitEnter() ) ); a->addTo( toolBar ); | 621 | connect( a, SIGNAL( activated() ), this, SLOT( hitEnter() ) ); a->addTo( toolBar ); |
623 | a = new QAction( tr("Space"), Resource::loadPixmap( "konsole/space" ), QString::null, 0, this, 0 ); | 622 | a = new QAction( tr("Space"), Resource::loadPixmap( "konsole/space" ), QString::null, 0, this, 0 ); |
624 | connect( a, SIGNAL( activated() ), this, SLOT( hitSpace() ) ); a->addTo( toolBar ); | 623 | connect( a, SIGNAL( activated() ), this, SLOT( hitSpace() ) ); a->addTo( toolBar ); |
625 | a = new QAction( tr("Tab"), Resource::loadPixmap( "konsole/tab" ), QString::null, 0, this, 0 ); | 624 | a = new QAction( tr("Tab"), Resource::loadPixmap( "konsole/tab" ), QString::null, 0, this, 0 ); |
626 | connect( a, SIGNAL( activated() ), this, SLOT( hitTab() ) ); a->addTo( toolBar ); | 625 | connect( a, SIGNAL( activated() ), this, SLOT( hitTab() ) ); a->addTo( toolBar ); |
627 | */ | ||
628 | /* | ||
629 | a = new QAction( tr("Up"), Resource::loadPixmap( "konsole/up" ), QString::null, 0, this, 0 ); | 626 | a = new QAction( tr("Up"), Resource::loadPixmap( "konsole/up" ), QString::null, 0, this, 0 ); |
630 | connect( a, SIGNAL( activated() ), this, SLOT( hitUp() ) ); a->addTo( toolBar ); | 627 | connect( a, SIGNAL( activated() ), this, SLOT( hitUp() ) ); a->addTo( toolBar ); |
631 | a = new QAction( tr("Down"), Resource::loadPixmap( "konsole/down" ), QString::null, 0, this, 0 ); | 628 | a = new QAction( tr("Down"), Resource::loadPixmap( "konsole/down" ), QString::null, 0, this, 0 ); |
632 | connect( a, SIGNAL( activated() ), this, SLOT( hitDown() ) ); a->addTo( toolBar ); | 629 | connect( a, SIGNAL( activated() ), this, SLOT( hitDown() ) ); a->addTo( toolBar ); |
633 | */ | 630 | |
634 | a = new QAction( tr("Paste"), Resource::loadPixmap( "paste" ), QString::null, 0, this, 0 ); | 631 | a = new QAction( tr("Paste"), Resource::loadPixmap( "paste" ), QString::null, 0, this, 0 ); |
635 | connect( a, SIGNAL( activated() ), this, SLOT( hitPaste() ) ); | 632 | connect( a, SIGNAL( activated() ), this, SLOT( hitPaste() ) ); |
636 | a->addTo( toolBar ); | 633 | a->addTo( toolBar ); |
637 | 634 | ||
638 | secondToolBar = new QToolBar( this ); | 635 | secondToolBar = new QToolBar( this ); |
639 | secondToolBar->setHorizontalStretchable( TRUE ); | 636 | secondToolBar->setHorizontalStretchable( TRUE ); |
640 | 637 | ||
641 | commonCombo = new QComboBox( secondToolBar ); | 638 | commonCombo = new QComboBox( secondToolBar ); |