OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ContentSelectorModel::LoadOrderError Class Reference

Details of a suspected Load Order problem a plug-in will have. This is basically a POD. More...

#include <loadordererror.hpp>

Collaboration diagram for ContentSelectorModel::LoadOrderError:

Public Types

enum  ErrorCode { ErrorCode_None = 0, ErrorCode_MissingDependency = 1, ErrorCode_InactiveDependency = 2, ErrorCode_LoadOrder = 3 }
 

Public Member Functions

 LoadOrderError ()
 
 LoadOrderError (ErrorCode errorCode, QString fileName)
 
ErrorCode errorCode () const
 
QString fileName () const
 
QString toolTip () const
 

Private Attributes

ErrorCode mErrorCode
 
QString mFileName
 

Static Private Attributes

static QString sErrorToolTips [ErrorCode_LoadOrder]
 

Detailed Description

Details of a suspected Load Order problem a plug-in will have. This is basically a POD.

Member Enumeration Documentation

Enumerator
ErrorCode_None 
ErrorCode_MissingDependency 
ErrorCode_InactiveDependency 
ErrorCode_LoadOrder 

Constructor & Destructor Documentation

ContentSelectorModel::LoadOrderError::LoadOrderError ( )
inline
ContentSelectorModel::LoadOrderError::LoadOrderError ( ErrorCode  errorCode,
QString  fileName 
)
inline

Member Function Documentation

ErrorCode ContentSelectorModel::LoadOrderError::errorCode ( ) const
inline
QString ContentSelectorModel::LoadOrderError::fileName ( ) const
inline
QString ContentSelectorModel::LoadOrderError::toolTip ( ) const

Here is the caller graph for this function:

Member Data Documentation

ErrorCode ContentSelectorModel::LoadOrderError::mErrorCode
private
QString ContentSelectorModel::LoadOrderError::mFileName
private
QString ContentSelectorModel::LoadOrderError::sErrorToolTips
staticprivate
Initial value:
=
{
QString("Unable to find dependent file: %1"),
QString("Dependent file needs to be active: %1"),
QString("This file needs to load after %1")
}

The documentation for this class was generated from the following files: