Searched refs:futureWatcher_ (Results 1 – 8 of 8) sorted by relevance
/dports/textproc/fcitx5-configtool/fcitx5-configtool-5.0.8/src/migrator/lib/ |
H A D | callbackrunner.cpp | 19 futureWatcher_ = new QFutureWatcher<bool>(this); in start() 20 futureWatcher_->setFuture(QtConcurrent::run(callback_, this)); in start() 21 connect(futureWatcher_, &QFutureWatcher<bool>::finished, this, in start() 22 [this]() { emitFinished(futureWatcher_->result()); }); in start() 28 if (futureWatcher_) { in cleanUp() 29 disconnect(futureWatcher_, nullptr, this, nullptr); in cleanUp() 30 futureWatcher_->deleteLater(); in cleanUp() 31 futureWatcher_ = nullptr; in cleanUp()
|
H A D | callbackrunner.h | 37 QFutureWatcher<bool> *futureWatcher_ = nullptr; variable
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx5-qt/qt5/quickphrase-editor/ |
H A D | model.cpp | 23 : QAbstractTableModel(parent), needSave_(false), futureWatcher_(0) {} in QuickPhraseModel() 119 if (futureWatcher_) { in load() 129 futureWatcher_ = new QFutureWatcher<QStringPairList>(this); in load() 130 futureWatcher_->setFuture(QtConcurrent::run<QStringPairList>( in load() 132 connect(futureWatcher_, &QFutureWatcherBase::finished, this, in load() 171 list_.append(futureWatcher_->future().result()); in loadFinished() 173 futureWatcher_->deleteLater(); in loadFinished() 174 futureWatcher_ = 0; in loadFinished()
|
H A D | model.h | 57 QFutureWatcher<QStringPairList> *futureWatcher_; variable
|
/dports/textproc/fcitx5-qt/fcitx5-qt-5.0.8/qt5/quickphrase-editor/ |
H A D | model.cpp | 23 : QAbstractTableModel(parent), needSave_(false), futureWatcher_(0) {} in QuickPhraseModel() 119 if (futureWatcher_) { in load() 129 futureWatcher_ = new QFutureWatcher<QStringPairList>(this); in load() 130 futureWatcher_->setFuture(QtConcurrent::run<QStringPairList>( in load() 132 connect(futureWatcher_, &QFutureWatcherBase::finished, this, in load() 171 list_.append(futureWatcher_->future().result()); in loadFinished() 173 futureWatcher_->deleteLater(); in loadFinished() 174 futureWatcher_ = 0; in loadFinished()
|
H A D | model.h | 57 QFutureWatcher<QStringPairList> *futureWatcher_; variable
|
/dports/x11/albert/albert-0.16.1/src/app/ |
H A D | queryexecution.cpp | 114 futureWatcher_.disconnect(); in cancel() 125 connect(&futureWatcher_, &QFutureWatcher<pair<QueryHandler*,uint>>::finished, in runBatchHandlers() 137 futureWatcher_.setFuture(future_); in runBatchHandlers() 184 disconnect(&futureWatcher_, &QFutureWatcher<pair<QueryHandler*,uint>>::finished, in runRealtimeHandlers() 187 connect(&futureWatcher_, &QFutureWatcher<pair<QueryHandler*,uint>>::finished, in runRealtimeHandlers() 199 futureWatcher_.setFuture(future_); in runRealtimeHandlers()
|
H A D | queryexecution.h | 95 QFutureWatcher<std::pair<QueryHandler*,uint>> futureWatcher_; variable
|