Changeset View
Changeset View
Standalone View
Standalone View
kstyle/breezestyle.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 668 Lines • ▼ Show 20 Line(s) | 639 | { | |||
---|---|---|---|---|---|
669 | return false; | 669 | return false; | ||
670 | } | 670 | } | ||
671 | 671 | | |||
672 | case SH_ComboBox_ListMouseTracking: return true; | 672 | case SH_ComboBox_ListMouseTracking: return true; | ||
673 | case SH_MenuBar_MouseTracking: return true; | 673 | case SH_MenuBar_MouseTracking: return true; | ||
674 | case SH_Menu_MouseTracking: return true; | 674 | case SH_Menu_MouseTracking: return true; | ||
675 | case SH_Menu_SubMenuPopupDelay: return 150; | 675 | case SH_Menu_SubMenuPopupDelay: return 150; | ||
676 | case SH_Menu_SloppySubMenus: return true; | 676 | case SH_Menu_SloppySubMenus: return true; | ||
677 | case SH_Menu_Scrollable: return StyleConfigData::overflowingMenusMode() == StyleConfigData::OM_SCROLL; | ||||
677 | 678 | | |||
cfeck: if (cond) {
return true;
} else {
return false;
}
⇒
return… | |||||
678 | #if QT_VERSION >= 0x050000 | 679 | #if QT_VERSION >= 0x050000 | ||
679 | // TODO Qt6: drop deprecated SH_Widget_Animate | 680 | // TODO Qt6: drop deprecated SH_Widget_Animate | ||
680 | case SH_Widget_Animate: return StyleConfigData::animationsEnabled(); | 681 | case SH_Widget_Animate: return StyleConfigData::animationsEnabled(); | ||
681 | case SH_Menu_SupportsSections: return true; | 682 | case SH_Menu_SupportsSections: return true; | ||
682 | #endif | 683 | #endif | ||
683 | #if QT_VERSION >= 0x050A00 | 684 | #if QT_VERSION >= 0x050A00 | ||
684 | case SH_Widget_Animation_Duration: return StyleConfigData::animationsEnabled() ? StyleConfigData::animationsDuration() : 0; | 685 | case SH_Widget_Animation_Duration: return StyleConfigData::animationsEnabled() ? StyleConfigData::animationsDuration() : 0; | ||
685 | #endif | 686 | #endif | ||
▲ Show 20 Lines • Show All 6571 Lines • Show Last 20 Lines |
⇒
⇒