From 270a76fbf653df353476ddf17835d532ceb6b6c2 Mon Sep 17 00:00:00 2001 From: drw Date: Tue, 02 Mar 2004 15:45:42 +0000 Subject: ShowImg: libopie -> libopie2 --- (limited to 'noncore') diff --git a/noncore/multimedia/showimg/config.in b/noncore/multimedia/showimg/config.in index 36e8cf0..808c841 100644 --- a/noncore/multimedia/showimg/config.in +++ b/noncore/multimedia/showimg/config.in @@ -1,4 +1,4 @@ config SHOWIMG boolean "opie-showimg (image viewer)" default "y" - depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE + depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBOPIE2UI diff --git a/noncore/multimedia/showimg/main.cpp b/noncore/multimedia/showimg/main.cpp index 1c864e9..b61cffb 100644 --- a/noncore/multimedia/showimg/main.cpp +++ b/noncore/multimedia/showimg/main.cpp @@ -21,6 +21,6 @@ #include "showimg.h" -#include +#include -OPIE_EXPORT_APP( OApplicationFactory ) \ No newline at end of file +OPIE_EXPORT_APP( OApplicationFactory ) diff --git a/noncore/multimedia/showimg/opie-showimg.control b/noncore/multimedia/showimg/opie-showimg.control index 1e54383..2fbfabc 100644 --- a/noncore/multimedia/showimg/opie-showimg.control +++ b/noncore/multimedia/showimg/opie-showimg.control @@ -4,7 +4,7 @@ Priority: optional Section: opie/applications Maintainer: Opie Team Architecture: arm -Depends: task-opie-minimal +Depends: task-opie-minimal,libopiecore2, libopieui2 Description: Image Viewer The image viewer for the Opie environment. Supports all graphics formats are compiled into Qt/Embedded (eg. PNG). diff --git a/noncore/multimedia/showimg/showimg.cpp b/noncore/multimedia/showimg/showimg.cpp index 82eac33..6c0c4db 100644 --- a/noncore/multimedia/showimg/showimg.cpp +++ b/noncore/multimedia/showimg/showimg.cpp @@ -27,18 +27,19 @@ #include "settingsdialog.h" -#include +#include #include #include #include -#include -#include #include + #include #include +#include #include +#include ControlsDialog::ControlsDialog(const QString &caption,QImage image,int *brightness,QWidget *parent) @@ -198,7 +199,7 @@ void ImageWidget::mouseReleaseEvent(QMouseEvent *) //=========================================================================== -ImageViewer::ImageViewer( QWidget *parent, const char *name, int wFlags ) +ImageViewer::ImageViewer( QWidget *parent, const char *name, int /*wFlags*/ ) : QMainWindow( parent, name, WResizeNoErase ), filename( 0 ), bFromDocView( FALSE ) { setCaption( tr("Image Viewer") ); @@ -522,7 +523,7 @@ void ImageViewer::openFile() { image << "image/*"; types.insert("Images", image); - QString str = OFileDialog::getOpenFileName( 1,QPEApplication::documentDir(),"", types, 0 ); + QString str = Opie::OFileDialog::getOpenFileName( 1,QPEApplication::documentDir(),"", types, 0 ); DocLnk link(str); // if ( link.isValid() ) openFile(link); diff --git a/noncore/multimedia/showimg/showimg.pro b/noncore/multimedia/showimg/showimg.pro index 76b020e..94fb162 100644 --- a/noncore/multimedia/showimg/showimg.pro +++ b/noncore/multimedia/showimg/showimg.pro @@ -4,6 +4,6 @@ SOURCES = main.cpp showimg.cpp ImageFileSelector.cpp settingsdialog.cpp settin TARGET = showimg INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lqpe -lopie +LIBS += -lqpe -lopiecore2 -l opieui2 include ( $(OPIEDIR)/include.pro ) -- cgit v0.9.0.2