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
parent
81a3425d15
commit
0e5d1bb3e4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue