![]() |
KVIrc 5.2.6
Developer APIs
|
#include <KviStatusBarApplet.h>
Public Member Functions | |
KviStatusBarUpdateIndicator (KviStatusBar *pParent, KviStatusBarAppletDescriptor *pDescriptor) | |
~KviStatusBarUpdateIndicator () | |
![]() | |
KviStatusBarAppletDescriptor * | descriptor () |
KviMainWindow * | frame () |
int | index () const |
KviStatusBarApplet (KviStatusBar *pParent, KviStatusBarAppletDescriptor *pDescriptor) | |
void | setIndex (int i) |
KviStatusBar * | statusBar () |
~KviStatusBarApplet () | |
Static Public Member Functions | |
static void | selfRegister (KviStatusBar *pBar) |
Protected Slots | |
void | binaryDataReceived (const KviDataBuffer &) |
void | requestCompleted (bool status) |
void | responseReceived (const QString &) |
void | toggleRevision () |
void | toggleStartup () |
void | updateDisplay () |
Protected Member Functions | |
void | checkVersion () |
void | fillContextPopup (QMenu *p) override |
void | getNewVersion () |
void | loadState (const char *pcPrefix, KviConfigurationFile *pCfg) override |
void | mouseDoubleClickEvent (QMouseEvent *e) override |
void | saveState (const char *pcPrefix, KviConfigurationFile *pCfg) override |
QString | tipText (const QPoint &) override |
Private Attributes | |
bool | m_bCheckDone |
bool | m_bCheckFailed |
bool | m_bUpdateOnStartup |
bool | m_bUpdateRevision |
bool | m_bUpdateStatus |
KviHttpRequest * | m_pHttpRequest |
QString | m_szHttpResponse |
QString | m_szNewVersion |
Additional Inherited Members | |
![]() | |
KviStatusBarAppletDescriptor * | m_pDescriptor |
KviStatusBar * | m_pStatusBar |
int | mIndex |
KviStatusBarUpdateIndicator::KviStatusBarUpdateIndicator | ( | KviStatusBar * | pParent, |
KviStatusBarAppletDescriptor * | pDescriptor ) |
|
default |
References e, KviStatusBarApplet::KviStatusBar, and p.
|
protectedslot |
References KviBuildInfo::buildRevision(), KviMiscUtils::compareVersions(), KviDataBuffer::data(), getNewVersion(), KVI_VERSION, m_bUpdateOnStartup, m_bUpdateRevision, m_bUpdateStatus, m_szNewVersion, KviCString::ptr(), KviDataBuffer::size(), KviCString::toUInt(), and updateDisplay().
Referenced by checkVersion().
|
protected |
References binaryDataReceived(), connect(), m_bCheckDone, m_bUpdateRevision, m_pHttpRequest, requestCompleted(), responseReceived(), szUrl, and KviHttpRequest::WholeFile.
Referenced by loadState(), and mouseDoubleClickEvent().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References __tr2qs, m_bUpdateOnStartup, m_bUpdateRevision, p, toggleRevision(), and toggleStartup().
|
protected |
References KviBuildInfo::buildSystemName(), g_pActiveWindow, m_bUpdateRevision, m_szNewVersion, KviKvsScript::run(), and szUrl.
Referenced by binaryDataReceived(), and mouseDoubleClickEvent().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References checkVersion(), KviCString::Format, m_bUpdateOnStartup, m_bUpdateRevision, KviCString::ptr(), and KviConfigurationFile::readBoolEntry().
|
overrideprotected |
References checkVersion(), e, getNewVersion(), and m_bUpdateStatus.
|
protectedslot |
References m_pHttpRequest.
Referenced by checkVersion().
|
protectedslot |
References m_bCheckFailed, m_szHttpResponse, and updateDisplay().
Referenced by checkVersion().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References KviCString::Format, m_bUpdateOnStartup, m_bUpdateRevision, KviCString::ptr(), and KviConfigurationFile::writeEntry().
|
static |
References __tr2qs, CreateStatusBarUpdateIndicator(), d, g_pIconManager, KviStatusBarApplet::KviStatusBar, KviStatusBar::registerAppletDescriptor(), and KviIconManager::Update.
Referenced by KviStatusBar::KviStatusBar().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References __tr2qs, m_bCheckDone, m_bCheckFailed, m_bUpdateStatus, and m_szHttpResponse.
|
protectedslot |
References m_bUpdateRevision, m_bUpdateStatus, and updateDisplay().
Referenced by fillContextPopup().
|
protectedslot |
References m_bUpdateOnStartup.
Referenced by fillContextPopup().
|
protectedslot |
References KviIconManager::FailUpdate, g_pIconManager, m_bCheckFailed, m_bUpdateStatus, KviIconManager::NotUpdate, and KviIconManager::Update.
Referenced by binaryDataReceived(), KviStatusBarUpdateIndicator(), responseReceived(), and toggleRevision().
|
private |
Referenced by checkVersion(), KviStatusBarUpdateIndicator(), and tipText().
|
private |
Referenced by KviStatusBarUpdateIndicator(), responseReceived(), tipText(), and updateDisplay().
|
private |
Referenced by binaryDataReceived(), fillContextPopup(), KviStatusBarUpdateIndicator(), loadState(), saveState(), and toggleStartup().
|
private |
|
private |
Referenced by binaryDataReceived(), KviStatusBarUpdateIndicator(), mouseDoubleClickEvent(), tipText(), toggleRevision(), and updateDisplay().
|
private |
Referenced by checkVersion(), KviStatusBarUpdateIndicator(), and requestCompleted().
|
private |
Referenced by responseReceived(), and tipText().
|
private |
Referenced by binaryDataReceived(), and getNewVersion().