No more forgotten things. Style fixing

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666425
This commit is contained in:
Rafael Fernández López 2007-05-19 21:00:16 +00:00
parent ef5b5fca3b
commit 749b581946
3 changed files with 7 additions and 1 deletions

View File

@ -44,6 +44,7 @@ install( FILES
widgets/lineedit.h
widgets/pushbutton.h
widgets/checkbox.h
widgets/radiobutton.h
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma )
install( FILES

View File

@ -111,7 +111,7 @@ void RadioButton::setChecked(bool checked)
{
RadioButton *siblingRadioButton;
// If we have a parent item (some kind of grouping widget or whatever)
// check first there.
// check first there
if (d->mouseOver && checked && parentItem())
{
foreach(QGraphicsItem *sibling, parentItem()->children())
@ -196,6 +196,7 @@ void RadioButton::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
update();
}
} // Plasma namespace
#include "radiobutton.moc"

View File

@ -29,6 +29,7 @@
// Plasma includes
#include "datavisualization.h"
/**
* This class emulates a QRadioButton.
*
@ -44,9 +45,11 @@
* @author Rafael Fernández López
*/
namespace Plasma
{
class KDE_EXPORT RadioButton : public DataVisualization
, public QGraphicsItem
{
@ -87,6 +90,7 @@ private:
Private *const d;
};
} // Plasma namespace
#endif // RADIOBUTTON_H