![]() |
KVIrc 5.2.6
Developer APIs
|
#include <KviStatusBarApplet.h>
Public Types | |
enum | Format { HMS , HM } |
Public Member Functions | |
KviStatusBarClock (KviStatusBar *pParent, KviStatusBarAppletDescriptor *pDescriptor) | |
~KviStatusBarClock () | |
![]() | |
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 | changeFormat (QAction *) |
void | toggle24h () |
void | toggleUtc () |
Protected Member Functions | |
void | adjustMinWidth () |
void | fillContextPopup (QMenu *p) override |
void | loadState (const char *pcPrefix, KviConfigurationFile *pCfg) override |
void | saveState (const char *pcPrefix, KviConfigurationFile *pCfg) override |
void | timerEvent (QTimerEvent *e) override |
![]() | |
virtual QString | tipText (const QPoint &) |
Protected Attributes | |
bool | m_b24h |
bool | m_bUtc |
int | m_iType |
![]() | |
KviStatusBarAppletDescriptor * | m_pDescriptor |
KviStatusBar * | m_pStatusBar |
int | mIndex |
KviStatusBarClock::KviStatusBarClock | ( | KviStatusBar * | pParent, |
KviStatusBarAppletDescriptor * | pDescriptor ) |
References adjustMinWidth(), HMS, KviStatusBarApplet::KviStatusBar, KviStatusBarApplet::KviStatusBarApplet(), m_b24h, m_bUtc, and m_iType.
|
default |
|
protected |
References HMS, m_b24h, and m_iType.
Referenced by changeFormat(), KviStatusBarClock(), loadState(), and toggle24h().
|
protectedslot |
References adjustMinWidth(), and m_iType.
Referenced by fillContextPopup().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References __tr2qs, changeFormat(), connect(), HM, HMS, m_b24h, m_bUtc, p, toggle24h(), and toggleUtc().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References adjustMinWidth(), KviCString::Format, HMS, m_b24h, m_bUtc, m_iType, KviCString::ptr(), KviConfigurationFile::readBoolEntry(), and KviConfigurationFile::readIntEntry().
|
overrideprotectedvirtual |
Reimplemented from KviStatusBarApplet.
References KviCString::Format, m_b24h, m_bUtc, m_iType, KviCString::ptr(), and KviConfigurationFile::writeEntry().
|
static |
References __tr2qs, CreateStatusBarClock(), d, g_pIconManager, KviStatusBarApplet::KviStatusBar, KviStatusBar::registerAppletDescriptor(), and KviIconManager::Time.
Referenced by KviStatusBar::KviStatusBar().
|
overrideprotected |
References HM, HMS, m_b24h, m_bUtc, and m_iType.
Referenced by toggle24h(), and toggleUtc().
|
protectedslot |
References adjustMinWidth(), m_b24h, and timerEvent().
Referenced by fillContextPopup().
|
protectedslot |
References m_bUtc, and timerEvent().
Referenced by fillContextPopup().
|
protected |
Referenced by adjustMinWidth(), fillContextPopup(), KviStatusBarClock(), loadState(), saveState(), timerEvent(), and toggle24h().
|
protected |
Referenced by fillContextPopup(), KviStatusBarClock(), loadState(), saveState(), timerEvent(), and toggleUtc().
|
protected |
Referenced by adjustMinWidth(), changeFormat(), KviStatusBarClock(), loadState(), saveState(), and timerEvent().