From 22108a3617e8b79acaddea61c1f7f6a0a5117306 Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 17 Nov 2002 02:32:39 +0000 Subject: - another QT_QWS_EBX -> QT_QWS_SHARP - since OZ is going to use opieatd/opiealarm, we can ditch the "custom atd" support --- diff --git a/library/alarmserver.cpp b/library/alarmserver.cpp index 7e6e515..5e4dd18 100644 --- a/library/alarmserver.cpp +++ b/library/alarmserver.cpp @@ -156,16 +156,7 @@ static bool triggerAtd( bool writeHWClock = FALSE ) { QFile trigger(QString(atdir) + "trigger"); if ( trigger.open(IO_WriteOnly|IO_Raw) ) { - - const char* data = -#ifdef QT_QWS_SHARP - //custom atd only writes HW Clock if we write a 'W' - ( writeHWClock ) ? "W\n" : -#endif - data = "\n"; - int len = strlen(data); - int total_written = trigger.writeBlock(data,len); - if ( total_written != len ) { + if ( trigger.writeBlock("\n",2) != 2 ) { QMessageBox::critical( 0, QObject::tr( "Out of Space" ), QObject::tr( "Unable to schedule alarm.\nFree some memory and try again." ) ); trigger.close(); diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 65fac84..efa65bc 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -1637,7 +1637,7 @@ void QPEApplication::hideOrQuit() quit(); } -#if defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX) +#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SHARP) // The libraries with the skiff package (and possibly others) have // completely useless implementations of builtin new and delete that -- cgit v0.9.0.2