Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

Obsolete Members for QImage

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

Public Functions


Member Function Documentation

void QImage::setText ( const char * key, const char * lang, const QString & s )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Records string s for the keyword key. The key should be a portable keyword recognizable by other software - some suggested values can be found in the PNG specification. s can be any text. lang should specify the language code (see RFC 1766) or 0.

QString QImage::text ( const char * key, const char * lang = 0 ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns the string recorded for the keyword key in language lang, or in a default language if lang is 0.

QString QImage::text ( const QImageTextKeyLang & kl ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns the string recorded for the keyword and language kl.

QList<QImageTextKeyLang> QImage::textList () const

Returns a list of QImageTextKeyLang objects that enumerate all the texts key/language pairs set by setText() for this image.


Copyright © 2005 Trolltech Trademarks
Qt 4.1.0
Hosted by uCoz