This file is indexed.

/usr/include/libkvkontakte/albuminfo.h is in libkvkontakte-dev 1.0~digikam2.5.0-1ubuntu2.

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
/* Copyright 2011 Alexander Potashev <aspotashev@gmail.com>

   This library is free software; you can redistribute it and/or modify
   it under the terms of the GNU Library General Public License as published
   by the Free Software Foundation; either version 2 of the License or
   ( at your option ) version 3 or, at the discretion of KDE e.V.
   ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version.

   This library 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
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public License
   along with this library; see the file COPYING.LIB.  If not, write to
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301, USA.
*/
#ifndef ALBUMINFO_H
#define ALBUMINFO_H

#include <KDE/KDateTime>

#include "libkvkontakte_export.h"

namespace Vkontakte
{

// http://vkontakte.ru/developers.php?o=-1&p=photos.getAlbums
class LIBKVKONTAKTE_EXPORT AlbumInfo : public QObject
{
    Q_OBJECT

    // aid, thumb_id, owner_id, title, description, created, updated, size, privacy
    Q_PROPERTY(int aid WRITE setAid READ aid)
    Q_PROPERTY(int thumb_id WRITE setThumbId READ thumbId)
    Q_PROPERTY(int owner_id WRITE setUid READ uid)
    Q_PROPERTY(QString title WRITE setTitle READ title)
    Q_PROPERTY(QString description WRITE setDescription READ description)
    Q_PROPERTY(QString created WRITE setDateCreatedString READ dateCreatedString)
    Q_PROPERTY(QString updated WRITE setDateUpdatedString READ dateUpdatedString)
    Q_PROPERTY(int size WRITE setSize READ size)
    Q_PROPERTY(int privacy WRITE setPrivacy READ privacy)
    Q_PROPERTY(int comment_privacy WRITE setPrivacy READ privacy)

public:
    enum
    {
        PRIVACY_UNKNOWN = -1,
        PRIVACY_PUBLIC = 0,
        PRIVACY_FRIENDS = 1,
        PRIVACY_FRIENDS_OF_FRIENDS = 2,
        PRIVACY_PRIVATE = 3
    };

    AlbumInfo();
    ~AlbumInfo();

    void setAid(int aid);
    int aid() const;

    void setThumbId(int thumbId);
    int thumbId() const;

    void setUid(int uid);
    int uid() const;

    void setTitle(const QString &title);
    QString title() const;

    void setDescription(const QString &description);
    QString description() const;

    /**
     * Set the creation time of the note
     * @param createdTime Time as UNIX timestamp
     */
    void setDateCreatedString(const QString &dateCreatedString);
    /**
     * Returns the creation date/time as a UNIX timestamp
     */
    QString dateCreatedString() const;
    /**
     * Returns the creation date/time in KDateTime
     */
    KDateTime dateCreated() const;

    void setDateUpdatedString(const QString &dateUpdatedString);
    QString dateUpdatedString() const;
    KDateTime dateUpdated() const;

    void setSize(int size);
    int size() const;

    void setPrivacy(int privacy);
    int privacy() const;

    void setCommentPrivacy(int commentPrivacy);
    int commentPrivacy() const;

private:
    class Private;
    Private * const d;
};

typedef QSharedPointer<AlbumInfo> AlbumInfoPtr;

} /* namespace Vkontakte */

#endif // ALBUMINFO_H