45 #ifndef QT_NO_TEXTCODECPLUGIN 154 for (
int i = 0; i < list.
size(); ++i)
157 for (
int i = 0; i < mibs.
count(); ++i)
171 #endif // QT_NO_TEXTCODECPLUGIN static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
#define QT_END_NAMESPACE
This macro expands to.
int toInt(bool *ok=0, int base=10) const
Returns the string converted to an int using base base, which is 10 by default and must be between 2 ...
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
virtual QList< int > mibEnums() const =0
Returns the list of mib enums supported by this plugin.
~QTextCodecPlugin()
Destroys the text codec plugin.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual QTextCodec * createForName(const QByteArray &name)=0
Creates a QTextCodec object for the codec called name.
const T & at(int i) const
Returns the item at index position i in the list.
The QStringList class provides a list of strings.
QTextCodec * create(const QString &name)
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
QByteArray toLatin1() const Q_REQUIRED_RESULT
Returns a Latin-1 representation of the string as a QByteArray.
QTextCodecPlugin(QObject *parent=0)
Constructs a text codec plugin with the given parent.
QString mid(int position, int n=-1) const Q_REQUIRED_RESULT
Returns a string that contains n characters of this string, starting at the specified position index...
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
virtual QList< QByteArray > aliases() const =0
Returns the list of aliases supported by this plugin.
virtual QTextCodec * createForMib(int mib)=0
Creates a QTextCodec object for the mib enum mib.
int size() const
Returns the number of items in the list.
The QTextCodec class provides conversions between text encodings.
virtual QList< QByteArray > names() const =0
Returns the list of MIME names supported by this plugin.