Qt Installer Framework翻译(7-8)

C++ API

C ++ API文档是为开发Qt Installer Framework的开发人员编写的。 它描述了内部API,因此没有兼容性保证。 此外,该文档尚在开发中,因此缺少部分内容,而其他部分可能已过时。

要创建自定义的安装程序,请改用Scripting API。 有关更多信息,请参见自定义安装程序章节。

命名空间

命名空间 描述
QInstaller 包含用于实现Qt Installer Framework和安装程序UI核心功能的类。
KDUpdater 包含用于自动检测应用程序更新,从外部存储库检索更新,并安装它们的类。 KDUpdater类是KDAB常规KDUpdater模块的分支。

QInstaller C++类

QInstaller::AbstractFileTask 文件相关任务的基类
QInstaller::FileTaskItem 表示文件任务对象中的条目
QInstaller::FileTaskResult 表示文件任务的结果
QInstaller::BinaryContent 处理嵌入到可执行文件中的二进制信息
QInstaller::OperationBlob 可以由Qt Installer framework实例化和执行的操作的文本表示形式
QInstaller::Resource 用于将文件包装为只读设备的接口
QInstaller::ResourceCollection 将大量资源组合在一起的抽象
QInstaller::ResourceCollectionManager 将多个资源集合组合在一起的抽象
QInstaller::BinaryFormatEngine 用于访问资源集合和资源文件的默认文件引擎
QInstaller::BinaryFormatEngineHandler 注册资源集合和资源文件的方法
QInstaller::BinaryLayout 描述附加到文件的二进制内容
QInstaller::Component 代表当前组件
QInstaller::Component::SortingPriorityGreaterThan 设置子组件的降序排序优先级
QInstaller::Component::SortingPriorityLessThan 设置子组件的增序排序优先级
QInstaller::ComponentModel 持有一个数据模型,用于可视方式表示要安装的可用组件
QInstaller::MessageBoxHandler 模态对话框,用于通知用户或询问用户问题并接收答案
QInstaller::PackageManagerCore Qt Installer Framework的核心功能
QInstaller::ComponentSelectionPage 更改已选择组件的状态
QInstaller::FinishedPage 完成安装向导
QInstaller::IntroductionPage 显示有关要安装的产品的信息
QInstaller::LicenseAgreementPage 向用户提供待确认的许可协议
QInstaller::PackageManagerGui 非交互式安装的核心功能
QInstaller::PackageManagerPage 显示有关要安装的产品的信息
QInstaller::PerformInstallationPage 显示有关安装状态的进度信息
QInstaller::ReadyForInstallationPage 通知用户可以开始安装
QInstaller::RestartPage 使能重启安装程序
QInstaller::StartMenuDirectoryPage 在Windows开始菜单中指定产品的程序组
QInstaller::TargetDirectoryPage 指定安装的目标文件夹
QInstaller::PackageSource 指定单个包源信息
QInstaller::PerformInstallationForm 显示有关安装状态的进度信息
QInstaller::ScriptEngine 用于准备和运行组件脚本
QInstaller::SystemInfo 提供有关操作系统的信息

KDUpdater C++类

KDUpdater::FileDownloader KDUpdater中使用的文件下载器的基类
KDUpdater::HttpDownloader 用于通过FTP,HTTP或HTTPS下载文件
KDUpdater::LocalFileDownloader 用于从本地文件系统拷贝文件
KDUpdater::ResourceFileDownloader 可以用来下载资源文件
KDUpdater::FileDownloaderFactory 充当KDUpdater::FileDownloader的工厂
KDUpdater::FileDownloaderProxyFactory 细粒度的代理选择
GenericFactory 实现基于模板的通用工厂
KDUpdater::LocalPackage 描述应用程序中的单个已安装包
KDUpdater::LocalPackageHub 访问有关在应用程序端安装的包的信息
KDUpdater::Task KDUpdater中所有任务的基类
KDUpdater::Update 代表一个更新
KDUpdater::UpdateFinder UpdaterFinder类查找适用于已安装包的更新
KDUpdater::UpdateOperation 更新操作的抽象基类
KDUpdater::UpdateOperationFactory 用于根据名称创建更新操作

原创造福大家,共享改变世界

献出一片爱心,温暖作者心灵


posted @ 2020-02-03 10:31  codeForFamily  阅读(374)  评论(0编辑  收藏  举报