MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
trafficAnalyzer
reflectedListViewItem.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: reflectedListViewItem.h,v $ $Revision: 174999 $ $State: Exp $
7
*******************************************************************************/
8
9
#pragma once
10
#include <
trafficAnalyzer/trafficAnalyzerPlugin.h
>
11
12
#include <QTreeWidget>
13
#include <QTreeWidgetItem>
14
#include <QStringList>
15
16
class
DtReflectedGenericObject;
17
18
19
// An extension on Qt's List that allows each item to keep a pointer
20
// to the reflected entity this item refers to.
21
class
DT_DLL_TRFCANLZR
DtReflectedListViewItem
:
public
QTreeWidgetItem
22
{
23
public
:
24
25
// Constructor
26
DtReflectedListViewItem
(
QTreeWidget
* parent,
27
QStringList label,
28
DtReflectedGenericObject* reflObj);
29
30
31
// Destructor
32
virtual
~
DtReflectedListViewItem
();
33
34
// Grab the pointer to the reflected object
35
virtual
DtReflectedGenericObject* getReflectedObject();
36
virtual
const
char
* getClassName();
37
38
protected
:
39
40
DtReflectedGenericObject*
myReflObj
;
41
const
char
*
myClassName
;
42
43
private
:
44
45
// Copy Constructor
46
DtReflectedListViewItem
(
const
DtReflectedListViewItem
& orig);
47
48
// Assignment Operator
49
DtReflectedListViewItem
& operator=(
const
DtReflectedListViewItem
& rhs);
50
51
};
Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (
www.mak.com
)