* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-import QtQuick 1.1
-import com.nokia.meego 1.1
+import QtQuick 2.0
Item {
- property alias text: label.text
- property alias checked: switchComponent.checked
- width: parent.width
- height: switchComponent.height
+ property alias text: label.text
+ property alias checked: switchComponent.checked
+ width: parent.width
+ height: switchComponent.height
- Text {
- property Style platformStyle: LabelStyle {}
+ CameraLabel {
+ id: label
+ anchors.left: parent.left
+ wrapMode: Text.Wrap
+ }
- id: label
- anchors.left: parent.left
- font.family: platformStyle.fontFamily
- font.pixelSize: platformStyle.fontPixelSize
- color: platformStyle.textColor
- wrapMode: Text.Wrap
- }
-
- Switch {
- id: switchComponent
- anchors.right: parent.right
- }
+ CameraSwitch {
+ id: switchComponent
+ anchors.right: parent.right
+ }
}