This file is indexed.

/usr/include/kadu/plugins/emoticons/emoticon.h is in kadu-dev 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
/*
 * %kadu copyright begin%
 * Copyright 2013 Bartosz Brachaczek (b.brachaczek@gmail.com)
 * Copyright 2012, 2013, 2014 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com)
 * %kadu copyright end%
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef EMOTICON_H
#define EMOTICON_H

#include <QtCore/QMetaType>
#include <QtCore/QString>

#include "emoticons-exports.h"

/**
 * @addtogroup Emoticons
 * @{
 */

/**
 * @class Emoticon
 * @short Emoticon representation.
 * @author Rafał 'Vogel' Malinowski
 */
class EMOTICONSAPI_TESTS Emoticon
{
	QString TriggerText;
	QString StaticFilePath;
	QString AnimatedFilePath;

public:
	/**
	 * @short Create null emoticon.
	 * @author Rafał 'Vogel' Malinowski
	 */
	Emoticon();

	/**
	 * @short Create emoticon.
	 * @author Rafał 'Vogel' Malinowski
	 * @param triggerText text that triggers this emoticon to display
	 * @param staticFilePath file path of not-animated version of emoticon
	 * @param animatedFilePath file path of animated version of emoticon
	 */
	Emoticon(const QString &triggerText, const QString &staticFilePath, const QString &animatedFilePath);

	/**
	 * @short Create copy of emoticon.
	 * @author Rafał 'Vogel' Malinowski
	 * @param copyMe emoticon to copy
	 */
	Emoticon(const Emoticon &copyMe);

	Emoticon & operator = (const Emoticon &copyMe);

	/**
	 * @short Check if emoticon is null.
	 * @author Rafał 'Vogel' Malinowski
	 * @return true, if emoticon is null
	 */
	bool isNull() const;

	/**
	 * @short Return text that triggers this emoticon.
	 * @author Rafał 'Vogel' Malinowski
	 * @return text that triggers this emoticon
	 */
	QString triggerText() const;

	/**
	 * @short Return file path of not-animated version of emoticon.
	 * @author Rafał 'Vogel' Malinowski
	 * @return file path of not-animated version of emoticon
	 */
	QString staticFilePath() const;

	/**
	 * @short Return file path of animated version of emoticon.
	 * @author Rafał 'Vogel' Malinowski
	 * @return file path of animated version of emoticon
	 */
	QString animatedFilePath() const;

};

Q_DECLARE_METATYPE(Emoticon);

/**
 * @}
 */

#endif // EMOTICON_H