aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/ModuleManager.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-02-03 18:13:23 +0000
committersaturneric <[email protected]>2025-02-03 19:14:29 +0000
commit37d5b7e5546fde0433a2480eea5a2c3b222139ff (patch)
tree9c1f6f2d4b456dea2fb1af4aefcf4f1ac6ae97ee /src/core/module/ModuleManager.cpp
parentfix: set pb range when size of operas > 1 (diff)
downloadGpgFrontend-37d5b7e5546fde0433a2480eea5a2c3b222139ff.tar.gz
GpgFrontend-37d5b7e5546fde0433a2480eea5a2c3b222139ff.zip
fix: qt5 compile issues
Diffstat (limited to 'src/core/module/ModuleManager.cpp')
-rw-r--r--src/core/module/ModuleManager.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/module/ModuleManager.cpp b/src/core/module/ModuleManager.cpp
index d340a561..0f6a280a 100644
--- a/src/core/module/ModuleManager.cpp
+++ b/src/core/module/ModuleManager.cpp
@@ -133,7 +133,7 @@ class ModuleManager::Impl {
return gmc_->SearchModule(std::move(module_id));
}
- auto ListAllRegisteredModuleID() -> QList<ModuleIdentifier> {
+ auto ListAllRegisteredModuleID() -> QStringList {
return gmc_->ListAllRegisteredModuleID();
}
@@ -176,8 +176,7 @@ class ModuleManager::Impl {
return gmc_->SearchEvent(std::move(trigger_id));
}
- auto GetModuleListening(ModuleIdentifier module_id)
- -> QList<EventIdentifier> {
+ auto GetModuleListening(ModuleIdentifier module_id) -> QStringList {
return gmc_->GetModuleListening(std::move(module_id));
}
@@ -246,7 +245,7 @@ class ModuleManager::Impl {
static ModuleMangerPtr global_module_manager;
SecureUniquePtr<GlobalModuleContext> gmc_;
SecureUniquePtr<GlobalRegisterTable> grt_;
- QList<QLibrary> module_libraries_;
+ QContainer<QLibrary> module_libraries_;
int need_register_modules_ = -1;
};
@@ -300,7 +299,7 @@ void ModuleManager::ListenEvent(ModuleIdentifier module,
}
auto ModuleManager::GetModuleListening(ModuleIdentifier module_id)
- -> QList<EventIdentifier> {
+ -> QStringList {
return p_->GetModuleListening(module_id);
}
@@ -353,7 +352,7 @@ auto ModuleManager::IsIntegratedModule(ModuleIdentifier id) -> bool {
return p_->IsIntegratedModule(id);
}
-auto ModuleManager::ListAllRegisteredModuleID() -> QList<ModuleIdentifier> {
+auto ModuleManager::ListAllRegisteredModuleID() -> QStringList {
return p_->ListAllRegisteredModuleID();
};