com.trolltech.qt.gui
Class QAbstractImageIOHandlerFactory

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.gui.QAbstractImageIOHandlerFactory
All Implemented Interfaces:
QAbstractFactoryInterface, QAbstractImageIOHandlerFactoryInterface, QtJambiInterface

public abstract class QAbstractImageIOHandlerFactory
extends QtJambiObject
implements QAbstractImageIOHandlerFactoryInterface, QAbstractFactoryInterface


Nested Class Summary
 
Nested classes/interfaces inherited from class com.trolltech.qt.QtJambiObject
QtJambiObject.QPrivateConstructor
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I>
 
Constructor Summary
  QAbstractImageIOHandlerFactory()
          Creates a new QAbstractImageIOHandlerFactory
protected QAbstractImageIOHandlerFactory(QtJambiObject.QPrivateConstructor p)
          This method is internal to Qt Jambi.
 
Method Summary
 long __qt_cast_to_QAbstractFactory(long ptr)
          This method is internal to Qt Jambi.
 long __qt_cast_to_QAbstractImageIOHandlerFactory(long ptr)
          This method is internal to Qt Jambi.
 QImageIOHandler create(QIODevice device)
          Creates and returns a QImageIOHandler subclass, with device and format set.
abstract  QImageIOHandler create(QIODevice device, QByteArray format)
          Creates and returns a QImageIOHandler subclass, with device and format set.
static QAbstractImageIOHandlerFactory fromNativePointer(QNativePointer nativePointer)
          This method returns the QAbstractImageIOHandlerFactory instance pointed to by nativePointer.
abstract  java.util.List<java.lang.String> keys()
          Returns the list of image keys this plugin supports.
 
Methods inherited from class com.trolltech.qt.QtJambiObject
disableGarbageCollection, dispose, disposed, equals, finalize, nativeId, nativePointer, reassignNativeResources, reenableGarbageCollection, setJavaOwnership, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
__qt_signalInitialization, blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Constructor Detail

QAbstractImageIOHandlerFactory

public QAbstractImageIOHandlerFactory()
Creates a new QAbstractImageIOHandlerFactory


QAbstractImageIOHandlerFactory

protected QAbstractImageIOHandlerFactory(QtJambiObject.QPrivateConstructor p)
This method is internal to Qt Jambi.

Method Detail

create

public final QImageIOHandler create(QIODevice device)
Creates and returns a QImageIOHandler subclass, with device and format set. The format must come from the list returned by keys(). Format names are case sensitive.

See also:
keys().


create

public abstract QImageIOHandler create(QIODevice device,
                                       QByteArray format)
Creates and returns a QImageIOHandler subclass, with device and format set. The format must come from the list returned by keys(). Format names are case sensitive.

See also:
keys().

Specified by:
create in interface QAbstractImageIOHandlerFactoryInterface

keys

public abstract java.util.List<java.lang.String> keys()
Returns the list of image keys this plugin supports.

These keys are usually the names of the image formats that are implemented in the plugin (e.g., "jpg" or "gif").

See also:
capabilities().

Specified by:
keys in interface QAbstractFactoryInterface
Specified by:
keys in interface QAbstractImageIOHandlerFactoryInterface

fromNativePointer

public static QAbstractImageIOHandlerFactory fromNativePointer(QNativePointer nativePointer)
This method returns the QAbstractImageIOHandlerFactory instance pointed to by nativePointer.


__qt_cast_to_QAbstractImageIOHandlerFactory

public long __qt_cast_to_QAbstractImageIOHandlerFactory(long ptr)
This method is internal to Qt Jambi.

Specified by:
__qt_cast_to_QAbstractImageIOHandlerFactory in interface QAbstractImageIOHandlerFactoryInterface

__qt_cast_to_QAbstractFactory

public long __qt_cast_to_QAbstractFactory(long ptr)
This method is internal to Qt Jambi.

Specified by:
__qt_cast_to_QAbstractFactory in interface QAbstractFactoryInterface


mageIOHandlerFactory(long)">__qt_cast_to_QAbstractImageIOHandlerFactory in interface QAbstractImageIOHandlerFactoryInterface

__qt_cast_to_QAbstractFactory

public long __qt_cast_to_QAbstractFactory(long ptr)
This method is internal to Qt Jambi.

Specified by:
__qt_cast_to_QAbstractFactory in interface QAbstractFactoryInterface