Changeset 150 in tspsg-svn for trunk/src/settingsdialog.cpp
- Timestamp:
- Dec 21, 2010, 2:28:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/settingsdialog.cpp
r149 r150 142 142 QVBoxLayout *vbox; // Layout helper 143 143 144 #if def Q_WS_WIN32144 #ifndef HANDHELD 145 145 if (QtWin::isCompositionEnabled()) { 146 146 cbUseTranslucency = new QCheckBox(bgWhite); … … 152 152 cbUseTranslucency->setCursor(QCursor(Qt::PointingHandCursor)); 153 153 } 154 #endif // Q_WS_WIN32154 #endif // HANDHELD 155 155 156 156 cbSaveState = new QCheckBox(bgWhite); … … 198 198 box = static_cast<QBoxLayout *>(tabGeneral->layout()); 199 199 box->insertWidget(box->indexOf(cbUseNativeDialogs) + 1, cbSaveState); 200 #if def Q_WS_WIN32200 #ifndef HANDHELD 201 201 if (QtWin::isCompositionEnabled()) 202 202 box->insertWidget(box->indexOf(cbUseNativeDialogs) + 1, cbUseTranslucency); 203 #endif // Q_WS_WIN32203 #endif // HANDHELD 204 204 205 205 // Inserting label for hints to the bottom part (with grey bg) … … 234 234 cbSaveLastUsed->setChecked(settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool()); 235 235 cbUseNativeDialogs->setChecked(settings->value("UseNativeDialogs", DEF_USE_NATIVE_DIALOGS).toBool()); 236 #if def Q_WS_WIN32236 #ifndef HANDHELD 237 237 if (QtWin::isCompositionEnabled()) 238 238 cbUseTranslucency->setChecked(settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool()); 239 #endif // Q_WS_WIN32239 #endif // HANDHELD 240 240 #ifndef HANDHELD 241 241 cbSaveState->setChecked(settings->value("SavePos", DEF_SAVEPOS).toBool()); … … 353 353 settings->setValue("SaveLastUsed", cbSaveLastUsed->isChecked()); 354 354 settings->setValue("UseNativeDialogs", cbUseNativeDialogs->isChecked()); 355 #if def Q_WS_WIN32355 #ifndef HANDHELD 356 356 if (QtWin::isCompositionEnabled()) { 357 357 bool old = settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool(); … … 362 362 settings->setValue("UseTranslucency", cbUseTranslucency->isChecked()); 363 363 } 364 #endif // Q_WS_WIN32365 #ifndef HANDHELD366 364 settings->setValue("SavePos", cbSaveState->isChecked()); 367 365 #endif // HANDHELD
Note: See TracChangeset
for help on using the changeset viewer.