From 2685e8e4fbbc480bbc9edf991faace7082987f38 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Tue, 9 Dec 2014 22:07:31 +0100 Subject: -New API for result type. --- result.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'result.cpp') diff --git a/result.cpp b/result.cpp index b38ffd2..86f5283 100644 --- a/result.cpp +++ b/result.cpp @@ -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); } -- cgit v1.2.3-70-g09d2