From: Pino Toscano Date: Sat, 3 Mar 2007 10:47:45 +0000 (+0000) Subject: a bit of cleanup X-Git-Tag: v3.90.1~49 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=4f8d7d77eeafbbe5437d35ae66c637e090f7831e;p=libqmvoc.git a bit of cleanup svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=638787 --- diff --git a/kdeeducore/keduvocgrammar.cpp b/kdeeducore/keduvocgrammar.cpp index f562115..c15b61b 100644 --- a/kdeeducore/keduvocgrammar.cpp +++ b/kdeeducore/keduvocgrammar.cpp @@ -93,6 +93,12 @@ QStringList KEduVocConjugation::Private::userTenses; //================================================================ + +KEduVocComparison::KEduVocComparison() +{ +} + + KEduVocComparison::KEduVocComparison(const QString &l1, const QString &l2, const QString &l3) { setL1(l1); @@ -126,6 +132,11 @@ bool KEduVocComparison::operator ==(const KEduVocComparison& a) const //================================================================= +KEduVocArticle::KEduVocArticle() +{ +} + + KEduVocArticle::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) { setFemale (fem_def, fem_indef); diff --git a/kdeeducore/keduvocgrammar.h b/kdeeducore/keduvocgrammar.h index da702ab..97794c5 100644 --- a/kdeeducore/keduvocgrammar.h +++ b/kdeeducore/keduvocgrammar.h @@ -23,14 +23,12 @@ * * ***************************************************************************/ -#ifndef grammarmanager_included -#define grammarmanager_included +#ifndef KEDUVOCGRAMMAR_H +#define KEDUVOCGRAMMAR_H #include -#include -#include -#include +#include #define CONJ_SIMPLE_PRESENT "PrSi" // I live at home what you frequently do #define CONJ_PRESENT_PROGR "PrPr" // I am working what you currently are doing @@ -52,7 +50,6 @@ * * It contains all available articles of the language as QString */ - class KDEEDUCORE_EXPORT KEduVocArticle { public: @@ -60,7 +57,7 @@ public: /** * The constructor without arguments */ - KEduVocArticle() {} + explicit KEduVocArticle(); /** * The constructor with arguments @@ -115,7 +112,7 @@ public: /** * The constructor without arguments */ - KEduVocComparison() {} + explicit KEduVocComparison(); /** * The constructor with arguments @@ -145,7 +142,7 @@ private: }; -class KEduVocTenseRelation +class KDEEDUCORE_EXPORT KEduVocTenseRelation { public: KEduVocTenseRelation() {} @@ -240,4 +237,4 @@ private: Private* const d; }; -#endif // grammarmanager_included +#endif // KEDUVOCGRAMMAR_H