summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp20
1 files changed, 12 insertions, 8 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 275a9a8..eda3135 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -300,6 +300,7 @@ void Konsole::init(const char* _pgm, QStrList & _args)
300 colorMenu->insertItem(tr( "Custom")); 300 colorMenu->insertItem(tr( "Custom"));
301#endif 301#endif
302 302
303 configMenu->insertItem( tr("Font"), fontList );
303 configMenu->insertItem(tr( "Colors") ,colorMenu); 304 configMenu->insertItem(tr( "Colors") ,colorMenu);
304 305
305 connect( fontList, SIGNAL( activated(int) ), this, SLOT( fontChanged(int) )); 306 connect( fontList, SIGNAL( activated(int) ), this, SLOT( fontChanged(int) ));
@@ -307,7 +308,7 @@ void Konsole::init(const char* _pgm, QStrList & _args)
307 connect( colorMenu, SIGNAL( activated(int) ), this, SLOT( colorMenuIsSelected(int) )); 308 connect( colorMenu, SIGNAL( activated(int) ), this, SLOT( colorMenuIsSelected(int) ));
308 connect( scrollMenu, SIGNAL(activated(int)),this,SLOT(scrollMenuSelected(int))); 309 connect( scrollMenu, SIGNAL(activated(int)),this,SLOT(scrollMenuSelected(int)));
309 connect(editCommandListMenu,SIGNAL(activated(int)),this,SLOT(editCommandListMenuSelected(int))); 310 connect(editCommandListMenu,SIGNAL(activated(int)),this,SLOT(editCommandListMenuSelected(int)));
310 menuBar->insertItem( tr("Font"), fontList ); 311
311 menuBar->insertItem( tr("Options"), configMenu ); 312 menuBar->insertItem( tr("Options"), configMenu );
312 313
313 QPEToolBar *toolbar = new QPEToolBar( this ); 314 QPEToolBar *toolbar = new QPEToolBar( this );
@@ -666,9 +667,10 @@ void Konsole::colorMenuIsSelected(int iD) {
666/// ------------------------------- some new stuff by L.J. Potter 667/// ------------------------------- some new stuff by L.J. Potter
667void Konsole::colorMenuSelected(int iD) 668void Konsole::colorMenuSelected(int iD)
668{ // this is NOT pretty, elegant or anything else besides functional 669{ // this is NOT pretty, elegant or anything else besides functional
669// QString temp; 670// QString temp;
670// qDebug( temp.sprintf("colormenu %d", iD)); 671// qDebug( temp.sprintf("colormenu %d", iD));
671 TEWidget* te = getTe(); 672
673 TEWidget* te = getTe();
672 Config cfg("Konsole"); 674 Config cfg("Konsole");
673 cfg.setGroup("Colors"); 675 cfg.setGroup("Colors");
674// QColor foreground; 676// QColor foreground;
@@ -799,9 +801,10 @@ void Konsole::colorMenuSelected(int iD)
799 801
800void Konsole::configMenuSelected(int iD) 802void Konsole::configMenuSelected(int iD)
801{ 803{
802// QString temp; 804// QString temp;
803// qDebug( temp.sprintf("configmenu %d",iD)); 805// qDebug( temp.sprintf("configmenu %d",iD));
804 TEWidget* te = getTe(); 806
807 TEWidget* te = getTe();
805 Config cfg("Konsole"); 808 Config cfg("Konsole");
806 cfg.setGroup("Menubar"); 809 cfg.setGroup("Menubar");
807 int i,j; 810 int i,j;
@@ -871,7 +874,8 @@ void Konsole::setColor()
871 874
872void Konsole::scrollMenuSelected(int index) 875void Konsole::scrollMenuSelected(int index)
873{ 876{
874 qDebug( "scrollbar menu %d",index); 877// qDebug( "scrollbar menu %d",index);
878
875 TEWidget* te = getTe(); 879 TEWidget* te = getTe();
876 Config cfg("Konsole"); 880 Config cfg("Konsole");
877 cfg.setGroup("ScrollBar"); 881 cfg.setGroup("ScrollBar");