/usr/include/libkdeedu/keduvocwordflags.h is in libkdeedu-dev 4:15.12.3-0ubuntu1.
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 | /***************************************************************************
Copyright 2008 David Capel <wot.narg@gmail.com>
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#ifndef KEDUVOCWORDFLAGS_H
#define KEDUVOCWORDFLAGS_H
#include <QFlags>
class KEduVocWordFlag
{
public:
enum Flags
{
// This is used for both empty flags and to denote no flags of the correct type were set.
NoInformation = 0x0,
// Gender
Masculine = 0x1,
Feminine = 0x2,
Neuter = 0x4,
// Plurality
Singular = 0x10,
Dual = 0x20,
Plural = 0x40,
// Part of Speech
Verb = 0x100,
Noun = 0x200,
Pronoun = 0x400,
Adjective = 0x800,
Adverb = 0x1000,
Article = 0x2000,
Conjunction = 0x4000,
// Person
First = 0x10000,
Second = 0x20000,
Third = 0x40000,
// Declension Case
Nominative = 0x80000,
Genitive = 0x100000,
Dative = 0x200000,
Accusative = 0x400000,
Ablative = 0x800000,
Locative = 0x1000000,
Vocative = 0x2000000,
// Other assorted flags
Definite = 0x4000000, // The article is definite
Indefinite = 0x8000000, // The article is indefinite
Regular = 0x10000000,
Irregular = 0x20000000
};
static const Flags genders = (Flags)(Masculine | Feminine | Neuter);
static const Flags partsOfSpeech =(Flags)(Noun | Verb | Article | Pronoun | Adjective | Adverb | Conjunction);
static const Flags numbers = (Flags)(Singular | Plural | Dual);
static const Flags cases = (Flags)(Nominative|Genitive|Dative|Accusative|Ablative|Locative|Vocative);
static const Flags persons = (Flags)(First | Second | Third);
};
Q_DECLARE_FLAGS(KEduVocWordFlags, KEduVocWordFlag::Flags)
Q_DECLARE_OPERATORS_FOR_FLAGS(KEduVocWordFlags)
#endif
|