author | drw <drw> | 2004-02-22 16:43:28 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-22 16:43:28 (UTC) |
commit | a607c211c7ad47f1083fa820da5632a1d2110e44 (patch) (side-by-side diff) | |
tree | 364b2e0cd0e80d409ad4462e00c5b510eb75744a /noncore/settings | |
parent | 58c4c8a50f2a30f5736ee53fdd46c3bf6bc4f8c4 (diff) | |
download | opie-a607c211c7ad47f1083fa820da5632a1d2110e44.zip opie-a607c211c7ad47f1083fa820da5632a1d2110e44.tar.gz opie-a607c211c7ad47f1083fa820da5632a1d2110e44.tar.bz2 |
System Time: libopie->libopie2
-rw-r--r-- | noncore/settings/netsystemtime/config.in | 2 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/main.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.cpp | 3 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.h | 7 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/netsystemtime.pro | 2 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/opie-systemtime.control | 2 |
6 files changed, 9 insertions, 11 deletions
diff --git a/noncore/settings/netsystemtime/config.in b/noncore/settings/netsystemtime/config.in index ea90f65..37ac303 100644 --- a/noncore/settings/netsystemtime/config.in +++ b/noncore/settings/netsystemtime/config.in @@ -1,4 +1,4 @@ config NETSYSTEMTIME boolean "opie-systemtime (clock setup tool with NTP ability)" default "y" - depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE + depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBOPIE2UI diff --git a/noncore/settings/netsystemtime/main.cpp b/noncore/settings/netsystemtime/main.cpp index da98eee..4a2d17c 100644 --- a/noncore/settings/netsystemtime/main.cpp +++ b/noncore/settings/netsystemtime/main.cpp @@ -25,11 +25,9 @@ Boston, MA 02111-1307, USA. */ #include "mainwindow.h" -#include <qpe/qpeapplication.h> -#include <opie/oapplicationfactory.h> - +#include <opie2/oapplicationfactory.h> OPIE_EXPORT_APP( OApplicationFactory<MainWindow> ) diff --git a/noncore/settings/netsystemtime/mainwindow.cpp b/noncore/settings/netsystemtime/mainwindow.cpp index 66e1ca3..7df41d4 100644 --- a/noncore/settings/netsystemtime/mainwindow.cpp +++ b/noncore/settings/netsystemtime/mainwindow.cpp @@ -30,15 +30,12 @@ #include "timetabwidget.h" #include "formattabwidget.h" #include "settingstabwidget.h" #include "ntptabwidget.h" #include "predicttabwidget.h" -#include <opie/oprocess.h> -#include <opie/otabwidget.h> - #include <qpe/config.h> #include <qpe/datebookdb.h> #include <qpe/qpeapplication.h> #include <qpe/qpedialog.h> #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) diff --git a/noncore/settings/netsystemtime/mainwindow.h b/noncore/settings/netsystemtime/mainwindow.h index 1cdbc1a..d4a9713 100644 --- a/noncore/settings/netsystemtime/mainwindow.h +++ b/noncore/settings/netsystemtime/mainwindow.h @@ -28,20 +28,23 @@ #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <qdialog.h> +#include <opie2/oprocess.h> +#include <opie2/otabwidget.h> + class TimeTabWidget; class FormatTabWidget; class SettingsTabWidget; class NTPTabWidget; class PredictTabWidget; -class OProcess; -class OTabWidget; +using Opie::OTabWidget; + class QDateTime; class QSocket; class QTimer; class MainWindow : public QDialog { diff --git a/noncore/settings/netsystemtime/netsystemtime.pro b/noncore/settings/netsystemtime/netsystemtime.pro index 56f7f6c..70ef67d 100644 --- a/noncore/settings/netsystemtime/netsystemtime.pro +++ b/noncore/settings/netsystemtime/netsystemtime.pro @@ -11,11 +11,11 @@ SOURCES = main.cpp \ formattabwidget.cpp \ settingstabwidget.cpp \ predicttabwidget.cpp \ ntptabwidget.cpp INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lqpe -lopie +LIBS += -lqpe -lopiecore2 -lopieui2 TARGET = systemtime include ( $(OPIEDIR)/include.pro ) diff --git a/noncore/settings/netsystemtime/opie-systemtime.control b/noncore/settings/netsystemtime/opie-systemtime.control index 1ebc1da..58afc31 100644 --- a/noncore/settings/netsystemtime/opie-systemtime.control +++ b/noncore/settings/netsystemtime/opie-systemtime.control @@ -2,11 +2,11 @@ Package: opie-systemtime Files: plugins/application/libsystemtime.so* bin/systemtime apps/Settings/netsystemtime.desktop etc/ntpservers pics/netsystemtime Priority: optional Section: opie/settings Provides: opie-netsystemtime Maintainer: Patrick S. Vogt <tille@handhelds.org>, Dan Williams <drw@handhelds.org> Architecture: arm -Depends: task-opie-minimal, ntpdate, libopie1 +Depends: task-opie-minimal, ntpdate, libopiecore2, libopieui2 Description: System time This utility allows the system time to be set manually or synced with a timerserver via Internet. Version: $QPE_VERSION$EXTRAVERSION |