All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.dbus.QDBus Maven / Gradle / Ivy

There is a newer version: 6.7.2
Show newest version
package io.qt.dbus;

import io.qt.*;


/**
 * 

Contains miscellaneous identifiers used throughout the Qt D-Bus module

*

Java wrapper for Qt header file QDBus

*/ public final class QDBus { static { QtJambi_LibraryUtilities.initialize(); } private QDBus() throws java.lang.InstantiationError { throw new java.lang.InstantiationError("Cannot instantiate namespace QDBus."); } /** *

Java wrapper for Qt enum QDBus::CallMode

*/ public enum CallMode implements QtEnumerator { /** *

Representing QDBus::NoBlock

*/ NoBlock(0), /** *

Representing QDBus::Block

*/ Block(1), /** *

Representing QDBus::BlockWithGui

*/ BlockWithGui(2), /** *

Representing QDBus::AutoDetect

*/ AutoDetect(3); static { QtJambi_LibraryUtilities.initialize(); } private CallMode(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull CallMode resolve(int value) { switch (value) { case 0: return NoBlock; case 1: return Block; case 2: return BlockWithGui; case 3: return AutoDetect; default: throw new QNoSuchEnumValueException(value); } } private final int value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy