File indexing completed on 2025-01-05 04:37:34
0001 /* 0002 SPDX-FileCopyrightText: 2009 Joris Guisson <joris.guisson@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef UTP_UTPSERVERTHREAD_H 0008 #define UTP_UTPSERVERTHREAD_H 0009 0010 #include <QThread> 0011 #include <ktorrent_export.h> 0012 0013 namespace utp 0014 { 0015 class UTPServer; 0016 0017 class KTORRENT_EXPORT UTPServerThread : public QThread 0018 { 0019 Q_OBJECT 0020 public: 0021 UTPServerThread(UTPServer *srv); 0022 ~UTPServerThread() override; 0023 0024 void run() override; 0025 0026 protected: 0027 UTPServer *srv; 0028 }; 0029 0030 } 0031 0032 #endif // UTP_UTPSERVERTHREAD_H