mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-02 08:33:00 +08:00
18 lines
348 B
C++
18 lines
348 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#include "interface.h"
|
|
#include <QThread>
|
|
|
|
Interface::Interface()
|
|
{
|
|
}
|
|
|
|
int Interface::sleepMethod(int msec)
|
|
{
|
|
QThread::sleep(std::chrono::milliseconds{msec});
|
|
return 42;
|
|
}
|
|
|
|
#include "moc_interface.cpp"
|