TextAddonsWidgets::VerifyNewVersionWidget Class
The VerifyNewVersionWidget class Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <TextAddonsWidgets/VerifyNewVersionWidget> |
| CMake: | find_package(KF6TextAddonsWidgets REQUIRED)target_link_libraries(mytarget PRIVATE KF6::TextAddonsWidgets) |
| Inherits: | QObject |
Public Functions
| VerifyNewVersionWidget(QObject *parent = nullptr) | |
| virtual | ~VerifyNewVersionWidget() override |
| bool | canVerifyNewVersion() const |
| void | generateUrlInfo(const QString &stableBranchVersion, const QString &url, bool stable) |
| TextAddonsWidgets::VerifyNewVersionWidget::VerifyNewVersionInfo | generateVerifyNewVersionInfo(const QString &stableBranchVersion, const QString &url, bool stable) const |
| QAction * | verifyNewVersionAction() |
Detailed Description
Member Function Documentation
[explicit] VerifyNewVersionWidget::VerifyNewVersionWidget(QObject *parent = nullptr)
Constructor for VerifyNewVersionWidget parent The parent object
[override virtual noexcept] VerifyNewVersionWidget::~VerifyNewVersionWidget()
Destructor for VerifyNewVersionWidget
bool VerifyNewVersionWidget::canVerifyNewVersion() const
Returns whether it's possible to verify a new version Returns True if verification is possible, false otherwise
void VerifyNewVersionWidget::generateUrlInfo(const QString &stableBranchVersion, const QString &url, bool stable)
Generates URL information for verifying a new version stableBranchVersion The stable branch version url The URL to check stable Whether to check stable version
TextAddonsWidgets::VerifyNewVersionWidget::VerifyNewVersionInfo VerifyNewVersionWidget::generateVerifyNewVersionInfo(const QString &stableBranchVersion, const QString &url, bool stable) const
Generates verification info for a new version stableBranchVersion The stable branch version url The URL to check stable Whether to check stable version Returns VerifyNewVersionInfo containing the generated information
QAction *VerifyNewVersionWidget::verifyNewVersionAction()
Returns the action for verifying a new version Returns The QAction for verifying new version