Commit c419ccac authored by Allen Winter's avatar Allen Winter
Browse files

_WIN32_WCE => Q_WS_WINCE

parent 57ac3213
......@@ -209,6 +209,7 @@ if(NOT WINCE)
views/timespentview/kotimespentview.cpp
views/todoview/kotododelegates.cpp
views/todoview/kotodomodel.cpp
views/todoview/kotodotreestatesaver.cpp
views/todoview/kotodoview.cpp
views/todoview/kotodoviewquickaddline.cpp
views/todoview/kotodoviewquicksearch.cpp
......
......@@ -434,7 +434,7 @@ void AlarmDialog::edit()
return;
}
#ifndef KDEPIM_MOBILE_UI
#if !defined(KDEPIM_MOBILE_UI)
openIncidenceEditorNG( selection.first()->mIncidence );
#else
openIncidenceEditorThroughKOrganizer( incidence );
......
......@@ -24,7 +24,7 @@
//krazy:excludeall=kdebug because we use the korgac(check) debug area in here
#include "koalarmclient.h"
#ifndef KORGAC_AKONADI_AGENT
#if !defined(KORGAC_AKONADI_AGENT)
#include "alarmdialog.h"
#include "alarmdockwindow.h"
#else
......@@ -66,7 +66,7 @@ KOAlarmClient::KOAlarmClient( QObject *parent )
Akonadi::DBusConnectionPool::threadConnection().registerObject( "/ac", this );
kDebug();
#ifndef KORGAC_AKONADI_AGENT
#if !defined(KORGAC_AKONADI_AGENT)
if ( dockerEnabled() ) {
mDocker = new AlarmDockWindow;
connect( this, SIGNAL(reminderCount(int)), mDocker, SLOT(slotUpdate(int)) );
......@@ -152,7 +152,7 @@ KOAlarmClient::KOAlarmClient( QObject *parent )
KOAlarmClient::~KOAlarmClient()
{
delete mCalendar;
#ifndef KORGAC_AKONADI_AGENT
#if !defined(KORGAC_AKONADI_AGENT)
delete mDocker;
delete mDialog;
#endif
......@@ -220,7 +220,7 @@ void KOAlarmClient::createReminder( CalendarSupport::Calendar *calendar,
return;
}
#if !defined(Q_WS_MAEMO_5) && !defined(_WIN32_WCE) && !defined(KORGAC_AKONADI_AGENT)
#if !defined(Q_WS_MAEMO_5) && !defined(Q_WS_WINCE) && !defined(KORGAC_AKONADI_AGENT)
if ( !mDialog ) {
mDialog = new AlarmDialog( calendar );
connect( this, SIGNAL(saveAllSignal()), mDialog, SLOT(slotSave()) );
......@@ -271,12 +271,12 @@ void KOAlarmClient::saveLastCheckTime()
void KOAlarmClient::quit()
{
kDebug();
#ifndef KORGAC_AKONADI_AGENT
#if !defined(KORGAC_AKONADI_AGENT)
kapp->quit();
#endif
}
#ifndef _WIN32_WCE
#if !defined(Q_WS_WINCE)
bool KOAlarmClient::commitData( QSessionManager & )
{
emit saveAllSignal();
......@@ -327,7 +327,7 @@ void KOAlarmClient::debugShowDialog()
void KOAlarmClient::hide()
{
#ifndef KORGAC_AKONADI_AGENT
#if !defined(KORGAC_AKONADI_AGENT)
delete mDocker;
mDocker = 0;
#endif
......@@ -335,7 +335,7 @@ void KOAlarmClient::hide()
void KOAlarmClient::show()
{
#ifndef KORGAC_AKONADI_AGENT
#if !defined(KORGAC_AKONADI_AGENT)
if ( !mDocker ) {
if ( dockerEnabled() ) {
mDocker = new AlarmDockWindow;
......
......@@ -24,7 +24,7 @@
#ifndef KORGAC_KOALARMCLIENT_H
#define KORGAC_KOALARMCLIENT_H
#ifndef _WIN32_WCE
#if !defined(Q_WS_WINCE)
#include <KSessionManager>
#endif
......@@ -43,7 +43,7 @@ namespace Akonadi {
class Item;
}
#ifndef _WIN32_WCE
#if !defined(Q_WS_WINCE)
class KOAlarmClient : public QObject, public KSessionManager
#else
class KOAlarmClient : public QObject
......@@ -54,7 +54,7 @@ class KOAlarmClient : public QObject
KOAlarmClient( QObject *parent = 0 );
~KOAlarmClient();
#ifndef _WIN32_WCE
#if !defined(Q_WS_WINCE)
bool commitData( QSessionManager & );
#endif
......
......@@ -89,7 +89,7 @@ int main( int argc, char **argv )
}
ReminderDaemonApp app;
#ifndef _WIN32_WCE
#if !defined(Q_WS_WINCE)
app.disableSessionManagement();
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment