aboutsummaryrefslogtreecommitdiffstats
path: root/examples/androidextras/notification/notificationclient.cpp
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2013-10-08 17:42:41 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-10 15:40:04 +0200
commitca82c060451d38f266fc17305855c57e7c8c0f51 (patch)
treee04ff3f8ec28e1910cb39a7fa858782ffa4de263 /examples/androidextras/notification/notificationclient.cpp
parent8bee6b9dcbd01e122a65ae555c8f06d592ec3423 (diff)
Rename QJNIXxx classes to QAndroidJniXxx.
The old classes where not following the usual convention for acronyms in class names. Change-Id: I2fad72483c51ca95a2703d914d6a678c5f7cde98 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'examples/androidextras/notification/notificationclient.cpp')
-rw-r--r--examples/androidextras/notification/notificationclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/androidextras/notification/notificationclient.cpp b/examples/androidextras/notification/notificationclient.cpp
index f48c401..81f80b8 100644
--- a/examples/androidextras/notification/notificationclient.cpp
+++ b/examples/androidextras/notification/notificationclient.cpp
@@ -41,7 +41,7 @@
#include "notificationclient.h"
-#include <QtAndroidExtras/QJNIObject>
+#include <QtAndroidExtras/QAndroidJniObject>
NotificationClient::NotificationClient(QObject *parent)
: QObject(parent)
@@ -65,8 +65,8 @@ QString NotificationClient::notification() const
void NotificationClient::updateAndroidNotification()
{
- QJNIObject javaNotification = QJNIObject::fromString(m_notification);
- QJNIObject::callStaticMethod<void>("org/qtproject/example/notification/NotificationClient",
+ QAndroidJniObject javaNotification = QAndroidJniObject::fromString(m_notification);
+ QAndroidJniObject::callStaticMethod<void>("org/qtproject/example/notification/NotificationClient",
"notify",
"(Ljava/lang/String;)V",
javaNotification.object<jstring>());