/usr/include/libkeduvocdocument/keduvocdeclension.h is in libkeduvocdocument-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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | /***************************************************************************
C++ Interface: keduvocdeclension
-----------------------------------------------------------------------
begin : Do Sep 20 2007
copyright : (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
-----------------------------------------------------------------------
***************************************************************************/
/***************************************************************************
* *
* 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 KEDUVOCDECLENSION_H
#define KEDUVOCDECLENSION_H
#include "keduvocdocument_export.h"
#include "keduvoctext.h"
#include "keduvocwordflags.h"
/**
A declension contains all forms that a NOUN possibly can have.
@author Frederik Gladhorn <frederik.gladhorn@kdemail.net>
*/
class KEDUVOCDOCUMENT_EXPORT KEduVocDeclension{
public:
/**
* The constructor without arguments
*/
explicit KEduVocDeclension();
/** copy constructor
* @param other comparison object to copy
*/
KEduVocDeclension( const KEduVocDeclension &other );
~KEduVocDeclension();
/** equality operator
* @param a object to compare to
* @returns true if comparisons are the same, false otherwise
*/
// will probably not be necessary
// bool operator == ( const KEduVocDeclension& a ) const;
/** assignment operator for d-pointer copying
* @param other object to copy from
* @returns reference to this object
*/
KEduVocDeclension& operator= ( const KEduVocDeclension& other );
/**
* The grammatical number, there is singular and plural for english, some languages have dual for exactly two items.
* @param gender
* @param decCase
* @return
*/
KEduVocText& declension(KEduVocWordFlags flags);
/**
* Set a declension
* @param
* @param number
* @param decCase
*/
void setDeclension(const KEduVocText& declension, KEduVocWordFlags flags);
bool isEmpty();
/**
* Create xml for this declension
* @param parent
*/
void toKVTML2(QDomElement& parent);
/**
* Reads a declension from xml, returns 0 if it is empty
* @param parent
* @return
*/
static KEduVocDeclension* fromKVTML2(QDomElement& parent);
private:
class Private;
Private * const d;
};
#endif
|