--- /dev/null
+# File : Makefile.in
+# Author : Alexander SOLOVYOV (OCN)
+# Module : QDS
+# $Header: /home/server/cvs/GUI/GUI_SRC/src/QDS/Makefile.in
+
+top_srcdir=@top_srcdir@
+top_builddir=../..
+srcdir=@srcdir@
+VPATH=.:@srcdir@
+
+@COMMENCE@
+
+# header files
+EXPORT_HEADERS= QDS.h \
+ QDS_CheckBox.h \
+ QDS_ComboBox.h \
+ QDS_Datum.h \
+ QDS_LineEdit.h \
+ QDS_SpinBox.h \
+ QDS_SpinBoxDbl.h \
+ QDS_TextEdit.h \
+ QDS_Validator.h
+
+# Libraries targets
+LIB = libQDS.la
+
+LIB_SRC= QDS.cxx \
+ QDS_CheckBox.cxx \
+ QDS_ComboBox.cxx \
+ QDS_Datum.cxx \
+ QDS_LineEdit.cxx \
+ QDS_SpinBox.cxx \
+ QDS_SpinBoxDbl.cxx \
+ QDS_TextEdit.cxx \
+ QDS_Validator.cxx
+
+LIB_MOC = QDS_CheckBox.h \
+ QDS_ComboBox.h \
+ QDS_Datum.h \
+ QDS_LineEdit.h \
+ QDS_SpinBox.h \
+ QDS_SpinBoxDbl.h \
+ QDS_TextEdit.h
+
+CPPFLAGS+=$(QT_INCLUDES) $(OCC_INCLUDES)
+
+LDFLAGS+=$(QT_MT_LIBS) $(CAS_KERNEL) -lDDS -lqtx
+
+@CONCLUDE@
+
+
/*!
Set the dictionary item in to the datum.
*/
-void QDS_Datum::setDicItem( Handle(DDS_DicItem)& item )
+void QDS_Datum::setDicItem( const Handle(DDS_DicItem)& item )
{
myDicItem = item;
}
aType = anItem->GetType();
aFormat = toQString( anItem->GetFormat( false ) );
if ( convert )
- aNum = anItem->FromSI( aNum );
+ aNum = ( int )anItem->FromSI( aNum );
}
}
QWidget* controlWidget() const;
Handle(DDS_DicItem) dicItem() const;
- void setDicItem( Handle(DDS_DicItem)& );
+ void setDicItem( const Handle(DDS_DicItem)& );
int flags() const;