00001 /*************************************************************************** 00002 * * 00003 * This program is free software; you can redistribute it and/or modify * 00004 * it under the terms of the GNU General Public License as published by * 00005 * the Free Software Foundation; either version 2 of the License, or * 00006 * (at your option) any later version. * 00007 * * 00008 ***************************************************************************/ 00009 00010 #ifndef LISTVIEWITEMCONF_H 00011 #define LISTVIEWITEMCONF_H 00012 00013 #include <qlistview.h> 00014 00015 00016 class OListViewItem : public QListViewItem 00017 { 00018 public: 00019 enum {Raw, Searchgroup, Result, Contact, Todo, Event}; 00020 OListViewItem(OListViewItem *parent); 00021 OListViewItem(OListViewItem *parent, QString name); 00022 OListViewItem(QListView *parent, QString name); 00023 ~OListViewItem(); 00024 00025 virtual void expand(){}; 00026 virtual int rtti() { return Raw;} 00027 virtual QPopupMenu* popupMenu() { return 0;}; 00028 void clearList(); 00029 00030 }; 00031 00032 #endif
1.4.2