]> git.tdb.fi Git - xinema.git/blobdiff - remote/qml/pages/ChannelItem.qml
Move non-page qml components to a separate subdirectory
[xinema.git] / remote / qml / pages / ChannelItem.qml
diff --git a/remote/qml/pages/ChannelItem.qml b/remote/qml/pages/ChannelItem.qml
deleted file mode 100644 (file)
index 714e707..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-import QtQuick 2.0
-import Sailfish.Silica 1.0
-
-Label
-{
-       id: item
-
-       anchors
-       {
-               left: parent.left
-               right: parent.right
-               margins: Theme.paddingLarge
-       }
-
-       property int channelIndex: 0
-       property string channelName: ""
-       property bool down: false
-
-       signal clicked()
-
-       text: channelIndex+": "+channelName
-       horizontalAlignment: Text.AlignHCenter
-       color: down ? Theme.primaryColor : Theme.highlightColor
-
-       MouseArea
-       {
-               anchors.fill: parent
-
-               onClicked: item.clicked()
-       }
-}