qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
UpdateCheck Class Reference

#include <updatecheck.h>

Inheritance diagram for UpdateCheck:
Inheritance graph
Collaboration diagram for UpdateCheck:
Collaboration graph

Signals

void updateAvailable (QString latestVersion, QUrl link)
 
void upToDate ()
 
void updateCheckFailed ()
 
void versionIsUnstable ()
 

Public Member Functions

 UpdateCheck (const Settings &settings)
 
void checkForUpdate ()
 

Private Slots

void handleResponse (QNetworkReply *reply)
 

Private Attributes

QNetworkAccessManager manager
 
QTimer updateTimer
 
const Settingssettings
 

Detailed Description

Definition at line 32 of file updatecheck.h.

Constructor & Destructor Documentation

◆ UpdateCheck()

UpdateCheck::UpdateCheck ( const Settings settings)

Definition at line 102 of file updatecheck.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ checkForUpdate()

void UpdateCheck::checkForUpdate ( )

Definition at line 111 of file updatecheck.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleResponse

void UpdateCheck::handleResponse ( QNetworkReply *  reply)
privateslot

Definition at line 129 of file updatecheck.cpp.

Here is the caller graph for this function:

◆ updateAvailable

void UpdateCheck::updateAvailable ( QString  latestVersion,
QUrl  link 
)
signal
Here is the caller graph for this function:

◆ updateCheckFailed

void UpdateCheck::updateCheckFailed ( )
signal
Here is the caller graph for this function:

◆ upToDate

void UpdateCheck::upToDate ( )
signal
Here is the caller graph for this function:

◆ versionIsUnstable

void UpdateCheck::versionIsUnstable ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ manager

QNetworkAccessManager UpdateCheck::manager
private

Definition at line 50 of file updatecheck.h.

◆ settings

const Settings& UpdateCheck::settings
private

Definition at line 52 of file updatecheck.h.

◆ updateTimer

QTimer UpdateCheck::updateTimer
private

Definition at line 51 of file updatecheck.h.


The documentation for this class was generated from the following files: