Qt:Документация 4.3.2/qpicture-obsolete

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] Obsolete Members for QPicture

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.



[править] Статические открытые члены


[править] Описание функций-членов

[править]
QStringList QPicture::inputFormatList () [static]

Returns a list of picture formats that are supported for picture input.

Note that if you want to iterate over the list, you should iterate over a copy, e.g.

         QStringList list = QPicture::inputFormatList();
         foreach (QString string, list)
             myProcessing(string);

See also outputFormatList(), inputFormats(), and QPictureIO.

[править]
QList< QByteArray> QPicture::inputFormats () [static]

Returns a list of picture formats that are supported for picture input.

See also outputFormats(), inputFormatList(), and QPictureIO.

[править]
QStringList QPicture::outputFormatList () [static]

Returns a list of picture formats that are supported for picture output.

Note that if you want to iterate over the list, you should iterate over a copy, e.g.

         QStringList list = QPicture::outputFormatList();
         foreach (QString string, list)
             myProcessing(string);

See also inputFormatList(), outputFormats(), and QPictureIO.

[править]
QList< QByteArray> QPicture::outputFormats () [static]

Returns a list of picture formats that are supported for picture output.

See also inputFormats(), outputFormatList(), and QPictureIO.

[править]
const char * QPicture::pictureFormat ( const QString & fileName ) [static]

Returns a string that specifies the picture format of the file fileName, or 0 if the file cannot be read or if the format is not recognized.

See also load() and save().


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2