Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qandroidplatformdialoghelpers.cpp File Reference

(daf15a4aafdcd6978916bef2dae1fb2f2f5e62da)

#include "qandroidplatformdialoghelpers.h"
#include "androidjnimain.h"
#include <QTextDocument>
#include <private/qguiapplication_p.h>
#include <qpa/qplatformtheme.h>
Include dependency graph for qandroidplatformdialoghelpers.cpp:

Go to the source code of this file.

Namespaces

namespace  QtAndroidDialogHelpers

Macros

#define FIND_AND_CHECK_CLASS(CLASS_NAME)

Functions

static QString QtAndroidDialogHelpers::htmlText (QString text)
static void QtAndroidDialogHelpers::dialogResult (JNIEnv *, jobject, jlong handler, int buttonID)
bool QtAndroidDialogHelpers::registerNatives (QJniEnvironment &env)

Variables

static jclass QtAndroidDialogHelpers::g_messageDialogHelperClass = nullptr
static const JNINativeMethod QtAndroidDialogHelpers::methods []

Macro Definition Documentation

◆ FIND_AND_CHECK_CLASS

#define FIND_AND_CHECK_CLASS ( CLASS_NAME)
Value:
clazz = env->FindClass(CLASS_NAME); \
if (!clazz) { \
__android_log_print(ANDROID_LOG_FATAL, QtAndroid::qtTagText(), QtAndroid::classErrorMsgFmt(), CLASS_NAME); \
return false; \
}
const char * classErrorMsgFmt()
const char * qtTagText()

Definition at line 158 of file qandroidplatformdialoghelpers.cpp.