NAME

Qt::Gui::QStringListModel

PUBLIC METHODS

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

ENUM VALUES

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