Home
last modified time | relevance | path

Searched refs:ConnectionThread (Results 1 – 25 of 266) sorted by relevance

1234567891011

/dports/graphics/wrapland/wrapland-6a083c7bc9b37c5f756155e258b1fff4d24cea2a/src/client/
H A Dconnection_thread.cpp46 Private(ConnectionThread* q);
71 ConnectionThread* q;
74 QVector<ConnectionThread*> ConnectionThread::Private::connections = QVector<ConnectionThread*>{};
77 ConnectionThread::Private::Private(ConnectionThread* q) in Private()
166 ConnectionThread::ConnectionThread(QObject* parent) in ConnectionThread() function in Wrapland::Client::ConnectionThread
182 ConnectionThread::ConnectionThread(wl_display* display, QObject* parent) in ConnectionThread() function in Wrapland::Client::ConnectionThread
190 ConnectionThread::~ConnectionThread() in ~ConnectionThread()
195 ConnectionThread* ConnectionThread::fromApplication(QObject* parent) in fromApplication()
251 void ConnectionThread::flush() in flush()
259 void ConnectionThread::roundtrip() in roundtrip()
[all …]
H A Dconnection_thread.h129 class WRAPLANDCLIENT_EXPORT ConnectionThread : public QObject
133 explicit ConnectionThread(QObject* parent = nullptr);
134 virtual ~ConnectionThread();
153 static ConnectionThread* fromApplication(QObject* parent = nullptr);
251 static QVector<ConnectionThread*> connections();
297 explicit ConnectionThread(wl_display* display, QObject* parent);
H A Devent_queue.cpp37 ConnectionThread* connection = nullptr;
63 disconnect(d->connection, &ConnectionThread::eventsRead, this, &EventQueue::dispatch); in release()
84 void EventQueue::setup(ConnectionThread* connection) in setup()
89 &ConnectionThread::eventsRead, in setup()
/dports/x11/kf5-kwayland/kwayland-5.89.0/src/client/
H A Dconnection_thread.cpp28 Private(ConnectionThread *q);
48 ConnectionThread *q;
51 QVector<ConnectionThread *> ConnectionThread::Private::connections = QVector<ConnectionThread *>{};
54 ConnectionThread::Private::Private(ConnectionThread *q) in Private()
165 ConnectionThread::ConnectionThread(QObject *parent) in ConnectionThread() function in KWayland::Client::ConnectionThread
181 ConnectionThread::ConnectionThread(wl_display *display, QObject *parent) in ConnectionThread() function in KWayland::Client::ConnectionThread
189 ConnectionThread::~ConnectionThread() in ~ConnectionThread()
194 ConnectionThread *ConnectionThread::fromApplication(QObject *parent) in fromApplication()
204 ConnectionThread *ct = new ConnectionThread(display, parent); in fromApplication()
247 void ConnectionThread::flush() in flush()
[all …]
H A Dconnection_thread.h106 class KWAYLANDCLIENT_EXPORT ConnectionThread : public QObject
110 explicit ConnectionThread(QObject *parent = nullptr);
111 ~ConnectionThread() override;
130 static ConnectionThread *fromApplication(QObject *parent = nullptr);
191 static QVector<ConnectionThread *> connections();
246 explicit ConnectionThread(wl_display *display, QObject *parent);
/dports/x11/kf5-kwayland/kwayland-5.89.0/autotests/client/
H A Dtest_wayland_connection_thread.cpp70 QVERIFY(KWayland::Client::ConnectionThread::connections().isEmpty()); in testInitConnectionNoThread()
71 …QScopedPointer<KWayland::Client::ConnectionThread> connection(new KWayland::Client::ConnectionThre… in testInitConnectionNoThread()
78 QSignalSpy failedSpy(connection.data(), &KWayland::Client::ConnectionThread::failed); in testInitConnectionNoThread()
86 QVERIFY(KWayland::Client::ConnectionThread::connections().isEmpty()); in testInitConnectionNoThread()
91 …QScopedPointer<KWayland::Client::ConnectionThread> connection(new KWayland::Client::ConnectionThre… in testConnectionFailure()
123 KWayland::Client::ConnectionThread *connection = new KWayland::Client::ConnectionThread; in testConnectionThread()
132 QSignalSpy failedSpy(connection, &KWayland::Client::ConnectionThread::failed); in testConnectionThread()
141 QSignalSpy eventsSpy(connection, &KWayland::Client::ConnectionThread::eventsRead); in testConnectionThread()
171 …QScopedPointer<KWayland::Client::ConnectionThread> connection(new KWayland::Client::ConnectionThre… in testConnectionDieing()
207 ConnectionThread *connection = new ConnectionThread; in testConnectFd()
[all …]
H A Dtest_wayland_subcompositor.cpp33 KWayland::Client::ConnectionThread *m_connection;
62 m_connection = new KWayland::Client::ConnectionThread; in init()
63 QSignalSpy connectedSpy(m_connection, &KWayland::Client::ConnectionThread::connected); in init()
123 …connect(m_connection, &ConnectionThread::connectionDied, m_subCompositor, &SubCompositor::destroy); in testDestroy()
124 connect(m_connection, &ConnectionThread::connectionDied, m_queue, &EventQueue::destroy); in testDestroy()
127 QSignalSpy connectionDiedSpy(m_connection, &KWayland::Client::ConnectionThread::connectionDied); in testDestroy()
H A Dtest_error.cpp47 ConnectionThread *m_connection = nullptr;
73 m_connection = new KWayland::Client::ConnectionThread; in init()
74 QSignalSpy connectedSpy(m_connection, &ConnectionThread::connected); in init()
140 QSignalSpy errorSpy(m_connection, &ConnectionThread::errorOccurred); in testMultipleShellSurfacesForSurface()
153 QSignalSpy errorSpy(m_connection, &ConnectionThread::errorOccurred); in testMultiplePlasmaShellSurfacesForSurface()
178 QSignalSpy errorSpy(m_connection, &ConnectionThread::errorOccurred); in testTransientForSameSurface()
H A Dtest_compositor.cpp35 KWayland::Client::ConnectionThread *m_connection;
62 m_connection = new KWayland::Client::ConnectionThread; in init()
63 QSignalSpy connectedSpy(m_connection, &KWayland::Client::ConnectionThread::connected); in init()
113 connect(m_connection, &ConnectionThread::connectionDied, m_compositor, &Compositor::destroy); in testDestroy()
116 QSignalSpy connectionDiedSpy(m_connection, &KWayland::Client::ConnectionThread::connectionDied); in testDestroy()
H A Dtest_wayland_fullscreen_shell.cpp86 KWayland::Client::ConnectionThread connection; in testRegistry()
87 QSignalSpy connectedSpy(&connection, &KWayland::Client::ConnectionThread::connected); in testRegistry()
121 KWayland::Client::ConnectionThread connection; in testRegistryCreate()
122 QSignalSpy connectedSpy(&connection, &KWayland::Client::ConnectionThread::connected); in testRegistryCreate()
H A Dtest_wayland_region.cpp39 KWayland::Client::ConnectionThread *m_connection;
68 m_connection = new KWayland::Client::ConnectionThread; in init()
69 QSignalSpy connectedSpy(m_connection, &KWayland::Client::ConnectionThread::connected); in init()
256 connect(m_connection, &ConnectionThread::connectionDied, region.data(), &Region::destroy); in testDestroy()
257 connect(m_connection, &ConnectionThread::connectionDied, m_compositor, &Compositor::destroy); in testDestroy()
258 connect(m_connection, &ConnectionThread::connectionDied, m_queue, &EventQueue::destroy); in testDestroy()
261 QSignalSpy connectionDiedSpy(m_connection, &KWayland::Client::ConnectionThread::connectionDied); in testDestroy()
H A Dtest_datasource.cpp42 KWayland::Client::ConnectionThread *m_connection = nullptr;
60 m_connection = new KWayland::Client::ConnectionThread; in init()
61 QSignalSpy connectedSpy(m_connection, &KWayland::Client::ConnectionThread::connected); in init()
310 …connect(m_connection, &ConnectionThread::connectionDied, m_dataDeviceManager, &DataDeviceManager::… in testDestroy()
311 connect(m_connection, &ConnectionThread::connectionDied, m_queue, &EventQueue::destroy); in testDestroy()
312 … connect(m_connection, &ConnectionThread::connectionDied, dataSource.data(), &DataSource::destroy); in testDestroy()
314 QSignalSpy connectionDiedSpy(m_connection, &KWayland::Client::ConnectionThread::connectionDied); in testDestroy()
/dports/graphics/wrapland/wrapland-6a083c7bc9b37c5f756155e258b1fff4d24cea2a/autotests/client/
H A Dconnection_thread.cpp84 QVERIFY(Cnt::ConnectionThread::connections().isEmpty()); in testInitConnectionNoThread()
85 std::unique_ptr<Cnt::ConnectionThread> connection(new Cnt::ConnectionThread); in testInitConnectionNoThread()
101 QVERIFY(Cnt::ConnectionThread::connections().isEmpty()); in testInitConnectionNoThread()
106 std::unique_ptr<Cnt::ConnectionThread> connection(new Cnt::ConnectionThread); in testConnectionFailure()
143 auto* connection = new Cnt::ConnectionThread; in testConnectionThread()
152 QSignalSpy failedSpy(connection, &Cnt::ConnectionThread::failed); in testConnectionThread()
161 QSignalSpy eventsSpy(connection, &Cnt::ConnectionThread::eventsRead); in testConnectionThread()
170 &Cnt::ConnectionThread::eventsRead, in testConnectionThread()
197 std::unique_ptr<Cnt::ConnectionThread> connection(new Cnt::ConnectionThread); in testConnectionDying()
240 auto* connection = new Cnt::ConnectionThread; in testConnectFd()
[all …]
H A Dsubcompositor.cpp46 Wrapland::Client::ConnectionThread* m_connection;
72 m_connection = new Wrapland::Client::ConnectionThread; in init()
73 QSignalSpy connectedSpy(m_connection, &Wrapland::Client::ConnectionThread::establishedChanged); in init()
136 &ConnectionThread::establishedChanged, in testDestroy()
139 connect(m_connection, &ConnectionThread::establishedChanged, m_queue, &EventQueue::release); in testDestroy()
H A Derror.cpp55 Wrapland::Client::ConnectionThread* m_connection = nullptr;
78 m_connection = new Wrapland::Client::ConnectionThread; in init()
79 QSignalSpy connectedSpy(m_connection, &Wrapland::Client::ConnectionThread::establishedChanged); in init()
152 QSignalSpy errorSpy(m_connection, &Wrapland::Client::ConnectionThread::establishedChanged); in testMultipleShellSurfacesForSurface()
172 QSignalSpy errorSpy(m_connection, &Wrapland::Client::ConnectionThread::establishedChanged); in testMultiplePlasmaShellSurfacesForSurface()
H A Dcompositor.cpp49 Wrapland::Client::ConnectionThread* m_connection;
74 m_connection = new Wrapland::Client::ConnectionThread; in init()
76 &Wrapland::Client::ConnectionThread::establishedChanged); in init()
134 QSignalSpy connectionSpy(m_connection, &Wrapland::Client::ConnectionThread::establishedChanged); in testConnectionLoss()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/platform/linux/
H A Dlinux_wayland_integration.cpp25 std::unique_ptr<ConnectionThread> connection;
34 _private->connection = std::unique_ptr<ConnectionThread>{ in WaylandIntegration()
35 ConnectionThread::fromApplication(), in WaylandIntegration()
43 &ConnectionThread::connectionDied, in WaylandIntegration()
57 &ConnectionThread::connectionDied, in WaylandIntegration()
72 &ConnectionThread::connectionDied, in WaylandIntegration()
87 &ConnectionThread::connectionDied, in WaylandIntegration()
/dports/x11/plasma5-kwayland-server/kwayland-server-5.23.5/autotests/client/
H A Dtest_wayland_subcompositor.cpp31 KWayland::Client::ConnectionThread *m_connection;
60 m_connection = new KWayland::Client::ConnectionThread; in init()
61 QSignalSpy connectedSpy(m_connection, &KWayland::Client::ConnectionThread::connected); in init()
119 …connect(m_connection, &ConnectionThread::connectionDied, m_subCompositor, &SubCompositor::destroy); in testDestroy()
120 connect(m_connection, &ConnectionThread::connectionDied, m_queue, &EventQueue::destroy); in testDestroy()
123 QSignalSpy connectionDiedSpy(m_connection, &KWayland::Client::ConnectionThread::connectionDied); in testDestroy()
H A Dtest_compositor.cpp33 KWayland::Client::ConnectionThread *m_connection;
60 m_connection = new KWayland::Client::ConnectionThread; in init()
61 QSignalSpy connectedSpy(m_connection, &KWayland::Client::ConnectionThread::connected); in init()
105 connect(m_connection, &ConnectionThread::connectionDied, m_compositor, &Compositor::destroy); in testDestroy()
108 QSignalSpy connectionDiedSpy(m_connection, &KWayland::Client::ConnectionThread::connectionDied); in testDestroy()
H A Dtest_error.cpp40 ConnectionThread *m_connection = nullptr;
61 m_connection = new KWayland::Client::ConnectionThread; in init()
62 QSignalSpy connectedSpy(m_connection, &ConnectionThread::connected); in init()
124 QSignalSpy errorSpy(m_connection, &ConnectionThread::errorOccurred); in testMultiplePlasmaShellSurfacesForSurface()
H A Dtest_datasource.cpp39 KWayland::Client::ConnectionThread *m_connection = nullptr;
57 m_connection = new KWayland::Client::ConnectionThread; in init()
58 QSignalSpy connectedSpy(m_connection, &KWayland::Client::ConnectionThread::connected); in init()
276 …connect(m_connection, &ConnectionThread::connectionDied, m_dataDeviceManager, &DataDeviceManager::… in testDestroy()
277 connect(m_connection, &ConnectionThread::connectionDied, m_queue, &EventQueue::destroy); in testDestroy()
278 … connect(m_connection, &ConnectionThread::connectionDied, dataSource.data(), &DataSource::destroy); in testDestroy()
280 QSignalSpy connectionDiedSpy(m_connection, &KWayland::Client::ConnectionThread::connectionDied); in testDestroy()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/transport/util/
H A DConnectionThread.cpp36 ConnectionThread::~ConnectionThread() { in ~ConnectionThread()
41 std::shared_ptr<ClientConnectionIf> ConnectionThread::getConnection( in getConnection()
50 void ConnectionThread::maybeCreateConnection( in maybeCreateConnection()
H A DConnectionThread.h39 class ConnectionThread : public folly::ScopedEventBaseThread {
41 ConnectionThread() = default;
42 ~ConnectionThread();
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/platform/linux/
H A Dui_linux_wayland_integration.cpp40 std::unique_ptr<ConnectionThread> connection;
48 _private->connection = std::unique_ptr<ConnectionThread>{ in WaylandIntegration()
49 ConnectionThread::fromApplication(), in WaylandIntegration()
57 &ConnectionThread::connectionDied, in WaylandIntegration()
/dports/x11/plasma5-kwayland-integration/kwayland-integration-5.23.5/src/windowsystem/
H A Dwaylandintegration.h21 class ConnectionThread; variable
41 KWayland::Client::ConnectionThread *waylandConnection() const;
53 QPointer<KWayland::Client::ConnectionThread> m_waylandConnection;

1234567891011