OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
loadordererror.hpp
Go to the documentation of this file.
1 #ifndef LOADORDERERROR_HPP
2 #define LOADORDERERROR_HPP
3 
4 #include <QString>
5 
6 namespace ContentSelectorModel
7 {
10  {
11  public:
12  enum ErrorCode
13  {
18  };
19 
22  : mErrorCode(errorCode), mFileName(fileName) {}
23  inline ErrorCode errorCode() const { return mErrorCode; }
24  inline QString fileName() const { return mFileName; }
25  QString toolTip() const;
26 
27  private:
29  QString mFileName;
31  };
32 }
33 
34 #endif // LOADORDERERROR_HPP
LoadOrderError(ErrorCode errorCode, QString fileName)
Definition: loadordererror.hpp:21
QString mFileName
Definition: loadordererror.hpp:29
ErrorCode mErrorCode
Definition: loadordererror.hpp:28
Details of a suspected Load Order problem a plug-in will have. This is basically a POD...
Definition: loadordererror.hpp:9
LoadOrderError()
Definition: loadordererror.hpp:20
ErrorCode errorCode() const
Definition: loadordererror.hpp:23
ErrorCode
Definition: loadordererror.hpp:12
QString toolTip() const
Definition: loadordererror.cpp:11
QString fileName() const
Definition: loadordererror.hpp:24
static QString sErrorToolTips[ErrorCode_LoadOrder]
Definition: loadordererror.hpp:30