diff options
author | Michele Calgaro <[email protected]> | 2024-01-01 17:47:34 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-01 17:47:34 +0900 |
commit | 27fd576acbb8b9453dadd7d1ae949396eef8fc12 (patch) | |
tree | ee739b602572a496ce9ca24318cf1b371dbd7174 /libktorrent/torrent/peerdownloader.cpp | |
parent | 09d3e49e01a4b798762fd505810b092fd0c77b47 (diff) | |
download | ktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.tar.gz ktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'libktorrent/torrent/peerdownloader.cpp')
-rw-r--r-- | libktorrent/torrent/peerdownloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/torrent/peerdownloader.cpp b/libktorrent/torrent/peerdownloader.cpp index 6f0738f..4909c5a 100644 --- a/libktorrent/torrent/peerdownloader.cpp +++ b/libktorrent/torrent/peerdownloader.cpp @@ -70,8 +70,8 @@ namespace bt PeerDownloader::PeerDownloader(Peer* peer,Uint32 chunk_size) : peer(peer),grabbed(0),chunk_size(chunk_size / MAX_PIECE_LEN) { - connect(peer,TQT_SIGNAL(piece(const Piece& )),this,TQT_SLOT(piece(const Piece& ))); - connect(peer,TQT_SIGNAL(destroyed()),this,TQT_SLOT(peerDestroyed())); + connect(peer,TQ_SIGNAL(piece(const Piece& )),this,TQ_SLOT(piece(const Piece& ))); + connect(peer,TQ_SIGNAL(destroyed()),this,TQ_SLOT(peerDestroyed())); nearly_done = false; max_wait_queue_size = 25; } |