NAME

Qt::Gui::QStringListModel

PUBLIC METHODS

QStringListModel(QObject * parent = 0)
QStringListModel(QObject * parent)
QStringListModel(const QStringList & strings, QObject * parent = 0)
QStringListModel(const QStringList & strings, QObject * parent)
QVariant data(const QModelIndex & index, int role)
bool insertRows(int row, int count, const QModelIndex & parent = QModelIndex())
bool insertRows(int row, int count, const QModelIndex & parent)
bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex())
bool removeRows(int row, int count, const QModelIndex & parent)
int rowCount(const QModelIndex & parent = QModelIndex())
int rowCount(const QModelIndex & parent)
bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole)
bool setData(const QModelIndex & index, const QVariant & value, int role)
void setStringList(const QStringList & strings)
void sort(int column, Qt::SortOrder order = Qt::AscendingOrder)
void sort(int column, Qt::SortOrder order)
QStringList stringList()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html