This file is indexed.

/usr/share/kadu/qml/Contact.qml is in kadu-common 4.1-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
import QtQuick 2.3

Rectangle
{
	property string displayName : ""
	property string avatarPath : ""
	property string statusIconPath : ""

	property color textColor

	id: container
	clip: true

	Row
	{
		id: content
		anchors.horizontalCenter: parent.horizontalCenter
		anchors.verticalCenter: parent.verticalCenter
		spacing: 10
		width: parent.width - 10
		height: parent.height - 10

		Item
		{
			id: avatarContainer
			width: parent.height
			height: parent.height

			Rectangle
			{
				anchors.horizontalCenter: parent.horizontalCenter
				anchors.verticalCenter: parent.verticalCenter
				border.color: avatarImage.status == Image.Ready ? "transparent" : "#dedede"
				height: width
				width: parent.width

				Image
				{
					id: avatarImage
					anchors
					{
						fill: parent
						margins: 1
					}
					fillMode: Image.PreserveAspectFit
					source: "file:///" + avatarPath
				}

				Image
				{
					id: statusImage
					anchors
					{
						right: parent.right
						bottom: parent.bottom
						margins: 5
					}
					width: 16
					height: 16
					fillMode: Image.PreserveAspectFit
					source: statusIconPath
				}
			}
		}

		Text
		{
			anchors.top: parent.top
			width: parent.width - avatarContainer.width - 20
			height: parent.height
			clip: true
			color: container.state == "normal" ? container.textColor : pallete.highlightedText

			maximumLineCount: 2
			text: displayName
			wrapMode: Text.WordWrap
		}
	}

	MouseArea
	{
		id: mouseArea
		anchors.fill: parent
		hoverEnabled: true
	}

	SystemPalette
	{
		id: pallete
	}

	states:
	[
		State
		{
			name: "normal"
			when: !mouseArea.containsMouse
			PropertyChanges { target: container; color: "transparent" }
		},

		State
		{
			name: "hover"
			when: mouseArea.containsMouse
			PropertyChanges { target: container; color: Qt.lighter(pallete.highlight) }
		}
	]

	transitions:
	[
		Transition
		{
			from: "normal"; to: "hover"; reversible: true
			ColorAnimation
			{
				duration: 300
			}
		}
	]

}