diff options
| author | 2014-12-09 22:07:31 +0100 | |
|---|---|---|
| committer | 2014-12-09 22:07:31 +0100 | |
| commit | 2685e8e4fbbc480bbc9edf991faace7082987f38 (patch) | |
| tree | fcd9b208f08a36346134de6c8ee3913b8d31fc2f /result.cpp | |
| parent | fa1c05a58698d3a6c049479eb8f7d88ac9ddb348 (diff) | |
| download | OneRoll-2685e8e4fbbc480bbc9edf991faace7082987f38.tar.gz OneRoll-2685e8e4fbbc480bbc9edf991faace7082987f38.zip | |
-New API for result type.
Diffstat (limited to 'result.cpp')
| -rw-r--r-- | result.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -36,12 +36,8 @@ void Result::setPrevious(Result* p) m_previous = p; } -bool Result::isStringResult() -{ - return false; -} -QString Result::getStringResult() +bool Result::hasResultOfType(RESULT_TYPE type) const { - return QString(); + return (m_resultTypes & type); } |