KVIrc
4.9.2
DeveloperAPIs
|
#include <KviStatusBarApplet.h>
Public Member Functions | |
KviStatusBarAwayIndicator (KviStatusBar *pParent, KviStatusBarAppletDescriptor *pDescriptor) | |
virtual | ~KviStatusBarAwayIndicator () |
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 | toggleContext () |
void | updateDisplay () |
Protected Member Functions | |
virtual void | fillContextPopup (QMenu *p) |
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 &) |
Protected Attributes | |
bool | m_bAwayOnAllContexts |
Protected Attributes inherited from KviStatusBarApplet | |
KviStatusBarAppletDescriptor * | m_pDescriptor |
KviStatusBar * | m_pStatusBar |
int | mIndex |
KviStatusBarAwayIndicator::KviStatusBarAwayIndicator | ( | KviStatusBar * | pParent, |
KviStatusBarAppletDescriptor * | pDescriptor | ||
) |
|
virtualdefault |
|
protectedvirtual |
Reimplemented from KviStatusBarApplet.
References __tr2qs, m_bAwayOnAllContexts, and toggleContext().
|
protectedvirtual |
Reimplemented from KviStatusBarApplet.
References KviCString::Format, m_bAwayOnAllContexts, KviCString::ptr(), and KviConfigurationFile::readBoolEntry().
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from KviStatusBarApplet.
References KviCString::Format, m_bAwayOnAllContexts, KviCString::ptr(), and KviConfigurationFile::writeEntry().
|
static |
References __tr2qs, KviIconManager::Away, CreateStatusBarAwayIndicator(), d, g_pIconManager, KviIconManager::getSmallIcon(), and KviStatusBar::registerAppletDescriptor().
Referenced by KviStatusBar::KviStatusBar().
|
protectedvirtual |
Reimplemented from KviStatusBarApplet.
References __tr2qs, KviMainWindow::activeConnection(), KviIrcConnectionUserInfo::awayTime(), c, KviIrcConnection::Connected, KviTimeUtils::formatTimeInterval(), KviStatusBar::frame(), KviIrcConnectionUserInfo::isAway(), kvi_unixTime, KviTimeUtils::NoLeadingEmptyIntervals, KviIrcConnection::state(), KviStatusBarApplet::statusBar(), and KviIrcConnection::userInfo().
|
protectedslot |
References m_bAwayOnAllContexts.
Referenced by fillContextPopup().
|
protectedslot |
References KviMainWindow::activeContext(), KviIconManager::Away, c, KviIrcContext::connection(), KviStatusBar::frame(), g_pIconManager, KviIconManager::getSmallIcon(), KviIrcConnectionUserInfo::isAway(), KviIrcContext::isConnected(), KviIconManager::NotAway, KviStatusBarApplet::statusBar(), and KviIrcConnection::userInfo().
Referenced by KviStatusBarAwayIndicator().
|
protected |
Referenced by fillContextPopup(), KviStatusBarAwayIndicator(), loadState(), mouseDoubleClickEvent(), saveState(), and toggleContext().