[rkward-cvs] rkward/rkward/misc rkobjectlistview.cpp,1.5,1.6
Pierre
ecoch at users.sourceforge.net
Sat Apr 2 09:38:13 UTC 2005
- Previous message: [rkward-cvs] rkward/po fr.po,1.5,1.6
- Next message: [rkward-cvs] rkward/rkward/windows rkcommandeditorwindow.cpp,1.12,1.13 rkcommandeditorwindow.h,1.8,1.9 rkhelpwindow.cpp,1.4,1.5 rkhelpwindow.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/rkward/rkward/rkward/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4542
Modified Files:
rkobjectlistview.cpp
Log Message:
Not showing hidden objects (Adrien)
Index: rkobjectlistview.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/misc/rkobjectlistview.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** rkobjectlistview.cpp 24 Mar 2005 20:24:54 -0000 1.5
--- rkobjectlistview.cpp 2 Apr 2005 09:38:11 -0000 1.6
***************
*** 134,138 ****
void RKObjectListView::updateItem (QListViewItem *item, RObject *object) {
RK_TRACE (APP);
!
item->setText (0, object->getShortName ());
item->setText (1, object->getLabel ());
--- 134,143 ----
void RKObjectListView::updateItem (QListViewItem *item, RObject *object) {
RK_TRACE (APP);
!
! // if the objec is hidden, it shouldn't appear
! QString temp = (QString) object->getFullName() ;
! if (temp.left(1).latin1() == (QString) ".") return ;
!
!
item->setText (0, object->getShortName ());
item->setText (1, object->getLabel ());
***************
*** 169,172 ****
--- 174,181 ----
RK_TRACE (APP);
+ // if the objec is hidden, it shouldn't appear
+ QString temp = (QString) object->getFullName() ;
+ if (temp.left(1).latin1() == (QString) ".") return ;
+
QListViewItem *item;
- Previous message: [rkward-cvs] rkward/po fr.po,1.5,1.6
- Next message: [rkward-cvs] rkward/rkward/windows rkcommandeditorwindow.cpp,1.12,1.13 rkcommandeditorwindow.h,1.8,1.9 rkhelpwindow.cpp,1.4,1.5 rkhelpwindow.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rkward-tracker
mailing list