author | drw <drw> | 2004-02-24 00:01:04 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-24 00:01:04 (UTC) |
commit | 99bcf9b87929dfba62449f6e365eff561ed3fab9 (patch) (side-by-side diff) | |
tree | 26cda4ab533b907126a97056b5c96c3f9ab504df /core/apps/embeddedkonsole/konsole.cpp | |
parent | da044756096aef5819add4c0faf5f305b155648f (diff) | |
download | opie-99bcf9b87929dfba62449f6e365eff561ed3fab9.zip opie-99bcf9b87929dfba62449f6e365eff561ed3fab9.tar.gz opie-99bcf9b87929dfba62449f6e365eff561ed3fab9.tar.bz2 |
Embedded Konsole: libopie->libopie2
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index d10b66d..46c0203 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp @@ -21,12 +21,16 @@ /* -------------------------------------------------------------------------- */ // enhancements added by L.J. Potter <ljp@llornkcor.com> //#define QT_QWS_OPIE #include <stdlib.h> +#ifdef QT_QWS_OPIE +#include <opie2/ocolorpopupmenu.h> +#endif + #include <qpe/resource.h> #include <qdir.h> #include <qevent.h> #include <qdragobject.h> #include <qobjectlist.h> @@ -60,16 +64,12 @@ #include <assert.h> #include "konsole.h" #include "keytrans.h" #include "commandeditdialog.h" -#ifdef QT_QWS_OPIE -#include <opie/colorpopupmenu.h> -#endif - class EKNumTabBar : public QTabBar { public: EKNumTabBar(QWidget *parent = 0, const char *name = 0) : QTabBar(parent, name) {} @@ -1524,13 +1524,13 @@ void Konsole::colorMenuSelected(int iD) if(iD==-19) { // Custom qDebug("do custom"); if(fromMenu) { - OColorPopupMenu* penColorPopupMenu = new OColorPopupMenu(Qt::black, this, "foreground color"); + Opie::OColorPopupMenu* penColorPopupMenu = new Opie::OColorPopupMenu(Qt::black, this, "foreground color"); connect(penColorPopupMenu, SIGNAL(colorSelected(const QColor&)), this, SLOT(changeForegroundColor(const QColor&))); penColorPopupMenu->exec(); } if(!fromMenu) { @@ -1875,13 +1875,13 @@ void Konsole::changeForegroundColor(const QColor &color) qDebug("foreground "+color.name()); cfg.write(); qDebug("do other dialog"); #ifdef QT_QWS_OPIE - OColorPopupMenu* penColorPopupMenu2 = new OColorPopupMenu(Qt::black, this,"background color"); + Opie::OColorPopupMenu* penColorPopupMenu2 = new Opie::OColorPopupMenu(Qt::black, this,"background color"); connect(penColorPopupMenu2, SIGNAL(colorSelected(const QColor&)), this, SLOT(changeBackgroundColor(const QColor&))); penColorPopupMenu2->exec(); #endif } |