[rkward-cvs] rkward/rkward/plugin rkcomponent.cpp,1.13,1.14 rkstandardcomponent.cpp,1.23,1.24

Thomas Friedrichsmeier tfry at users.sourceforge.net
Tue Mar 21 16:03:45 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25048

Modified Files:
	rkcomponent.cpp rkstandardcomponent.cpp 
Log Message:
small fix

Index: rkcomponent.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugin/rkcomponent.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** rkcomponent.cpp	21 Mar 2006 15:41:24 -0000	1.13
--- rkcomponent.cpp	21 Mar 2006 16:03:41 -0000	1.14
***************
*** 30,34 ****
  	RKComponentBase *child = child_map.find (identifier.section (".", 0, 0));
  	if (!child) {	// if we do not have such a child, return 0 unless this is a property
! 		if (remainder) *remainder = identifier.section (".", 1);
  		return this;
  	} else {	// else do recursive lookup
--- 30,34 ----
  	RKComponentBase *child = child_map.find (identifier.section (".", 0, 0));
  	if (!child) {	// if we do not have such a child, return 0 unless this is a property
! 		if (remainder) *remainder = identifier;
  		return this;
  	} else {	// else do recursive lookup

Index: rkstandardcomponent.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugin/rkstandardcomponent.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** rkstandardcomponent.cpp	21 Mar 2006 15:41:24 -0000	1.23
--- rkstandardcomponent.cpp	21 Mar 2006 16:03:41 -0000	1.24
***************
*** 490,493 ****
--- 490,494 ----
  					QString dummy = xml->getStringAttribute (e, "label", "Options", DL_WARNING);
  					widget->setCaption (dummy);
+ // TODO we should use a specialized pushbutton, that changes color if the corresponding component is dissatisfied!
  					QPushButton *button = new QPushButton (dummy, parent_widget);
  					component ()->connect (button, SIGNAL (clicked ()), widget, SLOT (showGUI ()));





More information about the rkward-tracker mailing list