libkdeedu/keduvocdocument
KEduVocComparison Class Reference
#include <keduvocgrammar.h>
Detailed Description
Definition at line 113 of file keduvocgrammar.h.
Public Member Functions | |
| KEduVocComparison () | |
| KEduVocComparison (const KEduVocComparison &other) | |
| KEduVocComparison (const QString &l1, const QString &l2, const QString &l3) | |
| ~KEduVocComparison () | |
| void | setL1 (const QString &s) |
| void | setL2 (const QString &s) |
| void | setL3 (const QString &s) |
| QString | l1 () const |
| QString | l2 () const |
| QString | l3 () const |
| bool | isEmpty () const |
| void | clear () |
| bool | operator== (const KEduVocComparison &a) const |
| KEduVocComparison & | operator= (const KEduVocComparison &other) |
Constructor & Destructor Documentation
| KEduVocComparison::KEduVocComparison | ( | ) | [explicit] |
| KEduVocComparison::KEduVocComparison | ( | const KEduVocComparison & | other | ) |
copy constructor
- Parameters:
-
other comparison object to copy
Definition at line 44 of file keduvocgrammar.cpp.
The constructor with arguments.
- Parameters:
-
l1 l2 l3
Definition at line 52 of file keduvocgrammar.cpp.
| KEduVocComparison::~KEduVocComparison | ( | ) |
Member Function Documentation
| void KEduVocComparison::setL1 | ( | const QString & | s | ) |
set the first comparison
- Parameters:
-
s value to set
Definition at line 92 of file keduvocgrammar.cpp.
| void KEduVocComparison::setL2 | ( | const QString & | s | ) |
set the second comparison
- Parameters:
-
s value to set
Definition at line 97 of file keduvocgrammar.cpp.
| void KEduVocComparison::setL3 | ( | const QString & | s | ) |
set the third comparison
- Parameters:
-
s value to set
Definition at line 102 of file keduvocgrammar.cpp.
| QString KEduVocComparison::l1 | ( | ) | const |
get the first comparison
- Returns:
- the first comparison
Definition at line 107 of file keduvocgrammar.cpp.
| QString KEduVocComparison::l2 | ( | ) | const |
get the second comparison
- Returns:
- the second comparison
Definition at line 111 of file keduvocgrammar.cpp.
| QString KEduVocComparison::l3 | ( | ) | const |
get the third comparison
- Returns:
- the third comparison
Definition at line 116 of file keduvocgrammar.cpp.
| bool KEduVocComparison::isEmpty | ( | ) | const |
is the comparison empty
- Returns:
- true if empty, false otherwise
Definition at line 74 of file keduvocgrammar.cpp.
| void KEduVocComparison::clear | ( | ) |
| bool KEduVocComparison::operator== | ( | const KEduVocComparison & | a | ) | const |
equality operator
- Parameters:
-
a object to compare to
- Returns:
- true if comparisons are the same, false otherwise
Definition at line 87 of file keduvocgrammar.cpp.
| KEduVocComparison & KEduVocComparison::operator= | ( | const KEduVocComparison & | other | ) |
assignment operator for d-pointer copying
- Parameters:
-
other object to copy from
- Returns:
- reference to this object
Definition at line 65 of file keduvocgrammar.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference