[rkward-cvs] SF.net SVN: rkward: [2121] branches/KDE4_port/rkward/plugin

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Oct 24 22:27:30 UTC 2007


Revision: 2121
          http://rkward.svn.sourceforge.net/rkward/?rev=2121&view=rev
Author:   tfry
Date:     2007-10-24 15:27:29 -0700 (Wed, 24 Oct 2007)

Log Message:
-----------
Don't crash on all plugins
RKComponent::setVisible clased with the new (virtual) QWidget::setVisible. Argh

Modified Paths:
--------------
    branches/KDE4_port/rkward/plugin/rkcomponent.cpp
    branches/KDE4_port/rkward/plugin/rkcomponent.h

Modified: branches/KDE4_port/rkward/plugin/rkcomponent.cpp
===================================================================
--- branches/KDE4_port/rkward/plugin/rkcomponent.cpp	2007-10-24 20:27:59 UTC (rev 2120)
+++ branches/KDE4_port/rkward/plugin/rkcomponent.cpp	2007-10-24 22:27:29 UTC (rev 2121)
@@ -204,18 +204,6 @@
 	RK_ASSERT (false);		// should not be called as isWizardish returns false
 }
 
-void RKComponent::setVisible (bool visible) {
-	RK_TRACE (PLUGIN);
-
-	visibilityProperty ()->setBoolValue (visible);
-}
-
-void RKComponent::setEnabledness (bool enabled) {
-	RK_TRACE (PLUGIN);
-
-	enablednessProperty ()->setBoolValue (enabled);
-}
-
 void RKComponent::setRequired (bool required) {
 	RK_TRACE (PLUGIN);
 

Modified: branches/KDE4_port/rkward/plugin/rkcomponent.h
===================================================================
--- branches/KDE4_port/rkward/plugin/rkcomponent.h	2007-10-24 20:27:59 UTC (rev 2120)
+++ branches/KDE4_port/rkward/plugin/rkcomponent.h	2007-10-24 22:27:29 UTC (rev 2121)
@@ -141,11 +141,7 @@
 /** standard property controlling requiredness */
 	RKComponentPropertyBool *requirednessProperty ()  { return requiredness_property; };
 
-/** convenience call to set visibilty property (and hence visibility of this component). Can't inline due to inclusion problems. */
-	void setVisible (bool visible);
-/** convenience call to set visibilty property (and hence visibility of this component) */
-	void setEnabledness (bool enabled);
-/** convenience call to set visibilty property (and hence visibility of this component) */
+/** convenience call to set requiredness property (and hence requiredness of this component) */
 	void setRequired (bool required);
 
 /** The parent of this component. Should be notified, whenever isSatisfied () or isReady ()-state changed. */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list