Qt Jambi Home

com.trolltech.qt
Class QClassPathFileEngineHandler

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.core.QAbstractFileEngineHandler
              extended by com.trolltech.qt.QClassPathFileEngineHandler
All Implemented Interfaces:
QtJambiInterface

public class QClassPathFileEngineHandler
extends QAbstractFileEngineHandler


Nested Class Summary
 
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>
 
Method Summary
 QAbstractFileEngine create(java.lang.String fileName)
          

Creates a file engine for file fileName.

 
Methods inherited from class com.trolltech.qt.core.QAbstractFileEngineHandler
fromNativePointer
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, finalize, reassignNativeResources, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Method Detail

create

public QAbstractFileEngine create(java.lang.String fileName)

Creates a file engine for file fileName. Returns 0 if this file handler cannot handle fileName.

Example:

    QAbstractSocketEngine *ZipEngineHandler::create(const QString &fileName) const
    {
        // ZipEngineHandler returns a ZipEngine for all .zip files
        return fileName.toLower().endsWith(".zip") ? new ZipEngine(fileName) : 0;
    }

Specified by:
create in class QAbstractFileEngineHandler
See Also:
QAbstractFileEngine::create

Qt Jambi Home