#include "qttgaimageformat.h" #include <qimageformatplugin.h> #include "qttgaimageformatplugin.h" QStringList QtTGAFormatPlugin::keys() const { QStringList list; list << "TGA"; return list; } bool QtTGAFormatPlugin::installIOHandler(const QString &key) { if ( key != "TGA" ) return FALSE; QtTGAImageFormat::installIOHandler(); return TRUE; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 4860 | Matt Attaway |
Adding information of Qt image plugins. This change includes sample source code, a list of useful links, and a compiled version of the TGA plugin for use with the r05.1 beta. |