Main Page | Class Hierarchy | Compound List | File List | Compound Members

MP7ListViewItem.hpp

Go to the documentation of this file.
00001  /***********************************************************************
00002  *                                                                      *
00003  * MuViNo - ViTooKi Video Annotation Tool                               *
00004  *                                                                      *
00005  * title:   MP7ListViewItem.hpp                                     *
00006  *                                                                      *
00007  * $Id: MP7ListViewItem_8hpp-source.html,v 1.1 2004/09/27 07:24:51 mtaschwer Exp $
00008  *                                                                      *
00009  * ITEC institute of the University of Klagenfurt (Austria)             *
00010  * http://www.itec.uni-klu.ac.at                                        *
00011  *                                                                      *
00012  *                                                                      *
00013  * For more information visit the ViTooKi homepage:                     *
00014  * http://ViTooKi.sourceforge.net                                       *
00015  * vitooki-user@lists.sourceforge.net                                   *
00016  * vitooki-devel@lists.sourceforge.net                                  *
00017  *                                                                      *
00018  * This file is part of ViTooKi, a free video toolkit.                  *
00019  * ViTooKi is free software; you can redistribute it and/or             *
00020  * modify it under the terms of the GNU General Public License          *
00021  * as published by the Free Software Foundation; either version 2       *
00022  * of the License, or (at your option) any later version.               *
00023  *                                                                      *
00024  * This program is distributed in the hope that it will be useful,      *
00025  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
00026  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the         *
00027  * GNU General Public License for more details.                         *
00028  *                                                                      *
00029  * You should have received a copy of the GNU General Public License    *
00030  * along with this program; if not, write to the Free Software          *
00031  * Foundation, Inc., 59 Temple Place - Suite 330, Boston,               *
00032  * MA  02111-1307, USA.                                                 *
00033  *                                                                      *
00034  ***********************************************************************/
00035 
00036 #ifndef _MP7LISTVIEWITEM_HPP_
00037 #define _MP7LISTVIEWITEM_HPP_
00038 
00043 #include <qdom.h>
00044 #include <qlistview.h>
00045 
00058 class MP7ListViewItem : public QListViewItem
00059 {
00060 public:
00062   MP7ListViewItem(QListView *parent);
00063 
00069   MP7ListViewItem(MP7ListViewItem *parent, MP7ListViewItem *after = NULL);
00070 
00077   MP7ListViewItem(MP7ListViewItem *parent, QDomElement elem,
00078           MP7ListViewItem *after = NULL);
00079 
00089   MP7ListViewItem(MP7ListViewItem *parent, int pos, QDomElement elem);
00090 
00092   virtual ~MP7ListViewItem();
00093 
00097   void setDomElement(const QDomElement &elem);
00098 
00100   QDomElement domElement() const;
00101 
00105   MP7ListViewItem *prevSibling() const;
00106 
00107 private:
00118   void insert(MP7ListViewItem *parent, int pos, QDomElement &elem);
00119 
00121   QDomElement domElem;
00122 
00123 };
00124 
00125 #endif /* _MP7LISTVIEWITEM_HPP_ */

Generated on Mon Sep 27 09:12:05 2004 for Muvino by doxygen 1.3.2