[rkward-cvs] rkward/rkward/misc rkobjectlistview.cpp,1.13,1.14
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Fri Dec 9 14:05:17 UTC 2005
- Previous message: [rkward-cvs] rkward/rkward/core rcontainerobject.cpp,1.24,1.25 rcontainerobject.h,1.19,1.20 rkvariable.cpp,1.28,1.29 rkvariable.h,1.17,1.18 robject.cpp,1.17,1.18 robject.h,1.19,1.20
- Next message: [rkward-cvs] rkward/rkward robjectviewer.cpp,1.6,1.7 robjectviewer.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/rkward/rkward/rkward/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7653/misc
Modified Files:
rkobjectlistview.cpp
Log Message:
Cleaning up duplicate code in RObject classes. Should also fix a small memory leak. More duplications will be removed later
Index: rkobjectlistview.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/misc/rkobjectlistview.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** rkobjectlistview.cpp 2 Oct 2005 17:19:02 -0000 1.13
--- rkobjectlistview.cpp 9 Dec 2005 14:05:15 -0000 1.14
***************
*** 199,208 ****
item->setText (0, object->getShortName ());
item->setText (1, object->getLabel ());
! if (object->isContainer ()) {
! item->setText (3, static_cast<RContainerObject*> (object)->makeClassString ("; "));
! } else if (object->isVariable ()) {
item->setText (2, static_cast<RKVariable*> (object)->getVarTypeString ());
- item->setText (3, static_cast<RKVariable*> (object)->makeClassString (QString::null));
}
if (object->isDataFrame ()) {
--- 199,206 ----
item->setText (0, object->getShortName ());
item->setText (1, object->getLabel ());
! if (object->isVariable ()) {
item->setText (2, static_cast<RKVariable*> (object)->getVarTypeString ());
}
+ item->setText (3, object->makeClassString ("; "));
if (object->isDataFrame ()) {
- Previous message: [rkward-cvs] rkward/rkward/core rcontainerobject.cpp,1.24,1.25 rcontainerobject.h,1.19,1.20 rkvariable.cpp,1.28,1.29 rkvariable.h,1.17,1.18 robject.cpp,1.17,1.18 robject.h,1.19,1.20
- Next message: [rkward-cvs] rkward/rkward robjectviewer.cpp,1.6,1.7 robjectviewer.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rkward-tracker
mailing list