From 99bcf9b87929dfba62449f6e365eff561ed3fab9 Mon Sep 17 00:00:00 2001 From: drw Date: Tue, 24 Feb 2004 00:01:04 +0000 Subject: Embedded Konsole: libopie->libopie2 --- diff --git a/core/apps/embeddedkonsole/config.in b/core/apps/embeddedkonsole/config.in index 3a421d6..a3a1844 100644 --- a/core/apps/embeddedkonsole/config.in +++ b/core/apps/embeddedkonsole/config.in @@ -1,4 +1,4 @@ config EMBEDDEDKONSOLE boolean "opie-embeddedkonsole (konsole from KDE adapted for Qt/Embedded)" default "y" - depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE + depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBQTAUX diff --git a/core/apps/embeddedkonsole/embeddedkonsole.pro b/core/apps/embeddedkonsole/embeddedkonsole.pro index 427c013..2743488 100755 --- a/core/apps/embeddedkonsole/embeddedkonsole.pro +++ b/core/apps/embeddedkonsole/embeddedkonsole.pro @@ -27,12 +27,12 @@ SOURCES = TEScreen.cpp \ commandeditwidget.cpp \ playlistselection.cpp \ MyPty.cpp \ - main.cpp + main.cpp INTERFACES = commandeditdialogbase.ui smallcommandeditdialogbase.ui TARGET = embeddedkonsole INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lqpe -lopie +LIBS += -lqpe -lopiecore2 -lqtaux2 TMAKE_CXXFLAGS += -DQT_QWS_OPIE -DHAVE_OPENPTY include ( $(OPIEDIR)/include.pro ) 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 @@ -24,6 +24,10 @@ #include +#ifdef QT_QWS_OPIE +#include +#endif + #include #include @@ -63,10 +67,6 @@ #include "keytrans.h" #include "commandeditdialog.h" -#ifdef QT_QWS_OPIE -#include -#endif - class EKNumTabBar : public QTabBar { public: @@ -1527,7 +1527,7 @@ void Konsole::colorMenuSelected(int iD) 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(); @@ -1878,7 +1878,7 @@ void Konsole::changeForegroundColor(const QColor &color) 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(); diff --git a/core/apps/embeddedkonsole/main.cpp b/core/apps/embeddedkonsole/main.cpp index a6a079c..fe30b7e 100644 --- a/core/apps/embeddedkonsole/main.cpp +++ b/core/apps/embeddedkonsole/main.cpp @@ -21,17 +21,7 @@ #include "konsole.h" -#include -#include - -#include - -#include -#include -#include - -#include -#include +#include /* --| main |------------------------------------------------------ */ diff --git a/core/apps/embeddedkonsole/opie-embeddedkonsole.control b/core/apps/embeddedkonsole/opie-embeddedkonsole.control index 5807cd1..a338e19 100644 --- a/core/apps/embeddedkonsole/opie-embeddedkonsole.control +++ b/core/apps/embeddedkonsole/opie-embeddedkonsole.control @@ -4,7 +4,7 @@ Priority: optional Section: opie/applications Maintainer: L.J. Potter Architecture: arm -Depends: task-opie-minimal, libopie1, opie-keytabs +Depends: task-opie-minimal, libopiecore2, libqtaux2, opie-keytabs Description: KDE's konsole (shell terminal) Ported to the Opie environment. Version: $QPE_VERSION$EXTRAVERSION -- cgit v0.9.0.2