Changeset 93 in tspsg-svn for trunk/src/settingsdialog.cpp


Ignore:
Timestamp:
Feb 23, 2010, 11:17:48 PM (14 years ago)
Author:
laleppa
Message:

+ Preliminary Symbian support.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        88*.vcproj
        99Makefile*
         10build
        1011debug
        1112release
  • trunk/src/settingsdialog.cpp

    r92 r93  
    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.