27 lines
335 B
C++
Executable File
27 lines
335 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <LtsUtilsCore/ltsutilscore_export.h>
|
|
#include <Qt>
|
|
|
|
namespace LtsUtils
|
|
{
|
|
|
|
class IConnection;
|
|
|
|
|
|
|
|
class LTSUTILSCORE_EXPORT ScopedConnection
|
|
{
|
|
public:
|
|
explicit ScopedConnection(IConnection *connection, Qt::ConnectionType = Qt::AutoConnection);
|
|
~ScopedConnection();
|
|
|
|
private:
|
|
IConnection *m_conn;
|
|
};
|
|
|
|
}
|