~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to src/tools/contactlist/contactlistrootitem.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-04-14 18:57:30 UTC
  • mfrom: (2.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080414185730-528re3zp0m2hdlhi
Tags: 0.11-8
* added CONFIG -= link_prl to .pro files and removed dependencies
  which are made unnecessary by this change
* Fix segfault when closing last chat tab with qt4.4
  (This is from upstream svn, rev. 1101) (Closes: Bug#476122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CONTACTLISTROOTITEM_H
 
2
#define CONTACTLISTROOTITEM_H
 
3
 
 
4
#include "contactlistgroupitem.h"
 
5
 
 
6
class ContactList;
 
7
 
 
8
class ContactListRootItem : public ContactListGroupItem
 
9
{
 
10
public:
 
11
        ContactListRootItem(ContactList* contactList) : ContactListGroupItem(0), contactList_(contactList) { }
 
12
 
 
13
        virtual ContactList* contactList() const { return contactList_; }
 
14
        virtual void updateParent() { }
 
15
 
 
16
private:
 
17
        ContactList* contactList_;
 
18
};
 
19
 
 
20
#endif