TextAddonsWidgets::NeedUpdateCheckExistingNewVersionJob Class
| Header: | #include <TextAddonsWidgets/NeedUpdateCheckExistingNewVersionJob> |
| CMake: | find_package(KF6TextAddonsWidgets REQUIRED)target_link_libraries(mytarget PRIVATE KF6::TextAddonsWidgets) |
| Inherits: | QObject |
Public Functions
| NeedUpdateCheckExistingNewVersionJob(QObject *parent = nullptr) | |
| virtual | ~NeedUpdateCheckExistingNewVersionJob() override |
| bool | canStart() const |
| QDate | compileDate() const |
| void | setCompileDate(const QDate &newCompileDate) |
| void | setUrl(const QUrl &newUrl) |
| void | start() |
| QUrl | url() const |
Signals
| void | foundNewVersion(bool state) |
Detailed Description
Member Function Documentation
[explicit] NeedUpdateCheckExistingNewVersionJob::NeedUpdateCheckExistingNewVersionJob(QObject *parent = nullptr)
Constructor for NeedUpdateCheckExistingNewVersionJob parent The parent object
[override virtual noexcept] NeedUpdateCheckExistingNewVersionJob::~NeedUpdateCheckExistingNewVersionJob()
Destructor for NeedUpdateCheckExistingNewVersionJob
bool NeedUpdateCheckExistingNewVersionJob::canStart() const
Returns whether the job can start Returns True if the job can start, false otherwise
QDate NeedUpdateCheckExistingNewVersionJob::compileDate() const
Returns the compile date Returns The compile date
See also setCompileDate().
[signal] void NeedUpdateCheckExistingNewVersionJob::foundNewVersion(bool state)
Emitted when new version checking is complete state True if a new version was found, false otherwise
void NeedUpdateCheckExistingNewVersionJob::setCompileDate(const QDate &newCompileDate)
Sets the compile date newCompileDate The compile date to set
See also compileDate().
void NeedUpdateCheckExistingNewVersionJob::setUrl(const QUrl &newUrl)
Sets the URL to check for new version newUrl The URL to set
See also url().
void NeedUpdateCheckExistingNewVersionJob::start()
Starts the version check job
QUrl NeedUpdateCheckExistingNewVersionJob::url() const
Returns the URL to check for new version Returns The URL
See also setUrl().