QSystemError: unexport the class and export only some methods

Change-Id: Idaa189413f404cffb1eafffd14cef1f64308fa50
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
bb10
Thiago Macieira 2017-07-06 21:29:25 -07:00
parent 81a3425d15
commit 0e5d1bb3e4
1 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@
QT_BEGIN_NAMESPACE
class Q_CORE_EXPORT QSystemError
class QSystemError
{
public:
enum ErrorScope
@ -76,10 +76,10 @@ public:
Q_DECL_CONSTEXPR ErrorScope scope() const { return errorScope; }
Q_DECL_CONSTEXPR int error() const { return errorCode; }
static QString string(ErrorScope errorScope, int errorCode);
static QString stdString(int errorCode = -1);
static Q_CORE_EXPORT QString string(ErrorScope errorScope, int errorCode);
static Q_CORE_EXPORT QString stdString(int errorCode = -1);
#ifdef Q_OS_WIN
static QString windowsString(int errorCode = -1);
static Q_CORE_EXPORT QString windowsString(int errorCode = -1);
#endif
//data members