File indexing completed on 2024-05-05 05:48:31
0001 /* 0002 CT Month Implementation 0003 -------------------------------------------------------------------- 0004 SPDX-FileCopyrightText: 1999 Gary Meyer <gary@meyer.net> 0005 -------------------------------------------------------------------- 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #include "ctInitializationError.h" 0010 0011 QString CTInitializationError::errorMessage() const 0012 { 0013 return mError; 0014 } 0015 0016 void CTInitializationError::setErrorMessage(const QString &errorMessage) 0017 { 0018 mError = errorMessage; 0019 } 0020 0021 bool CTInitializationError::hasErrorMessage() const 0022 { 0023 if (mError.isEmpty()) { 0024 return false; 0025 } 0026 0027 return true; 0028 }