Warning, file /plasma/latte-dock/app/data/errorinformationdata.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef ERRORINFORMATIONDATA_H 0007 #define ERRORINFORMATIONDATA_H 0008 0009 //! local 0010 #include "genericdata.h" 0011 #include "appletdata.h" 0012 0013 //! Qt 0014 #include <QMetaType> 0015 #include <QString> 0016 0017 namespace Latte { 0018 namespace Data { 0019 0020 class ErrorInformation : public Generic 0021 { 0022 public: 0023 ErrorInformation(); 0024 ErrorInformation(ErrorInformation &&o); 0025 ErrorInformation(const ErrorInformation &o); 0026 0027 //! error data 0028 Data::Applet containment; 0029 Data::Applet applet; 0030 0031 bool isValid() const; 0032 0033 //! Operators 0034 ErrorInformation &operator=(const ErrorInformation &rhs); 0035 ErrorInformation &operator=(ErrorInformation &&rhs); 0036 bool operator==(const ErrorInformation &rhs) const; 0037 bool operator!=(const ErrorInformation &rhs) const; 0038 }; 0039 0040 typedef ErrorInformation WarningInformation; 0041 0042 } 0043 } 0044 0045 Q_DECLARE_METATYPE(Latte::Data::ErrorInformation) 0046 0047 #endif