kandy Library API Documentation

commanditem.h

00001 // $Id: commanditem.h,v 1.2 2001/04/16 16:59:20 waba Exp $
00002 
00003 #ifndef _COMMAND_ITEM_H_
00004 #define _COMMAND_ITEM_H_
00005 
00006 #include <qlistview.h>
00007 
00008 class ATCommand;
00009 class ATParameter;
00010 class QDomElement;
00011 class QDomDocument;
00012 
00016 class CommandItem : public QListViewItem {
00017   public:
00018     CommandItem(QListView *listView,ATCommand *command);
00019     ~CommandItem();
00020     
00021     ATCommand *command();
00022 
00023     void load(QDomElement *c);
00024     void save(QDomDocument *doc,QDomElement *parent);
00025     
00026     void setItemText();
00027 
00028   protected:
00029     void saveParameter(ATParameter *p, QDomDocument *doc,QDomElement *parent);
00030   
00031   private:
00032     ATCommand *mCommand;
00033 };
00034 
00035 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:06 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001