KDDockWidgets API Documentation 2.0
|
Functions | |
static void | fatalWarningsMessageHandler (QtMsgType t, const QMessageLogContext &context, const QString &msg) |
static bool | shouldBlacklistWarning (const QString &msg, const QString &category) |
static void | sleepWithEventLoop (int ms) |
template<typename Func > | |
static bool | waitFor (Func func, int timeout) |
Variables | |
static QtMessageHandler | s_original = nullptr |
|
static |
Definition at line 57 of file TestHelpers_qt.cpp.
References QString::contains(), QString::fromStdString(), KDDockWidgets::Core::Platform::instance(), s_original, and shouldBlacklistWarning().
|
static |
Definition at line 33 of file TestHelpers_qt.cpp.
References QString::contains().
Referenced by fatalWarningsMessageHandler().
|
static |
Definition at line 75 of file TestHelpers_qt.cpp.
References QEventLoop::exec(), QEventLoop::exit(), and QTimer::singleShot.
Referenced by waitFor().
|
static |
Definition at line 88 of file TestHelpers_qt.cpp.
References QElapsedTimer::elapsed(), sleepWithEventLoop(), and QElapsedTimer::start().
|
static |
Definition at line 31 of file TestHelpers_qt.cpp.
Referenced by fatalWarningsMessageHandler().