Blokkal
an Extendable KDE Blogging Client
SourceForge.net Logo

Blokkal::BlogCategoryModel Class Reference

a BlogModel that incorporates the categories of a blog More...

#include <blokkalblogmodel.h>

Inheritance diagram for Blokkal::BlogCategoryModel:

Blokkal::BlogModel Blokkal::TreeModel

List of all members.


Public Member Functions

 BlogCategoryModel (QObject *parent=0)

Protected Slots

virtual void addBlog (Blokkal::Blog *blog)
virtual void addCategory (const QString &blogId, Blokkal::Io::Category *category, Blokkal::Io::CategoryManager *manager)
virtual void removeBlog (Blokkal::Blog *blog)
virtual void removeCategory (const QString &blogId, Blokkal::Io::Category *category, Blokkal::Io::CategoryManager *manager)

Protected Member Functions

void addCategories (Blokkal::Blog *blog)
Blokkal::BlogfindBlog (const QString &blogId, const Blokkal::Account *account)
void removeCategories (Blokkal::Blog *blog)

Detailed Description

a BlogModel that incorporates the categories of a blog

This class works exactly like a BlogMode with the litte tiwst that it will make the categories of a blog visible to the view. This class is supposed to be used with a BlogDelegate.

Author:
Martin Mueller <orvio@orvio.de>

Definition at line 102 of file blokkalblogmodel.h.


Constructor & Destructor Documentation

Blokkal::BlogCategoryModel::BlogCategoryModel ( QObject *  parent = 0  ) 

Constructor parent parent object

Definition at line 218 of file blokkalblogmodel.cpp.


Member Function Documentation

void Blokkal::BlogCategoryModel::addBlog ( Blokkal::Blog blog  )  [protected, virtual, slot]

This slot is called when a new blog has been created.

Parameters:
blog the new blog

Reimplemented from Blokkal::BlogModel.

Definition at line 253 of file blokkalblogmodel.cpp.

void Blokkal::BlogCategoryModel::removeBlog ( Blokkal::Blog blog  )  [protected, virtual, slot]

This slot is called when a blog is about to be deleted.

Parameters:
blog the blog to remove

Reimplemented from Blokkal::BlogModel.

Definition at line 259 of file blokkalblogmodel.cpp.


The documentation for this class was generated from the following files: