diff options
author | Mateu Batle <mateu.batle@collabora.co.uk> | 2011-03-30 18:53:01 -0500 |
---|---|---|
committer | Mateu Batle <mateu.batle@collabora.co.uk> | 2011-04-04 16:19:34 -0700 |
commit | 7c4f002d345d681105028ea2cef689be831ec353 (patch) | |
tree | 106a015df7f7520446f6d2c3041795322267e250 | |
parent | 1b854345d38f30bfa65e9afe42effa8cc5e46fd7 (diff) |
Models: Move some methods to public visibility, since they can be used in composition of models (and not just inheritance)
-rw-r--r-- | TelepathyQt4Yell/Models/abstract-conversation-model.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TelepathyQt4Yell/Models/abstract-conversation-model.h b/TelepathyQt4Yell/Models/abstract-conversation-model.h index 8bbb5f9..f399114 100644 --- a/TelepathyQt4Yell/Models/abstract-conversation-model.h +++ b/TelepathyQt4Yell/Models/abstract-conversation-model.h @@ -58,16 +58,16 @@ public: virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; virtual QVariant data(const QModelIndex &index, int role) const; -protected: - // work around moc namespace limitations - typedef Tp::ChannelChatState ChannelChatState; - void addItem(const ConversationItem *item); void insertItems(QList<const ConversationItem *> items, int index = 0); bool deleteItem(const ConversationItem *item); QModelIndex index(const ConversationItem *item) const; +protected: + // work around moc namespace limitations + typedef Tp::ChannelChatState ChannelChatState; + private: struct Private; friend struct Private; |