Changeset 6beb157497 in tspsg for src/settingsdialog.cpp


Ignore:
Timestamp:
Feb 23, 2010, 11:17:48 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:
b2bf8e3b6b
Parents:
11086c2def
Message:

+ Preliminary Symbian support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/settingsdialog.cpp

    r11086c2def r6beb157497  
    4242        buttonBox->button(QDialogButtonBox::Cancel)->setCursor(QCursor(Qt::PointingHandCursor));
    4343
    44 #ifdef Q_OS_WINCE
     44#if defined(Q_OS_WINCE) || defined(Q_OS_SYMBIAN)
    4545        // Layout helper elements
    4646QVBoxLayout *vbox1;
     
    5555        hbox1->addWidget(buttonHelp);
    5656        hbox1->addStretch();
    57         hbox1->addWidget(buttonBox);
    5857
    5958        // Central layout
     
    151150//      setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::MSWindowsFixedSizeDialogHint);
    152151        setWindowFlags(windowFlags() ^ Qt::WindowContextHelpButtonHint);
    153 #ifndef Q_OS_WINCE
     152#if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
    154153        // Setting initial text of dialog hint label to own status tip text.
    155154        labelHint->setText(labelHint->statusTip());
     
    164163                cbUseTranslucency->setChecked(settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool());
    165164#endif // Q_OS_WIN32
    166 #ifndef Q_OS_WINCE
     165#if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
    167166        cbSaveState->setChecked(settings->value("SavePos", DEF_SAVEPOS).toBool());
    168167#endif // Q_OS_WINCE
     
    223222void SettingsDialog::accept()
    224223{
    225 #ifndef Q_OS_WINCE
     224#if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
    226225        settings->setValue("SavePos", cbSaveState->isChecked());
    227226#endif // Q_OS_WINCE
     
    282281}
    283282
    284 #ifndef Q_OS_WINCE
     283#if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
    285284bool SettingsDialog::event(QEvent *ev)
    286285{
Note: See TracChangeset for help on using the changeset viewer.