VocabTreeItem.h

Go to the documentation of this file.
00001 #ifndef VOCAB_TREE_ITEM_H
00002 #define VOCAB_TREE_ITEM_H
00003 
00004 #include <iostream.h>
00005 #include <qlistview.h>
00006 #include <qpe/resource.h>
00007 #include <qwidget.h>
00008 #include "Base.h"
00009 #include "PixMap.h"
00010 #include "PropertiesPanel.h"
00011 #include "TreeItem.h"
00012 #include "Vocabulary.h"
00013 
00014 class VocabTreeView;
00015 
00016 class VocabTreeItem : public TreeItem, public Base {
00017 
00018 public:
00019 
00020     VocabTreeItem( QListViewItem* parent, Vocabulary* vocab, PropertiesPanel* propsPanel = NULL );
00021     ~VocabTreeItem();
00022 
00023     const char* className() const { return "VocabTreeItem"; }
00024 
00025     void setPropertiesPanel( PropertiesPanel* propsPanel );
00026     void setOpen( bool isOpened );
00027     virtual void setOn( bool isOn );
00028     virtual void setSelected( bool isSelected );
00029 
00030     Vocabulary* getVocabulary();
00031 
00032     virtual void update();
00033 
00034 private:
00035 
00036     Vocabulary*         vocab;
00037     PropertiesPanel*    propsPanel;
00038 
00039 };
00040 
00041 #endif

Generated on Sun Mar 1 17:30:47 2009 for toMOTko by  doxygen 1.5.6