-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index cbea7bd..ff5c2f1 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -24,16 +24,17 @@ | |||
24 | 24 | ||
25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
26 | #include <sys/types.h> | 26 | #include <sys/types.h> |
27 | #include <pwd.h> | 27 | #include <pwd.h> |
28 | #include <unistd.h> | 28 | #include <unistd.h> |
29 | 29 | ||
30 | #ifdef QT_QWS_OPIE | 30 | #ifdef QT_QWS_OPIE |
31 | #include <opie2/ocolorpopupmenu.h> | 31 | #include <opie2/ocolorpopupmenu.h> |
32 | using namespace Opie; | ||
32 | #endif | 33 | #endif |
33 | 34 | ||
34 | #include <qpe/resource.h> | 35 | #include <qpe/resource.h> |
35 | 36 | ||
36 | #include <qmenubar.h> | 37 | #include <qmenubar.h> |
37 | #include <qtabbar.h> | 38 | #include <qtabbar.h> |
38 | #include <qpe/config.h> | 39 | #include <qpe/config.h> |
39 | #include <qfontdatabase.h> | 40 | #include <qfontdatabase.h> |
@@ -44,17 +45,16 @@ | |||
44 | #include <sys/wait.h> | 45 | #include <sys/wait.h> |
45 | #include <stdio.h> | 46 | #include <stdio.h> |
46 | #include <stdlib.h> | 47 | #include <stdlib.h> |
47 | #include <assert.h> | 48 | #include <assert.h> |
48 | 49 | ||
49 | #include "konsole.h" | 50 | #include "konsole.h" |
50 | #include "commandeditdialog.h" | 51 | #include "commandeditdialog.h" |
51 | 52 | ||
52 | using namespace Opie; | ||
53 | class EKNumTabBar : public QTabBar | 53 | class EKNumTabBar : public QTabBar |
54 | { | 54 | { |
55 | public: | 55 | public: |
56 | EKNumTabBar(QWidget *parent = 0, const char *name = 0) : | 56 | EKNumTabBar(QWidget *parent = 0, const char *name = 0) : |
57 | QTabBar(parent, name) | 57 | QTabBar(parent, name) |
58 | {} | 58 | {} |
59 | 59 | ||
60 | // QList<QTab> *getTabList() { return(tabList()); } | 60 | // QList<QTab> *getTabList() { return(tabList()); } |
@@ -508,18 +508,18 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
508 | menuToolBar = new QToolBar( this ); | 508 | menuToolBar = new QToolBar( this ); |
509 | menuToolBar->setHorizontalStretchable( TRUE ); | 509 | menuToolBar->setHorizontalStretchable( TRUE ); |
510 | 510 | ||
511 | QMenuBar *menuBar = new QMenuBar( menuToolBar ); | 511 | QMenuBar *menuBar = new QMenuBar( menuToolBar ); |
512 | 512 | ||
513 | setFont(cfont); | 513 | setFont(cfont); |
514 | 514 | ||
515 | configMenu = new QPopupMenu( this); | 515 | configMenu = new QPopupMenu( this); |
516 | colorMenu = new QPopupMenu( this); | 516 | colorMenu = new QPopupMenu( this); |
517 | scrollMenu = new QPopupMenu( this); | 517 | scrollMenu = new QPopupMenu( this); |
518 | editCommandListMenu = new QPopupMenu( this); | 518 | editCommandListMenu = new QPopupMenu( this); |
519 | 519 | ||
520 | configMenu->insertItem(tr("Command List"), editCommandListMenu); | 520 | configMenu->insertItem(tr("Command List"), editCommandListMenu); |
521 | 521 | ||
522 | bool listHidden; | 522 | bool listHidden; |
523 | cfg.setGroup("Menubar"); | 523 | cfg.setGroup("Menubar"); |
524 | if( cfg.readEntry("Hidden","FALSE") == "TRUE") | 524 | if( cfg.readEntry("Hidden","FALSE") == "TRUE") |
525 | { | 525 | { |