summaryrefslogtreecommitdiff
authorschurig <schurig>2003-06-03 16:57:51 (UTC)
committer schurig <schurig>2003-06-03 16:57:51 (UTC)
commitff50fe9a8f3321fc383672ff87e76dc31ac46b42 (patch) (side-by-side diff)
tree6d52bae77d9ae7d70c1b6ccceff29cc068b806ea
parent2f3a3a4d6e6a6ad3e7d504fff090393b78151661 (diff)
downloadopie-ff50fe9a8f3321fc383672ff87e76dc31ac46b42.zip
opie-ff50fe9a8f3321fc383672ff87e76dc31ac46b42.tar.gz
opie-ff50fe9a8f3321fc383672ff87e76dc31ac46b42.tar.bz2
initial ramses hardware adaption
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/desktop.cpp2
-rw-r--r--core/launcher/main.cpp2
-rw-r--r--core/launcher/taskbar.cpp4
-rw-r--r--library/power.cpp2
-rw-r--r--library/qpeapplication.cpp10
-rw-r--r--library/storage.cpp2
6 files changed, 11 insertions, 11 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp
index 6def126..067a167 100644
--- a/core/launcher/desktop.cpp
+++ b/core/launcher/desktop.cpp
@@ -42,7 +42,7 @@
#include <qpe/network.h>
#include <qpe/global.h>
-#if defined( QT_QWS_SL5XXX ) || defined( QT_QWS_IPAQ )
+#if defined( QT_QWS_SL5XXX ) || defined( QT_QWS_IPAQ ) || defined(QT_QWS_RAMSES)
#include <qpe/custom.h>
#endif
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index 20a1ecd..69a7fea 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -25,7 +25,7 @@
#include <qpe/qpeapplication.h>
#include <qpe/network.h>
#include <qpe/config.h>
-#if defined( QT_QWS_SL5XXX ) || defined( QT_QWS_IPAQ )
+#if defined( QT_QWS_SL5XXX ) || defined( QT_QWS_IPAQ ) || defined (QT_QWS_RAMSES)
#include <qpe/custom.h>
#endif
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp
index feeba79..e8a81c3 100644
--- a/core/launcher/taskbar.cpp
+++ b/core/launcher/taskbar.cpp
@@ -33,7 +33,7 @@
#include <qpe/qcopenvelope_qws.h>
#include <qpe/global.h>
-#if defined( QT_QWS_SL5XXX ) || defined( QT_QWS_IPAQ )
+#if defined( QT_QWS_SL5XXX ) || defined( QT_QWS_IPAQ ) || defined( QT_QWS_RAMSES)
#include <qpe/custom.h>
#endif
@@ -55,7 +55,7 @@ using namespace Opie;
static Global::Command builtins[] = {
-#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX)
+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_RAMSES)
{ "calibrate", TaskBar::calibrate, 1, 0 },
#endif
#if !defined(QT_QWS_CASSIOPEIA)
diff --git a/library/power.cpp b/library/power.cpp
index 5310b47..e7e5b24 100644
--- a/library/power.cpp
+++ b/library/power.cpp
@@ -20,7 +20,7 @@
#include "power.h"
-#ifdef QT_QWS_SL5XXX
+#if defined(QT_QWS_SL5XXX) || defined(QT_QWS_RAMSES)
#include "custom.h"
#endif
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 22d222a..4bc08b3 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -152,11 +152,11 @@ public:
// Addendum: Only Sharp currently has models with high resolution but (physically) small displays,
// so this is only useful if QT_QWS_SHARP is defined. E.g. SIMpad has 800x600 but has
// a (physically) large enough display to use the small icons
- #ifdef QT_QWS_SHARP
+#ifdef QT_QWS_SHARP
if ( QPEApplication::desktop() ->width() >= 600 && ( mw->inherits("QMainWindow") || mw->isA("QMainWindow") ) ) {
( ( QMainWindow* ) mw )->setUsesBigPixmaps( true );
}
- #endif
+#endif
if ( mw->layout() && mw->inherits("QDialog") ) {
QPEApplication::showDialog((QDialog*)mw, nomaximize);
@@ -527,13 +527,13 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
AppLnk::setSmallIconSize( 10 );
AppLnk::setBigIconSize( 28 );
}
- #ifdef QT_QWS_SHARP
+#ifdef QT_QWS_SHARP
else if ( dw > 600 ) {
setFont( QFont( "vera", 16 ) );
AppLnk::setSmallIconSize( 24 );
AppLnk::setBigIconSize( 48 );
}
- #endif
+#endif
else if ( dw > 200 ) {
setFont( QFont( "vera", 10 ) );
AppLnk::setSmallIconSize( 14 );
@@ -1759,7 +1759,7 @@ void QPEApplication::hideOrQuit()
}
-#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX)
+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_RAMSES)
// The libraries with the skiff package (and possibly others) have
// completely useless implementations of builtin new and delete that
diff --git a/library/storage.cpp b/library/storage.cpp
index 12f9df9..4e07ec6 100644
--- a/library/storage.cpp
+++ b/library/storage.cpp
@@ -21,7 +21,7 @@
**********************************************************************/
#include <qpe/storage.h>
-#ifdef QT_QWS_SL5XXX
+#if defined(QT_QWS_SL5XXX)
#include <qpe/custom.h>
#endif