KVIrc
4.9.2
DeveloperAPIs
|
#include <KviStatusBarApplet.h>
Public Member Functions | |
KviStatusBarUpdateIndicator (KviStatusBar *pParent, KviStatusBarAppletDescriptor *pDescriptor) | |
virtual | ~KviStatusBarUpdateIndicator () |
Public Member Functions inherited from KviStatusBarApplet | |
KviStatusBarAppletDescriptor * | descriptor () |
KviMainWindow * | frame () |
int | index () const |
KviStatusBarApplet (KviStatusBar *pParent, KviStatusBarAppletDescriptor *pDescriptor) | |
void | setIndex (int i) |
KviStatusBar * | statusBar () |
virtual | ~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 () |
virtual void | fillContextPopup (QMenu *p) |
void | getNewVersion () |
virtual void | loadState (const char *pcPrefix, KviConfigurationFile *pCfg) |
virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
virtual void | saveState (const char *pcPrefix, KviConfigurationFile *pCfg) |
virtual QString | tipText (const QPoint &) |
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 | |
Protected Attributes inherited from KviStatusBarApplet | |
KviStatusBarAppletDescriptor * | m_pDescriptor |
KviStatusBar * | m_pStatusBar |
int | mIndex |
KviStatusBarUpdateIndicator::KviStatusBarUpdateIndicator | ( | KviStatusBar * | pParent, |
KviStatusBarAppletDescriptor * | pDescriptor | ||
) |
|
virtualdefault |
|
protectedslot |
|
protected |
References binaryDataReceived(), connect(), KviHttpRequest::get(), m_bCheckDone, m_bUpdateRevision, m_pHttpRequest, requestCompleted(), responseReceived(), szUrl, and KviHttpRequest::WholeFile.
Referenced by loadState(), and mouseDoubleClickEvent().
|
protectedvirtual |
Reimplemented from KviStatusBarApplet.
References __tr2qs, m_bUpdateOnStartup, m_bUpdateRevision, toggleRevision(), and toggleStartup().
|
protected |
References KviBuildInfo::buildSystemName(), g_pActiveWindow, m_bUpdateRevision, m_szNewVersion, KviKvsScript::run(), and szUrl.
Referenced by binaryDataReceived(), and mouseDoubleClickEvent().
|
protectedvirtual |
Reimplemented from KviStatusBarApplet.
References checkVersion(), KviCString::Format, m_bUpdateOnStartup, m_bUpdateRevision, KviCString::ptr(), and KviConfigurationFile::readBoolEntry().
|
protectedvirtual |
References checkVersion(), getNewVersion(), and m_bUpdateStatus.
|
protectedslot |
References m_pHttpRequest.
Referenced by checkVersion().
|
protectedslot |
References m_bCheckFailed, m_szHttpResponse, and updateDisplay().
Referenced by checkVersion().
|
protectedvirtual |
Reimplemented from KviStatusBarApplet.
References KviCString::Format, m_bUpdateOnStartup, m_bUpdateRevision, KviCString::ptr(), and KviConfigurationFile::writeEntry().
|
static |
References __tr2qs, CreateStatusBarUpdateIndicator(), d, g_pIconManager, KviIconManager::getSmallIcon(), KviStatusBar::registerAppletDescriptor(), and KviIconManager::Update.
Referenced by KviStatusBar::KviStatusBar().
|
protectedvirtual |
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 |
|
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().