X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Ftreemodel.h;h=12da2ed20660c69230026cd2e13f5870c5fe82db;hp=e4979ae2674b2dc29cfddfab7a37efd86473f2dc;hb=48dda5f3e963e13e36300ddaef262660bf169672;hpb=d1e7cc01969e8fb8cfc20a62a29176f417fc3507 diff --git a/src/client/treemodel.h b/src/client/treemodel.h index e4979ae2..12da2ed2 100644 --- a/src/client/treemodel.h +++ b/src/client/treemodel.h @@ -126,21 +126,15 @@ class PropertyMapItem : public AbstractTreeItem Q_OBJECT public: - PropertyMapItem(const QStringList &propertyOrder, AbstractTreeItem *parent = 0); PropertyMapItem(AbstractTreeItem *parent = 0); - virtual ~PropertyMapItem(); + virtual QStringList propertyOrder() const = 0; virtual QVariant data(int column, int role) const; virtual bool setData(int column, const QVariant &value, int role); virtual QString toolTip(int column) const { Q_UNUSED(column) return QString(); } virtual int columnCount() const; - - void appendProperty(const QString &property); - -private: - QStringList _propertyOrder; };