transmission/macosx/QuickLookPlugin
Dzmitry Neviadomski b8c01a581e
[macos] Replace Deprecated constants. (#2038)
* Replace Deprecated constants pt.1

- `NSOnState` -> `NSControlStateValueOn`
- `NSOffState` -> `NSControlStateValueOff`
- `MSMixedState` -> `NSControlStateValueMixed`

* Replace Deprecated constants pt.2

- `NS(\w+)AlertStyle` -> `NSAlertStyle$1`

* Replace Deprecated constants pt.3

- `NSFileHandlingPanel(\w+)Button` -> `NSModalResponse$1`

* Replace Deprecated constants pt.4

- `NSMouse(Entered|Exited)Mask` -> `NSEventMaskMouse$1`
- `NS(Left|Right)Mouse(Down|Up|Dragged)Mask` -> `NSEventMask$1Mouse$2`
- `NSMouse(Entered|Exited)` -> `NSEventTypeMouse$1`
- `NS(Left|Right)Mouse(Up|Down)` -> `NSEventType$1Mouse$2`

* Replace Deprecated constants pt.5

- `NSComposite(\w+)` -> `NSCompositingOperation$1`

* Replace Deprecated constants pt.6

- `NSAlternateKeyMask` -> `NSEventModifierFlagOption`
- `NSCommandKeyMask` -> `NSEventModifierFlagCommand`

* Replace Deprecated constants pt.7

- `NS(\w+)TextAlignment` -> `NSTextAlignment$1`
- `NSBackgroundStyleDark` -> `NSBackgroundStyleEmphasized`

* Replace Deprecated constants pt.8

- `NSTexturedRoundedBezelStyle` -> `NSBezelStyleTexturedRounded`
- `NSBorderlessWindowMask` -> `NSWindowStyleMaskBorderless`
- `NS(OK|Cancel)Button` -> `NSModalResponse$1`
2021-10-31 10:18:27 -05:00
..
da.lproj Sync existing translations with Transifex 2020-05-14 19:16:15 +03:00
de.lproj Downsync Mac QuickLook plugin translations from Transifex as well 2017-01-28 15:02:40 +03:00
en.lproj
es.lproj
fr.lproj Sync existing translations with Transifex 2020-05-02 13:25:56 +03:00
it.lproj
nl.lproj Sync existing translations with Transifex 2019-03-06 03:12:51 +03:00
pt.lproj
pt_PT.lproj
ru.lproj Downsync Mac QuickLook plugin translations from Transifex as well 2017-01-28 15:02:40 +03:00
tr.lproj
CMakeLists.txt Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
GeneratePreviewForURL.mm [macos] Replace Deprecated constants. (#2038) 2021-10-31 10:18:27 -05:00
GenerateThumbnailForURL.mm Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
Info.plist.in Bump copyright to 2020 (some more places) (#1206) 2020-05-02 12:26:42 -05:00
QuickLookPlugin-Info.plist Bump copyright to 2020 (some more places) (#1206) 2020-05-02 12:26:42 -05:00
QuickLookPlugin-Prefix.pch
main.cc Port macOS client to C++ (#1830) 2021-09-24 07:56:57 -05:00
style.css Sonarcloud warnings 4 (#1499) 2020-11-02 09:16:12 -06:00