HowManyAreAnalyzed(): use status_user_agent to report progress
[linguistica.git] / TreeViewItem.cpp
blob50d2b1f78b8dc423aab02eaf2091f54eaed5206d
1 // Implementation of CTreeViewItem methods
2 // Copyright © 2009 The University of Chicago
3 #include "TreeViewItem.h"
6 CTreeViewItem::CTreeViewItem( Q3ListView *parent )
7 : Q3ListViewItem( parent )
8 {}
11 CTreeViewItem::CTreeViewItem( Q3ListView *parent,
12 QString label1,
13 eDocumentType docType,
14 int index )
15 : Q3ListViewItem( parent, label1 )
17 m_docType = docType;
18 m_Index = index;
21 CTreeViewItem::CTreeViewItem( Q3ListView *parent,
22 Q3ListViewItem *after,
23 QString label1,
24 eDocumentType docType,
25 int index )
26 : Q3ListViewItem( parent, after, label1 )
28 m_docType = docType;
29 m_Index = index;
32 CTreeViewItem::CTreeViewItem( Q3ListViewItem *parent,
33 QString label1,
34 eDocumentType docType,
35 int index )
36 : Q3ListViewItem( parent, label1 )
38 m_docType = docType;
39 m_Index = index;
42 CTreeViewItem::CTreeViewItem( Q3ListViewItem *parent,
43 Q3ListViewItem *after,
44 QString label1,
45 eDocumentType docType,
46 int index )
47 : Q3ListViewItem( parent, after, label1 )
49 m_docType = docType;
50 m_Index = index;
53 eDocumentType CTreeViewItem::GetState()
55 return m_docType;
58 void CTreeViewItem::SetState( eDocumentType docType )
60 m_docType = docType;
63 int CTreeViewItem::GetIndex()
65 return m_Index;
68 void CTreeViewItem::SetIndex( int index )
70 m_Index = index;