Changeset 97e90f9be6 in tspsg for src/globals.h


Ignore:
Timestamp:
Oct 3, 2010, 2:01:00 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
88a59e4d65
Parents:
0007f69c46
git-author:
Oleksii Serdiuk <contacts@…> (10/03/10 14:01:00)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
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
  • src/globals.h

    r0007f69c46 r97e90f9be6  
    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.