summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-04-07 07:31:34 (UTC)
committer llornkcor <llornkcor>2004-04-07 07:31:34 (UTC)
commit8934c3230dfab60e1ecef0a3c0cafa1e67be5c75 (patch) (side-by-side diff)
tree0c0d48441c8fb6c6416a564f4a1472fd7e061503
parent843ac5d18f43e7f79ea6144c93bde0bd0e3e2f40 (diff)
downloadopie-8934c3230dfab60e1ecef0a3c0cafa1e67be5c75.zip
opie-8934c3230dfab60e1ecef0a3c0cafa1e67be5c75.tar.gz
opie-8934c3230dfab60e1ecef0a3c0cafa1e67be5c75.tar.bz2
move namespace into opie ifdef
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp6
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
@@ -26,12 +26,13 @@
#include <sys/types.h>
#include <pwd.h>
#include <unistd.h>
#ifdef QT_QWS_OPIE
#include <opie2/ocolorpopupmenu.h>
+using namespace Opie;
#endif
#include <qpe/resource.h>
#include <qmenubar.h>
#include <qtabbar.h>
@@ -46,13 +47,12 @@
#include <stdlib.h>
#include <assert.h>
#include "konsole.h"
#include "commandeditdialog.h"
-using namespace Opie;
class EKNumTabBar : public QTabBar
{
public:
EKNumTabBar(QWidget *parent = 0, const char *name = 0) :
QTabBar(parent, name)
{}
@@ -510,14 +510,14 @@ void Konsole::init(const char* _pgm, QStrList & _args)
QMenuBar *menuBar = new QMenuBar( menuToolBar );
setFont(cfont);
configMenu = new QPopupMenu( this);
- colorMenu = new QPopupMenu( this);
- scrollMenu = new QPopupMenu( this);
+ colorMenu = new QPopupMenu( this);
+ scrollMenu = new QPopupMenu( this);
editCommandListMenu = new QPopupMenu( this);
configMenu->insertItem(tr("Command List"), editCommandListMenu);
bool listHidden;
cfg.setGroup("Menubar");