@NoOffset @Properties(inherit=Qt5Core.class) public class QCoreApplication extends QObject
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
ApplicationFlags
enum QCoreApplication::
|
Constructor and Description |
---|
QCoreApplication(int[] argc,
byte[] argv) |
QCoreApplication(IntBuffer argc,
ByteBuffer argv) |
QCoreApplication(IntPointer argc,
BytePointer argv) |
QCoreApplication(IntPointer argc,
PointerPointer argv) |
QCoreApplication(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
_notify(QObject arg0,
QEvent arg1) |
static void |
addLibraryPath(QString arg0) |
static QString |
applicationDirPath() |
static QString |
applicationFilePath() |
static QString |
applicationName() |
static long |
applicationPid() |
static QString |
applicationVersion() |
static boolean |
closingDown() |
static QAbstractEventDispatcher |
eventDispatcher() |
static int |
exec() |
static void |
exit() |
static void |
exit(int retcode) |
static boolean |
hasPendingEvents()
Deprecated.
|
static QCoreApplication |
instance() |
static boolean |
isQuitLockEnabled() |
static boolean |
isSetuidAllowed() |
static QString |
organizationDomain() |
static QString |
organizationName() |
static void |
postEvent(QObject receiver,
QEvent event) |
static void |
postEvent(QObject receiver,
QEvent event,
int priority) |
static void |
processEvents() |
static void |
quit() |
static void |
removeLibraryPath(QString arg0) |
static void |
removePostedEvents(QObject receiver) |
static void |
removePostedEvents(QObject receiver,
int eventType) |
static boolean |
sendEvent(QObject receiver,
QEvent event) |
static void |
sendPostedEvents() |
static void |
sendPostedEvents(QObject receiver,
int event_type) |
static void |
setApplicationName(QString application) |
static void |
setApplicationVersion(QString version) |
static void |
setAttribute(Qt5Core.ApplicationAttribute attribute) |
static void |
setAttribute(Qt5Core.ApplicationAttribute attribute,
boolean on) |
static void |
setEventDispatcher(QAbstractEventDispatcher eventDispatcher) |
static void |
setOrganizationDomain(QString orgDomain) |
static void |
setOrganizationName(QString orgName) |
static void |
setQuitLockEnabled(boolean enabled) |
static void |
setSetuidAllowed(boolean allow) |
static boolean |
startingUp() |
static boolean |
testAttribute(Qt5Core.ApplicationAttribute attribute) |
static QString |
translate(BytePointer context,
BytePointer key) |
static QString |
translate(BytePointer context,
BytePointer key,
BytePointer disambiguation,
int n) |
static QString |
translate(String context,
String key) |
static QString |
translate(String context,
String key,
String disambiguation,
int n) |
blockSignals, deleteLater, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, dumpObjectInfo, dumpObjectTree, event, eventFilter, inherits, inherits, installEventFilter, isWidgetType, isWindowType, killTimer, objectName, parent, position, registerUserData, removeEventFilter, setObjectName, setParent, setProperty, setProperty, signalsBlocked, startTimer, startTimer, startTimer, startTimer, tr, tr, tr, tr
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int ApplicationFlags
public QCoreApplication(Pointer p)
Pointer.Pointer(Pointer)
.public QCoreApplication(@ByRef IntPointer argc, @Cast(value="char**") PointerPointer argv)
public QCoreApplication(@ByRef IntPointer argc, @Cast(value="char**") @ByPtrPtr BytePointer argv)
public QCoreApplication(@ByRef IntBuffer argc, @Cast(value="char**") @ByPtrPtr ByteBuffer argv)
public static void setAttribute(Qt5Core.ApplicationAttribute attribute, @Cast(value="bool") boolean on)
public static void setAttribute(Qt5Core.ApplicationAttribute attribute)
@Cast(value="bool") public static boolean testAttribute(Qt5Core.ApplicationAttribute attribute)
public static QCoreApplication instance()
public static int exec()
public static void processEvents()
public static void exit(int retcode)
public static void exit()
public static void sendPostedEvents(QObject receiver, int event_type)
public static void sendPostedEvents()
public static void removePostedEvents(QObject receiver, int eventType)
public static void removePostedEvents(QObject receiver)
@Cast(value="bool") @Deprecated public static boolean hasPendingEvents()
public static QAbstractEventDispatcher eventDispatcher()
public static void setEventDispatcher(QAbstractEventDispatcher eventDispatcher)
public static long applicationPid()
@ByVal public static QString translate(@Cast(value="const char*") BytePointer context, @Cast(value="const char*") BytePointer key, @Cast(value="const char*") BytePointer disambiguation, int n)
@ByVal public static QString translate(@Cast(value="const char*") BytePointer context, @Cast(value="const char*") BytePointer key)
@ByVal public static QString translate(String context, String key, String disambiguation, int n)
public static void quit()
Copyright © 2020. All rights reserved.