| 20 | using namespace GammaRay; |
| 21 | |
| 22 | static QMetaEnum propertyEnum() |
| 23 | { |
| 24 | const int index = QTextFormat::staticMetaObject.indexOfEnumerator("Property"); |
| 25 | Q_ASSERT(index >= 0); |
| 26 | return QTextFormat::staticMetaObject.enumerator(index); |
| 27 | } |
| 28 | |
| 29 | TextDocumentFormatModel::TextDocumentFormatModel(QObject *parent) |
| 30 | : QAbstractTableModel(parent) |