Developer documentation | Axl-2.5.1

axlInspectorObjectManagerListItem.cpp
Go to the documentation of this file.
1 /* axlInspectorObjectManagerListItem.cpp ---
2  *
3  * Author: Julien Wintz
4  * Copyright (C) 2008 - Julien Wintz, Inria.
5  * Created: Mon Mar 14 18:25:24 2011 (+0100)
6  * Version: $Id$
7  * Last-Updated: Mon Mar 14 18:25:57 2011 (+0100)
8  * By: Julien Wintz
9  * Update #: 3
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
21 
23 #include <axlCore/axlDouble.h>
24 
25 class axlInspectorObjectManagerListItemPrivate
26 {
27 public:
28  axlAbstractField *field;
29 };
30 
31 axlInspectorObjectManagerListItem::axlInspectorObjectManagerListItem(const QString & text, axlAbstractField *field, QListWidget *parent) : QListWidgetItem(text, parent) , d(new axlInspectorObjectManagerListItemPrivate)
32 {
33  d->field = field;
34 }
35 
37 {
38  delete d;
39 
40  d = NULL;
41 }
42 
44 {
45  return d->field;
46 }
Class axlAbstractField defines an API for arrays of numeric data.
axlInspectorObjectManagerListItem(const QString &text, axlAbstractField *field, QListWidget *parent=0)