/*************************************************************************** Copyright 2008 Frederik Gladhorn ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef LEITNERMODEL_H #define LEITNERMODEL_H #include "containermodel.h" class LeitnerModel : public ContainerModel { Q_OBJECT public: explicit LeitnerModel(QObject *parent = 0); QVariant data(const QModelIndex &index, int role) const; Qt::ItemFlags flags(const QModelIndex &index) const; protected: KEduVocContainer * rootContainer() const; }; #endif