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
@@ -20,45 +20,45 @@
/* */
/* -------------------------------------------------------------------------- */
// enhancements added by L.J. Potter <ljp@llornkcor.com>
// enhancements added by Phillip Kuhn
#include <stdlib.h>
#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>
#include <qpe/config.h>
#include <qfontdatabase.h>
#include <qfile.h>
#include <qspinbox.h>
#include <qlayout.h>
#include <sys/wait.h>
#include <stdio.h>
#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)
{}
// QList<QTab> *getTabList() { return(tabList()); }
void numberTabs()
{
// Yes, it really is this messy. QTabWidget needs functions
@@ -504,26 +504,26 @@ void Konsole::init(const char* _pgm, QStrList & _args)
connect(tab, SIGNAL(currentChanged(QWidget*)), this, SLOT(switchSession(QWidget*)));
// create terminal toolbar ////////////////////////////////////////////////
setToolBarsMovable( FALSE );
menuToolBar = new QToolBar( this );
menuToolBar->setHorizontalStretchable( TRUE );
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");
if( cfg.readEntry("Hidden","FALSE") == "TRUE")
{
ec_cmdlist = editCommandListMenu->insertItem( tr( "Show command list" ));
listHidden=TRUE;
}
else