Changeset 141 in tspsg-svn for trunk/src/globals.h


Ignore:
Timestamp:
Oct 3, 2010, 2:01:00 PM (14 years ago)
Author:
laleppa
Message:

+ Added support for Simulator from Nokia Qt SDK

  • Made some Maemo related tweaks
  • Removed ids for unsupported OSs from os.h (i.e., MSDOS, OS/2)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/globals.h

    r139 r141  
    4242#endif // NOSVG
    4343
    44 #if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN)
     44#if defined(Q_WS_WINCE_WM) || defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
    4545        //! This is defined on handheld devices (e.g., Windows Mobile, Symbian).
    4646        #define HANDHELD
     
    5959// TSPSolver
    6060#include "tspsolver.h"
    61 #ifdef Q_OS_WIN32
     61#ifdef Q_WS_WIN32
    6262        // Vista/7 Eyecandy
    6363        #include "qtwin.h"
    64 #endif // Q_OS_WIN32
     64#endif // Q_WS_WIN32
    6565
    6666// DEFINES
     
    122122inline bool hasUpdater()
    123123{
    124 #ifdef Q_OS_WIN32
     124#ifdef Q_WS_WIN32
    125125        return QFile::exists("updater/Update.exe");
    126 #else // Q_OS_WIN32
     126#else // Q_WS_WIN32
    127127        return false;
    128 #endif // Q_OS_WIN32
     128#endif // Q_WS_WIN32
    129129}
    130130
    131 #ifdef Q_OS_WIN32
     131#ifdef Q_WS_WIN32
    132132/*!
    133133 * \brief Enables or disables a mask for the \a widget.
     
    138138 */
    139139void toggleStyle(QWidget *widget, bool enable);
    140 #endif // Q_OS_WIN32
     140#endif // Q_WS_WIN32
    141141
    142142#ifndef DOXYGEN_EXCLUDE
Note: See TracChangeset for help on using the changeset viewer.