com.trolltech.qt.gui
Class QDialog.DialogCode

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QDialog.DialogCode
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QDialog

public static final class QDialog.DialogCode
extends java.lang.Enum
implements QtEnumerator

The value returned by a modal dialog.

See Also:
Serialized Form

Field Summary
static QDialog.DialogCode Accepted
           
static QDialog.DialogCode Rejected
           
 
Method Summary
static QDialog.DialogCode resolve(int value)
          Returns the QDialog$DialogCode constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QDialog.DialogCode valueOf(java.lang.String name)
           
static QDialog.DialogCode[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Rejected

public static final QDialog.DialogCode Rejected

Accepted

public static final QDialog.DialogCode Accepted
Method Detail

values

public static QDialog.DialogCode[] values()

valueOf

public static QDialog.DialogCode valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QDialog.DialogCode resolve(int value)
Returns the QDialog$DialogCode constant with the specified int.