#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 | 5093 | Hari Krishna Dara |
Populating perforce branch. I will be adding p4admin files to it. |
||
//guest/perforce_software/utils/image-plugins/src/TGAPlugins/qttgaimageformatplugin.cpp | |||||
#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. |