com.trolltech.qt.gui
Class QPrinter.ColorMode

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

public static final class QPrinter.ColorMode
extends java.lang.Enum
implements QtEnumerator

This enum type is used to indicate whether QPrinter should print in color or not.

See Also:
Serialized Form

Field Summary
static QPrinter.ColorMode Color
           
static QPrinter.ColorMode GrayScale
          print in grayscale, even on color printers.
 
Method Summary
static QPrinter.ColorMode resolve(int value)
          Returns the QPrinter$ColorMode 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 QPrinter.ColorMode valueOf(java.lang.String name)
           
static QPrinter.ColorMode[] 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

GrayScale

public static final QPrinter.ColorMode GrayScale
print in grayscale, even on color printers.


Color

public static final QPrinter.ColorMode Color
Method Detail

values

public static QPrinter.ColorMode[] values()

valueOf

public static QPrinter.ColorMode 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 QPrinter.ColorMode resolve(int value)
Returns the QPrinter$ColorMode constant with the specified int.