/usr/include/libkeduvocdocument/keduvocarticle.h is in libkeduvocdocument-dev 4:16.08.0-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 | /***************************************************************************
Copyright 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
Copyright 2005, 2007 Peter Hedlund <peter.hedlund@kdemail.net>
Copyright 2007-2008 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 KEDUVOCARTICLE_H
#define KEDUVOCARTICLE_H
#include "keduvocdocument_export.h"
#include <QtCore/QStringList>
#include "keduvocwordflags.h"
/**
* Class representing the articles of a language
*
* It contains all available articles of the language as QString
*/
class KEDUVOCDOCUMENT_EXPORT KEduVocArticle
{
public:
/**
* The constructor without arguments
*/
explicit KEduVocArticle();
/** copy constructor for d-pointer safety
* @param other article object to copy
*/
KEduVocArticle( const KEduVocArticle &other );
/**
* DEPRECATED The constructor with arguments, assumes singular!
* @param fem_def reference to a QString with the definite female article
* @param fem_indef reference to a QString with the indefinite female article
* @param mal_def reference to a QString with the definite male article
* @param mal_indef reference to a QString with the indefinite male article
* @param nat_def reference to a QString with the definite neutral article
* @param nat_indef reference to a QString with the indefinite neutral article
*/
KEDUVOCDOCUMENT_DEPRECATED KEduVocArticle( const QString &fem_def, const QString &fem_indef, const QString &mal_def, const QString &mal_indef, const QString &nat_def, const QString &nat_indef );
/**
* default destructor, deletes the d pointer
*/
~KEduVocArticle();
/**
* assignment operator for d-pointer copying
*/
KEduVocArticle &operator= ( const KEduVocArticle& other );
QString article(const KEduVocWordFlags&);
void setArticle(const QString& article, const KEduVocWordFlags&);
bool isArticle(const QString& article) const;
bool isEmpty();
private:
class Private;
Private * const d;
};
#endif
|