Changeset 89e5214692 in tspsg for src/settingsdialog.cpp


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/settingsdialog.cpp

    rf48433245d r89e5214692  
    128128    bgWhite->layout()->setMargin(0);
    129129
    130 #ifdef Q_WS_S60
     130#ifdef Q_OS_SYMBIAN
    131131    // On Symbian buttons are moved to a native bar so Help button is
    132132    // left alone. This causes it to be more to the middle instead of
     
    217217#endif // HANDHELD
    218218
    219 #ifdef Q_WS_WINCE_WM
     219#ifdef Q_OS_WINCE_WM
    220220    // We need to react to SIP show/hide and resize the window appropriately
    221221    connect(QApplication::desktop(), SIGNAL(workAreaResized(int)), SLOT(desktopResized(int)));
    222 #endif // Q_WS_WINCE_WM
     222#endif // Q_OS_WINCE_WM
    223223    connect(spinRandMin, SIGNAL(valueChanged(int)), SLOT(spinRandMinValueChanged(int)));
    224224    connect(buttonFont, SIGNAL(clicked()), SLOT(buttonFontClicked()));
     
    325325#else
    326326    adjustSize();
    327 #endif // Q_WS_WINCE_WM
     327#endif // Q_OS_WINCE_WM
    328328}
    329329
     
    512512}
    513513
    514 #ifdef Q_WS_WINCE_WM
     514#ifdef Q_OS_WINCE_WM
    515515void SettingsDialog::desktopResized(int screen)
    516516{
     
    544544    QWidget::showEvent(ev);
    545545}
    546 #endif // Q_WS_WINCE_WM
     546#endif // Q_OS_WINCE_WM
    547547
    548548void SettingsDialog::spinRandMinValueChanged(int val) {
Note: See TracChangeset for help on using the changeset viewer.