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/lineedit.h
widgets/pushbutton.h widgets/pushbutton.h
widgets/checkbox.h widgets/checkbox.h
widgets/radiobutton.h
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma ) DESTINATION ${INCLUDE_INSTALL_DIR}/plasma )
install( FILES install( FILES

View File

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

View File

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