00001 /*************************************************************************** 00002 contactlistitem.h - description 00003 ------------------- 00004 begin : mar avr 11 2006 00005 copyright : (C) 2006 by Sylvain Archenault <sylvain.archenault@laposte.net>, \n Yves Houpert <yves.houpert@insa-rouen.fr> <> 00006 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 #ifndef CONTACTLISTITEM_H 00018 #define CONTACTLISTITEM_H 00019 00020 #include <klistview.h> 00021 00022 class Contact; 00023 00031 class ContactListItem : public KListViewItem 00032 { 00033 public: 00037 ContactListItem(ContactListItem* parent, const std::string& name); 00038 00042 ContactListItem(QListView* parent, const std::string& name); 00043 00045 ~ContactListItem(); 00046 00049 virtual bool isContactItem() const { return false; } 00050 00053 virtual const Contact* getContact() const { return 0; } 00054 00055 00056 }; 00057 00058 #endif
1.4.6