File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/cxx-qt-lib/src/gui Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ impl QGuiApplication {
244244 /// It should be noted this may not reflect the actual keys held on the input device at the time
245245 /// of calling but rather the modifiers as last reported in an event.
246246 /// If no keys are being held Qt::NoModifier is returned.
247- pub fn keyboard_modifiers ( ) -> KeyboardModifiers {
247+ pub fn keyboard_modifiers ( & self ) -> KeyboardModifiers {
248248 ffi:: qguiapplication_keyboard_modifiers ( )
249249 }
250250
@@ -255,7 +255,7 @@ impl QGuiApplication {
255255 /// It should be noted this may not reflect the actual buttons held on the input device at the
256256 /// time of calling but rather the mouse buttons as last reported in one of the above events.
257257 /// If no mouse buttons are being held Qt::NoButton is returned.
258- pub fn mouse_buttons ( ) -> MouseButtons {
258+ pub fn mouse_buttons ( & self ) -> MouseButtons {
259259 ffi:: qguiapplication_mouse_buttons ( )
260260 }
261261
@@ -268,7 +268,7 @@ impl QGuiApplication {
268268 /// cases, you should use keyboardModifiers(), which is faster and more accurate since it
269269 /// contains the state of the modifiers as they were when the currently processed event was
270270 /// received.
271- pub fn query_keyboard_modifiers ( ) -> KeyboardModifiers {
271+ pub fn query_keyboard_modifiers ( & self ) -> KeyboardModifiers {
272272 ffi:: qguiapplication_query_keyboard_modifiers ( )
273273 }
274274}
You can’t perform that action at this time.
0 commit comments