Source Code (Use browser search to find items of interest.)

Class Index

kgraph'KGGroup (./koffice/kgraph/kggroup.h:34)

class KGGroup {
    
public:
    KGGroup();                           // creates an empty group with a unique ID
    KGGroup(const QDomElement &element); // "loads" a group from XML
    ~KGGroup();

    const int id() { return m_id; }
    const QDomElement save(const QDomDocument &document);  // save the group
    
    void addMember(KGObject *member);
    void removeMember(KGObject *member);
    
private:
    QList< QGuardedPtr<KGObject> > members;
    static int ID;   // This is the counter for a unique group ID
    const int m_id;  // This is the id of this group
};

kgraph'KGGroup::KGGroup() (./koffice/kgraph/kggroup.cc:24)

KGGroup::KGGroup() : m_id(++ID) {
}


kgraph'KGGroup::KGGroup() (./koffice/kgraph/kggroup.cc:27)

KGGroup::KGGroup(const QDomElement &/*element*/) : m_id(++ID) {
}


kgraph'KGGroup::~KGGroup() (./koffice/kgraph/kggroup.cc:30)

KGGroup::~KGGroup() {
}