![]() |
KVIrc 5.2.0
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 |
Additional Inherited Members | |
![]() | |
KviStatusBarAppletDescriptor * | m_pDescriptor |
KviStatusBar * | m_pStatusBar |
int | mIndex |
KviStatusBarUpdateIndicator::KviStatusBarUpdateIndicator | ( | KviStatusBar * | pParent, |
KviStatusBarAppletDescriptor * | pDescriptor | ||
) |
|
default |
|
protectedslot |
References KviBuildInfo::buildRevision(), KviMiscUtils::compareVersions(), KviDataBuffer::data(), getNewVersion(), KviStatusBarApplet::index(), KVI_VERSION, m_bUpdateOnStartup, m_bUpdateRevision, m_bUpdateStatus, m_szNewVersion, KviDataBuffer::size(), and updateDisplay().
Referenced by checkVersion().
|
protected |
References binaryDataReceived(), connect(), KviHttpRequest::get(), KviStatusBarApplet::index(), m_bCheckDone, m_bUpdateRevision, m_pHttpRequest, requestCompleted(), responseReceived(), szUrl, and KviHttpRequest::WholeFile.
Referenced by loadState(), and mouseDoubleClickEvent().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References __tr2qs, KviStatusBarApplet::index(), m_bUpdateOnStartup, m_bUpdateRevision, p, toggleRevision(), and toggleStartup().
|
protected |
References KviBuildInfo::buildSystemName(), g_pActiveWindow, KviStatusBarApplet::index(), m_bUpdateRevision, m_szNewVersion, KviKvsScript::run(), and szUrl.
Referenced by binaryDataReceived(), and mouseDoubleClickEvent().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References checkVersion(), KviCString::Format, KviStatusBarApplet::index(), m_bUpdateOnStartup, and m_bUpdateRevision.
|
overrideprotected |
References checkVersion(), e, getNewVersion(), and m_bUpdateStatus.
References m_pHttpRequest.
Referenced by checkVersion().
References KviStatusBarApplet::index(), m_bCheckFailed, m_szHttpResponse, and updateDisplay().
Referenced by checkVersion().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References KviCString::Format, KviStatusBarApplet::index(), m_bUpdateOnStartup, and m_bUpdateRevision.
|
static |
References __tr2qs, CreateStatusBarUpdateIndicator(), d, g_pIconManager, KviIconManager::getSmallIcon(), KviStatusBarApplet::index(), and KviIconManager::Update.
Referenced by KviStatusBar::KviStatusBar().
Reimplemented from KviStatusBarApplet.
References __tr2qs, KviStatusBarApplet::index(), 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 |
|
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().