/dports/net-p2p/ktorrent/ktorrent-21.12.3/libktcore/torrent/ |
H A D | queuemanager.h | 39 static bool biggerThan(bt::TorrentInterface *tc1, bt::TorrentInterface *tc2); 54 void append(bt::TorrentInterface *tc); 55 void remove(bt::TorrentInterface *tc); 88 void stop(bt::TorrentInterface *tc); 94 void start(QList<bt::TorrentInterface *> &todo); 100 void stop(QList<bt::TorrentInterface *> &todo); 170 bt::TorrentInterface *getTorrent(bt::Uint32 idx); 275 void torrentFinished(bt::TorrentInterface *tc); 277 void torrentRemoved(bt::TorrentInterface *tc); 279 void torrentStopped(bt::TorrentInterface *tc); [all …]
|
H A D | queuemanager.cpp | 203 QList<bt::TorrentInterface *> tmp; in checkDiskSpace() 224 bt::TorrentInterface *tc = *i; in checkDiskSpace() 237 QList<bt::TorrentInterface *> tmp; in checkMaxSeedTime() 263 QList<bt::TorrentInterface *> tmp; in checkMaxRatio() 332 QList<bt::TorrentInterface *> todo; in startAll() 359 QList<bt::TorrentInterface *> todo; in startAutoStartTorrents() 376 bt::TorrentInterface *tc = *i; in onExit() 404 const TorrentInterface *tc = *i; in getNumRunning() 656 TorrentInterface *tc = *it; in setSuspendedState() 850 : QList<bt::TorrentInterface *>() in QueuePtrList() [all …]
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/ktorrent/ |
H A D | core.h | 21 class TorrentInterface; variable 107 void start(bt::TorrentInterface *tc) override; 109 void stop(bt::TorrentInterface *tc) override; 113 void pause(bt::TorrentInterface *tc) override; 152 void onStatusChanged(bt::TorrentInterface *tc); 179 void corruptedData(bt::TorrentInterface *tc); 212 void openedSilently(bt::TorrentInterface *tc); 221 void connectSignals(bt::TorrentInterface *tc); 234 void torrentFinished(bt::TorrentInterface *tc); 240 void autoCheckData(bt::TorrentInterface *tc); [all …]
|
H A D | trayicon.h | 69 void torrentSilentlyOpened(bt::TorrentInterface *tc); 75 void finished(bt::TorrentInterface *tc); 81 void maxShareRatioReached(bt::TorrentInterface *tc); 87 void maxSeedTimeReached(bt::TorrentInterface *tc); 94 void torrentStoppedByError(bt::TorrentInterface *tc, QString msg); 100 void corruptedData(bt::TorrentInterface *tc); 106 void queuingNotPossible(bt::TorrentInterface *tc); 113 void canNotStart(bt::TorrentInterface *tc, bt::TorrentStartResponse reason); 116 void lowDiskSpace(bt::TorrentInterface *tc, bool stopped);
|
H A D | core.cpp | 488 void Core::start(bt::TorrentInterface *tc) in start() 524 void Core::stop(bt::TorrentInterface *tc) in stop() 534 void Core::pause(TorrentInterface *tc) in pause() 654 bt::TorrentInterface *tc = *i; in remove() 693 void Core::delayedRemove(bt::TorrentInterface *tc) in delayedRemove() 784 QList<bt::TorrentInterface *> succes; in changeDataDir() 788 bt::TorrentInterface *tc = *i; in changeDataDir() 872 bt::TorrentInterface *tc = *i; in update() 1019 bool Core::checkMissingFiles(TorrentInterface *tc) in checkMissingFiles() 1141 void Core::autoCheckData(bt::TorrentInterface *tc) in autoCheckData() [all …]
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/libktcore/interfaces/ |
H A D | coreinterface.h | 17 class TorrentInterface; variable 90 virtual void start(bt::TorrentInterface *tc) = 0; 96 virtual void start(QList<bt::TorrentInterface *> &todo) = 0; 103 virtual void stop(bt::TorrentInterface *tc) = 0; 109 virtual void stop(QList<bt::TorrentInterface *> &todo) = 0; 115 virtual void pause(bt::TorrentInterface *tc) = 0; 121 virtual void pause(QList<bt::TorrentInterface *> &todo) = 0; 185 virtual void remove(bt::TorrentInterface *tc, bool data_to) = 0; 241 void torrentAdded(bt::TorrentInterface *tc); 247 void torrentRemoved(bt::TorrentInterface *tc); [all …]
|
H A D | torrentactivityinterface.h | 14 class TorrentInterface; 36 virtual void currentTorrentChanged(bt::TorrentInterface *tc) = 0; 55 virtual const bt::TorrentInterface *getCurrentTorrent() const = 0; 58 virtual bt::TorrentInterface *getCurrentTorrent() = 0; 77 void notifyViewListeners(bt::TorrentInterface *tc);
|
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/interfaces/ |
H A D | torrentinterface.h | 68 class KTORRENT_EXPORT TorrentInterface : public QObject in PeerSource() 72 TorrentInterface(); in PeerSource() 73 ~TorrentInterface() override; in PeerSource() 465 typedef QSharedPointer<TorrentInterface> Ptr; in PeerSource() 466 typedef QPointer<TorrentInterface> WPtr; in PeerSource() 473 void finished(bt::TorrentInterface *me); in PeerSource() 486 void maxRatioChanged(bt::TorrentInterface *me); in PeerSource() 528 void torrentStopped(bt::TorrentInterface *me); in PeerSource() 534 void needDataCheck(bt::TorrentInterface *me); in PeerSource() 540 void statusChanged(bt::TorrentInterface *me); in PeerSource() [all …]
|
H A D | torrentinterface.cpp | 10 TorrentInterface::TorrentInterface() in TorrentInterface() function in bt::TorrentInterface 14 TorrentInterface::~TorrentInterface() in ~TorrentInterface()
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/plugins/shutdown/ |
H A D | shutdownruleset.h | 38 bt::TorrentInterface *tc; 41 bool downloadingFinished(bt::TorrentInterface *tor, QueueManager *qman); 42 bool seedingFinished(bt::TorrentInterface *tor, QueueManager *qman); 90 void addRule(Action action, Target target, Trigger trigger, bt::TorrentInterface *tc = nullptr); 126 void torrentFinished(bt::TorrentInterface *tc); 127 void seedingAutoStopped(bt::TorrentInterface *tc, bt::AutoStopReason reason); 128 void torrentAdded(bt::TorrentInterface *tc); 129 void torrentRemoved(bt::TorrentInterface *tc); 132 bt::TorrentInterface *torrentForHash(const QByteArray &hash); 133 void triggered(Trigger trigger, bt::TorrentInterface *tc);
|
H A D | shutdownruleset.cpp | 57 void ShutdownRuleSet::torrentFinished(bt::TorrentInterface *tc) in torrentFinished() 68 void ShutdownRuleSet::triggered(Trigger trigger, TorrentInterface *tc) in triggered() 106 void ShutdownRuleSet::torrentAdded(bt::TorrentInterface *tc) in torrentAdded() 112 void ShutdownRuleSet::torrentRemoved(bt::TorrentInterface *tc) in torrentRemoved() 191 bt::TorrentInterface *const tc = torrentForHash(hash); in load() 212 bt::TorrentInterface *ShutdownRuleSet::torrentForHash(const QByteArray &hash) in torrentForHash() 217 bt::TorrentInterface *t = *i; in torrentForHash() 272 bool ShutdownRule::downloadingFinished(bt::TorrentInterface *tor, QueueManager *qman) in downloadingFinished() 286 bt::TorrentInterface *t = *i; in downloadingFinished() 297 bool ShutdownRule::seedingFinished(bt::TorrentInterface *tor, QueueManager *qman) in seedingFinished() [all …]
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/ktorrent/view/ |
H A D | viewdelegate.h | 15 class TorrentInterface; variable 70 void extend(bt::TorrentInterface *tc, Extender *widget, bool close_similar); 82 bool extended(bt::TorrentInterface *tc) const; 85 void hideExtender(bt::TorrentInterface *tc); 95 void closeExtenders(bt::TorrentInterface *tc); 96 void closeExtender(bt::TorrentInterface *tc, Extender *ext); 99 void torrentRemoved(bt::TorrentInterface *tc); 112 QMap<bt::TorrentInterface *, ExtenderBox *> extenders; 114 typedef QMap<bt::TorrentInterface *, ExtenderBox *>::iterator ExtItr; 115 typedef QMap<bt::TorrentInterface *, ExtenderBox *>::const_iterator ExtCItr;
|
H A D | view.cpp | 281 QList<bt::TorrentInterface *> sel; in updateActions() 390 QList<bt::TorrentInterface *> sel; in startTorrents() 398 QList<bt::TorrentInterface *> sel; in forceStartTorrents() 418 QList<bt::TorrentInterface *> sel; in stopTorrents() 426 QList<bt::TorrentInterface *> sel; in pauseTorrents() 434 QList<bt::TorrentInterface *> sel; in removeTorrents() 463 QList<bt::TorrentInterface *> sel; in removeTorrentsAndData() 481 QList<bt::TorrentInterface *> all; in startAllTorrents() 488 QList<bt::TorrentInterface *> all; in stopAllTorrents() 495 QList<bt::TorrentInterface *> sel; in addPeers() [all …]
|
H A D | viewmodel.h | 18 class TorrentInterface; variable 86 void torrentsFromIndexList(const QModelIndexList &idx, QList<bt::TorrentInterface *> &tlist); 93 bt::TorrentInterface *torrentFromIndex(const QModelIndex &index) const; 100 bt::TorrentInterface *torrentFromRow(int index) const; 106 void allTorrents(QList<bt::TorrentInterface *> &tlist) const; 127 void addTorrent(bt::TorrentInterface *ti); 128 void removeTorrent(bt::TorrentInterface *ti); 157 bt::TorrentInterface *tc; 179 Item(bt::TorrentInterface *tc);
|
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/torrent/ |
H A D | libkvitorrent.cpp | 40 TorrentInterface * pBest = nullptr; in auto_detect_torrent_client() 47 TorrentInterface * i = d->instance(); in auto_detect_torrent_client() 113 if(!TorrentInterface::selected()->__ifacecommand()) \ 130 if(!TorrentInterface::selected()->__ifacecommand(arg)) \ 164 QString szRet = TorrentInterface::selected()->__ifacecommand(); \ 173 kvs_int_t ret = TorrentInterface::selected()->__ifacecommand(); \ 182 kvs_real_t ret = TorrentInterface::selected()->__ifacecommand(); \ 696 TorrentInterface::select(d->instance()); in TC_KVS_INTRET_FUNCTION() 868 TorrentInterface::select(nullptr); in torrent_module_init() 875 TorrentInterface::select(auto_detect_torrent_client()); in torrent_module_init() [all …]
|
H A D | TorrentInterface.h | 34 class TorrentInterface : public QObject 37 TorrentInterface() {} in TorrentInterface() function 38 ~TorrentInterface() {} in ~TorrentInterface() 97 static void select(TorrentInterface * i) { m_selected = i; } in select() 98 static TorrentInterface * selected() { return m_selected; } in selected() 102 static TorrentInterface * m_selected; 114 virtual TorrentInterface * instance() = 0; 132 TorrentInterface * instance() override; \ 155 TorrentInterface * _interfaceclass##Descriptor::instance() \
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/plugins/downloadorder/ |
H A D | downloadorderplugin.h | 29 void currentTorrentChanged(bt::TorrentInterface *tc) override; 36 DownloadOrderManager *manager(bt::TorrentInterface *tc); 39 DownloadOrderManager *createManager(bt::TorrentInterface *tc); 42 void destroyManager(bt::TorrentInterface *tc); 46 void torrentAdded(bt::TorrentInterface *tc); 47 void torrentRemoved(bt::TorrentInterface *tc); 51 bt::PtrMap<bt::TorrentInterface *, DownloadOrderManager> managers;
|
H A D | downloadorderplugin.cpp | 51 for (bt::TorrentInterface *i : *qman) in load() 66 bt::TorrentInterface *tor = getGUI()->getTorrentActivity()->getCurrentTorrent(); in showDownloadOrderDialog() 74 void DownloadOrderPlugin::currentTorrentChanged(bt::TorrentInterface *tc) in currentTorrentChanged() 79 DownloadOrderManager *DownloadOrderPlugin::manager(bt::TorrentInterface *tc) in manager() 84 DownloadOrderManager *DownloadOrderPlugin::createManager(bt::TorrentInterface *tc) in createManager() 95 void DownloadOrderPlugin::destroyManager(bt::TorrentInterface *tc) in destroyManager() 100 void DownloadOrderPlugin::torrentAdded(bt::TorrentInterface *tc) in torrentAdded() 106 … connect(tc, &bt::TorrentInterface::chunkDownloaded, m, &DownloadOrderManager::chunkDownloaded); in torrentAdded() 110 void DownloadOrderPlugin::torrentRemoved(bt::TorrentInterface *tc) in torrentRemoved()
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/libktcore/groups/ |
H A D | torrentgroup.h | 27 bool isMember(TorrentInterface *tor) override; 30 void torrentRemoved(TorrentInterface *tor) override; 31 void removeTorrent(TorrentInterface *tor) override; 32 void addTorrent(TorrentInterface *tor, bool new_torrent) override; 35 void add(TorrentInterface *tor); 36 void remove(TorrentInterface *tor); 47 std::set<TorrentInterface *> torrents;
|
H A D | torrentgroup.cpp | 30 bool TorrentGroup::isMember(TorrentInterface *tor) in isMember() 35 void TorrentGroup::add(TorrentInterface *tor) in add() 40 void TorrentGroup::remove(TorrentInterface *tor) in remove() 54 std::set<TorrentInterface *>::iterator i = torrents.begin(); in save() 56 TorrentInterface *tc = *i; in save() 137 void TorrentGroup::torrentRemoved(TorrentInterface *tor) in torrentRemoved() 142 void TorrentGroup::removeTorrent(TorrentInterface *tor) in removeTorrent() 148 void TorrentGroup::addTorrent(TorrentInterface *tor, bool new_torrent) in addTorrent() 169 std::set<TorrentInterface *>::iterator i = torrents.begin(); in policyChanged() 171 TorrentInterface *tor = *i; in policyChanged()
|
H A D | group.h | 19 class TorrentInterface; variable 25 using bt::TorrentInterface; 151 virtual bool isMember(TorrentInterface *tor) = 0; 159 virtual void torrentRemoved(TorrentInterface *tor); 166 virtual void addTorrent(TorrentInterface *tor, bool new_torrent); 172 virtual void removeTorrent(TorrentInterface *tor);
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/ktorrent/dialogs/ |
H A D | speedlimitsmodel.cpp | 24 QList<bt::TorrentInterface *>::iterator itr = qman->begin(); in SpeedLimitsModel() 27 bt::TorrentInterface *tc = *itr; in SpeedLimitsModel() 46 void SpeedLimitsModel::onTorrentAdded(bt::TorrentInterface *tc) in onTorrentAdded() 59 void SpeedLimitsModel::onTorrentRemoved(bt::TorrentInterface *tc) in onTorrentRemoved() 63 QList<bt::TorrentInterface *>::iterator itr = qman->begin(); in onTorrentRemoved() 117 bt::TorrentInterface *tc = torrentForIndex(index); in data() 156 bt::TorrentInterface *tc = torrentForIndex(index); in setData() 200 bt::TorrentInterface *SpeedLimitsModel::torrentForIndex(const QModelIndex &index) const in torrentForIndex() 204 QList<bt::TorrentInterface *>::iterator itr = qman->begin(); in torrentForIndex() 215 QMap<bt::TorrentInterface *, Limits>::iterator itr = limits.begin(); in apply() [all …]
|
/dports/net/kget/kget-21.12.3/transfer-plugins/bittorrent/advanceddetails/ |
H A D | fileview.h | 33 class TorrentInterface; variable 51 void changeTC(bt::TorrentInterface* tc,KSharedConfigPtr cfg); 60 void onTorrentRemoved(bt::TorrentInterface* tc); 65 void onMissingFileMarkedDND(bt::TorrentInterface* tc); 87 bt::TorrentInterface* curr_tc; 103 QMap<bt::TorrentInterface*,QByteArray> expanded_state_map;
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/libktcore/dbus/ |
H A D | dbustorrent.h | 28 DBusTorrent(bt::TorrentInterface *ti, QObject *parent); 32 bt::TorrentInterface *torrent() in torrent() 125 void onFinished(bt::TorrentInterface *tor); 126 void onStoppedByError(bt::TorrentInterface *tor, const QString &err); 127 void onSeedingAutoStopped(bt::TorrentInterface *tor, bt::AutoStopReason reason); 128 void onCorruptedDataFound(bt::TorrentInterface *tor); 129 void onTorrentStopped(bt::TorrentInterface *tor); 132 bt::TorrentInterface *ti;
|
/dports/net-p2p/ktorrent/ktorrent-21.12.3/ktorrent/tools/ |
H A D | queuemanagermodel.h | 19 class TorrentInterface; variable 93 void onTorrentAdded(bt::TorrentInterface *tc); 94 void onTorrentRemoved(bt::TorrentInterface *tc); 96 void onTorrentStatusChanged(bt::TorrentInterface *tc); 100 bt::TorrentInterface *tc; 109 bool visible(const bt::TorrentInterface *tc);
|