Changeset 89e5214692 in tspsg for src/defaults.h


Ignore:
Timestamp:
Sep 12, 2012, 6:50:04 PM (12 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
197f54a2b9
Parents:
f48433245d
Message:

Replaced all Q_WS_xxx with Q_OS_xxx ifdefs where possible.

This is needed for compatibility with Qt 5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/defaults.h

    rf48433245d r89e5214692  
    4242 * \brief Default for "Use native file dialog".
    4343 */
    44 #ifdef Q_WS_WINCE_WM
     44#ifdef Q_OS_WINCE_WM
    4545#   define DEF_USE_NATIVE_DIALOGS false
    4646#else
    4747#   define DEF_USE_NATIVE_DIALOGS true
    48 #endif // Q_WS_WINCE_WM
     48#endif // Q_OS_WINCE_WM
    4949//! Default for "Save main window state and position"
    5050#define DEF_SAVEPOS true
     
    5353 * \brief Default for "Use translucency effects"
    5454 */
    55 #ifdef Q_WS_WIN32
     55#ifdef Q_OS_WIN32
    5656#   define DEF_USE_TRANSLUCENCY true
    5757#else
     
    102102 * \brief Default font size
    103103 */
    104 #ifdef Q_WS_S60
     104#ifdef Q_OS_SYMBIAN
    105105#   define DEF_FONT_SIZE 8
    106106#else
    107107#   define DEF_FONT_SIZE 10
    108 #endif // Q_WS_S60
     108#endif // Q_OS_SYMBIAN
    109109//! Default solution text color
    110110#define DEF_TEXT_COLOR QPalette().color(QPalette::Text)
Note: See TracChangeset for help on using the changeset viewer.