Model for Anoncoin network client.
More...
#include <clientmodel.h>
|
void | numConnectionsChanged (int count) |
| Note signal functions like this are created here in the header file, yet no source implmentation will be found in the developer code. More...
|
|
void | numBlocksChanged (int count) |
|
void | alertsChanged (const QString &warnings) |
|
void | bytesChanged (quint64 totalBytesIn, quint64 totalBytesOut) |
|
void | message (const QString &title, const QString &message, unsigned int style) |
| Fired when a message should be reported to the user. More...
|
|
Model for Anoncoin network client.
Definition at line 45 of file clientmodel.h.
ClientModel::ClientModel |
( |
OptionsModel * |
optionsModel, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
ClientModel::~ClientModel |
( |
| ) |
|
void ClientModel::alertsChanged |
( |
const QString & |
warnings | ) |
|
|
signal |
void ClientModel::bytesChanged |
( |
quint64 |
totalBytesIn, |
|
|
quint64 |
totalBytesOut |
|
) |
| |
|
signal |
QString ClientModel::clientName |
( |
| ) |
const |
QString ClientModel::formatBuildDate |
( |
| ) |
const |
QString ClientModel::formatClientStartupTime |
( |
| ) |
const |
QString ClientModel::formatFullVersion |
( |
| ) |
const |
QDateTime ClientModel::getLastBlockDate |
( |
| ) |
const |
QString ClientModel::getNetworkName |
( |
| ) |
const |
int ClientModel::getNumBlocks |
( |
| ) |
const |
int ClientModel::getNumBlocksAtStartup |
( |
| ) |
|
int ClientModel::getNumConnections |
( |
unsigned int |
flags = CONNECTIONS_ALL | ) |
const |
Return number of connections, default is in- and outbound (total)
Definition at line 51 of file clientmodel.cpp.
QString ClientModel::getStatusBarWarnings |
( |
| ) |
const |
Return warnings to be displayed in status bar.
Definition at line 244 of file clientmodel.cpp.
quint64 ClientModel::getTotalBytesRecv |
( |
| ) |
const |
quint64 ClientModel::getTotalBytesSent |
( |
| ) |
const |
double ClientModel::getVerificationProgress |
( |
| ) |
const |
bool ClientModel::inInitialBlockDownload |
( |
| ) |
const |
Return true if core is doing initial block download.
Definition at line 227 of file clientmodel.cpp.
bool ClientModel::isReleaseVersion |
( |
| ) |
const |
void ClientModel::message |
( |
const QString & |
title, |
|
|
const QString & |
message, |
|
|
unsigned int |
style |
|
) |
| |
|
signal |
void ClientModel::numBlocksChanged |
( |
int |
count | ) |
|
|
signal |
void ClientModel::numConnectionsChanged |
( |
int |
count | ) |
|
|
signal |
Note signal functions like this are created here in the header file, yet no source implmentation will be found in the developer code.
It's upto the build process to create moc_xx files, from which is generated sufficant information that QT runs & the linker is able to create an execuable.
Definition at line 205 of file moc_clientmodel.cpp.
void ClientModel::subscribeToCoreSignals |
( |
| ) |
|
|
private |
void ClientModel::unsubscribeFromCoreSignals |
( |
| ) |
|
|
private |
void ClientModel::updateAlert |
( |
const QString & |
hash, |
|
|
int |
status |
|
) |
| |
|
slot |
void ClientModel::updateNumConnections |
( |
int |
numConnections | ) |
|
|
slot |
void ClientModel::updateTimer |
( |
| ) |
|
|
slot |
bool ClientModel::cachedImporting |
|
private |
int ClientModel::cachedNumBlocks |
|
private |
bool ClientModel::cachedReindexing |
|
private |
int ClientModel::numBlocksAtStartup |
|
private |
QTimer* ClientModel::pollTimer |
|
private |
The documentation for this class was generated from the following files: