From 21102a71ff9da746b9d46b706ea2f23cfca6eb6f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 17 Apr 2012 17:33:40 -0700 Subject: api: QGuiApplication::inputMethod should be static Pretty much all methods in QGuiApplication are static. Also adds documentation. Change-Id: I96808dd266922432b92fe3962292e4d5b6a8ab46 Reviewed-by: Pekka Vuorela --- src/gui/kernel/qguiapplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/kernel/qguiapplication.h') diff --git a/src/gui/kernel/qguiapplication.h b/src/gui/kernel/qguiapplication.h index 75a0f6cd4b..2a1ea3d9de 100644 --- a/src/gui/kernel/qguiapplication.h +++ b/src/gui/kernel/qguiapplication.h @@ -131,7 +131,7 @@ public: static bool desktopSettingsAware(); QT_DEPRECATED QInputPanel *inputPanel() const; - QInputMethod *inputMethod() const; + static QInputMethod *inputMethod(); static QPlatformNativeInterface *platformNativeInterface(); -- cgit v1.2.3