KVIrc  4.9.2
DeveloperAPIs
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
KviMainWindow Class Reference

#include <KviMainWindow.h>

+ Inheritance diagram for KviMainWindow:

Public Slots

void customizeToolBars ()
 
void executeInternalCommand (int index)
 
void newConsole ()
 
void toggleMenuBar ()
 
void toggleStatusBar ()
 

Signals

void activeConnectionAwayStateChanged ()
 
void activeConnectionLagChanged ()
 
void activeConnectionNickNameChanged ()
 
void activeConnectionServerInfoChanged ()
 
void activeConnectionUserModeChanged ()
 
void activeContextChanged ()
 
void activeContextStateChanged ()
 
void activeWindowChanged ()
 
void activeWindowSelectionStateChanged (bool bGotSelectionNow)
 

Public Member Functions

KviIrcConnectionactiveConnection ()
 
KviIrcContextactiveContext ()
 
void addWindow (KviWindow *wnd, bool bShow=true)
 
void closeWindow (KviWindow *wnd)
 
unsigned int consoleCount ()
 
KviConsoleWindowcreateNewConsole (bool bFirstInFrame=false, bool bShowIt=true)
 
void fillIconSizePopup (QMenu *p)
 
void fillToolBarsPopup (QMenu *p)
 
KviConsoleWindowfirstConsole ()
 
KviConsoleWindowfirstNotConnectedConsole ()
 
void freeAccelleratorKeySequence (QString &key)
 
 KviMainWindow (QWidget *pParent)
 
KviMenuBarmainMenuBar ()
 
KviStatusBarmainStatusBar ()
 
KviMexToolBarmoduleExtensionToolBar (int extensionId)
 
void saveWindowProperties (KviWindow *wnd, const QString &szSection)
 
void setActiveWindow (KviWindow *wnd)
 
void setButtonStyle (unsigned int uStyle)
 
void setIconSize (unsigned int uSize)
 
void setTrayIcon (KviTrayIcon *e)
 
QSplitter * splitter ()
 
KviTrayIcontrayIcon ()
 
void updateWindowTitle (KviWindow *wnd)
 
bool windowExists (KviWindow *wnd)
 
KviPointerList< KviWindow > * windowList ()
 
KviWindowListBasewindowListWidget ()
 
KviWindowStackwindowStack ()
 
 ~KviMainWindow ()
 
- Public Member Functions inherited from KviTalMainWindow
 KviTalMainWindow (QWidget *pParent, const char *pcName)
 Constructs the mainwindow object. More...
 
 ~KviTalMainWindow ()
 Destroys the mainwindow object. More...
 

Protected Slots

void accelActivated ()
 
void buttonStylePopupSelected (QAction *pAction)
 
void closeActiveWindow ()
 
void iconSizePopupSelected (QAction *pAction)
 
void switchToNextHighlightedWindow ()
 
void switchToNextWindow ()
 
void switchToNextWindowInContext ()
 
void switchToPrevHighlightedWindow ()
 
void switchToPrevWindow ()
 
void switchToPrevWindowInContext ()
 
void toolbarsPopupSelected (QAction *pAction)
 

Protected Member Functions

void applyOptions ()
 
virtual void changeEvent (QEvent *event)
 
void childConnectionAwayStateChange (KviIrcConnection *c)
 
void childConnectionLagChange (KviIrcConnection *c)
 
void childConnectionNickNameChange (KviIrcConnection *c)
 
void childConnectionServerInfoChange (KviIrcConnection *c)
 
void childConnectionUserModeChange (KviIrcConnection *c)
 
void childContextStateChange (KviIrcContext *c)
 
void childWindowCloseRequest (KviWindow *wnd)
 
void childWindowSelectionStateChange (KviWindow *pWnd, bool bGotSelectionNow)
 
virtual void closeEvent (QCloseEvent *e)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
void createWindowList ()
 
void dockWindow (KviWindow *wnd)
 
virtual bool focusNextPrevChild (bool next)
 
virtual void hideEvent (QHideEvent *e)
 
void installAccelerators ()
 
virtual void moveEvent (QMoveEvent *e)
 
void recreateWindowList ()
 
void registerModuleExtensionToolBar (KviMexToolBar *t)
 
virtual void resizeEvent (QResizeEvent *e)
 
void restoreModuleExtensionToolBars ()
 
void saveModuleExtensionToolBars ()
 
void undockWindow (KviWindow *wnd)
 
void unregisterModuleExtensionToolBar (KviMexToolBar *t)
 
void updatePseudoTransparency ()
 
void windowActivated (KviWindow *wnd, bool bForce=false)
 

Protected Attributes

KviPointerList< QShortcut > * m_pAccellerators
 
KviIrcContextm_pActiveContext
 
KviMenuBarm_pMenuBar
 
KviPointerList< KviMexToolBar > * m_pModuleExtensionToolBarList
 
QSplitter * m_pSplitter
 
KviStatusBarm_pStatusBar
 
KviTrayIconm_pTrayIcon
 
KviWindowListBasem_pWindowList
 
KviWindowStackm_pWindowStack
 
KviPointerList< KviWindow > * m_pWinList
 

Private Member Functions

void restoreToolBarPositions ()
 
void saveToolBarPositions ()
 

Friends

class KviApplication
 
class KviConsoleWindow
 
class KviIrcConnection
 
class KviIrcContext
 
class KviIrcServerParser
 
class KviLagMeter
 
class KviMexToolBar
 
class KviUserListView
 
class KviUserListViewArea
 
class KviWindow
 
class KviWindowStack
 

Constructor & Destructor Documentation

KviMainWindow::KviMainWindow ( QWidget *  pParent)
KviMainWindow::~KviMainWindow ( )

Member Function Documentation

void KviMainWindow::accelActivated ( )
protectedslot
KviIrcConnection * KviMainWindow::activeConnection ( )
void KviMainWindow::activeConnectionAwayStateChanged ( )
signal
void KviMainWindow::activeConnectionLagChanged ( )
signal
void KviMainWindow::activeConnectionNickNameChanged ( )
signal
void KviMainWindow::activeConnectionServerInfoChanged ( )
signal
void KviMainWindow::activeConnectionUserModeChanged ( )
signal
KviIrcContext* KviMainWindow::activeContext ( )
inline
void KviMainWindow::activeContextChanged ( )
signal
void KviMainWindow::activeContextStateChanged ( )
signal
void KviMainWindow::activeWindowChanged ( )
signal

Referenced by windowActivated().

void KviMainWindow::activeWindowSelectionStateChanged ( bool  bGotSelectionNow)
signal
void KviMainWindow::addWindow ( KviWindow wnd,
bool  bShow = true 
)
void KviMainWindow::applyOptions ( )
protected
void KviMainWindow::buttonStylePopupSelected ( QAction *  pAction)
protectedslot

References setButtonStyle().

void KviMainWindow::changeEvent ( QEvent *  event)
protectedvirtual
void KviMainWindow::childConnectionAwayStateChange ( KviIrcConnection c)
protected
void KviMainWindow::childConnectionLagChange ( KviIrcConnection c)
protected
void KviMainWindow::childConnectionNickNameChange ( KviIrcConnection c)
protected
void KviMainWindow::childConnectionServerInfoChange ( KviIrcConnection c)
protected
void KviMainWindow::childConnectionUserModeChange ( KviIrcConnection c)
protected
void KviMainWindow::childContextStateChange ( KviIrcContext c)
protected
void KviMainWindow::childWindowCloseRequest ( KviWindow wnd)
protected

References closeWindow().

Referenced by KviWindow::closeEvent().

void KviMainWindow::childWindowSelectionStateChange ( KviWindow pWnd,
bool  bGotSelectionNow 
)
protected
void KviMainWindow::closeActiveWindow ( )
protectedslot
void KviMainWindow::closeEvent ( QCloseEvent *  e)
protectedvirtual
void KviMainWindow::closeWindow ( KviWindow wnd)
unsigned int KviMainWindow::consoleCount ( )
void KviMainWindow::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual
KviConsoleWindow * KviMainWindow::createNewConsole ( bool  bFirstInFrame = false,
bool  bShowIt = true 
)
void KviMainWindow::createWindowList ( )
protected
void KviMainWindow::customizeToolBars ( )
slot

References g_pActiveWindow, and KviKvsScript::run().

Referenced by fillToolBarsPopup().

void KviMainWindow::dockWindow ( KviWindow wnd)
protected
void KviMainWindow::executeInternalCommand ( int  index)
slot
void KviMainWindow::fillIconSizePopup ( QMenu *  p)
void KviMainWindow::fillToolBarsPopup ( QMenu *  p)
KviConsoleWindow * KviMainWindow::firstConsole ( )
KviConsoleWindow * KviMainWindow::firstNotConnectedConsole ( )
bool KviMainWindow::focusNextPrevChild ( bool  next)
protectedvirtual

References v, and w.

void KviMainWindow::freeAccelleratorKeySequence ( QString &  key)
void KviMainWindow::hideEvent ( QHideEvent *  e)
protectedvirtual
void KviMainWindow::iconSizePopupSelected ( QAction *  pAction)
protectedslot
void KviMainWindow::installAccelerators ( )
protected
KviMenuBar* KviMainWindow::mainMenuBar ( )
inline
KviStatusBar* KviMainWindow::mainStatusBar ( )
inline
KviMexToolBar * KviMainWindow::moduleExtensionToolBar ( int  extensionId)
void KviMainWindow::moveEvent ( QMoveEvent *  e)
protectedvirtual
void KviMainWindow::newConsole ( )
slot

References createNewConsole().

void KviMainWindow::recreateWindowList ( )
protected
void KviMainWindow::registerModuleExtensionToolBar ( KviMexToolBar t)
protected
void KviMainWindow::resizeEvent ( QResizeEvent *  e)
protectedvirtual
void KviMainWindow::restoreModuleExtensionToolBars ( )
protected
void KviMainWindow::restoreToolBarPositions ( )
private
void KviMainWindow::saveModuleExtensionToolBars ( )
protected
void KviMainWindow::saveToolBarPositions ( )
private
void KviMainWindow::saveWindowProperties ( KviWindow wnd,
const QString &  szSection 
)
void KviMainWindow::setActiveWindow ( KviWindow wnd)
void KviMainWindow::setButtonStyle ( unsigned int  uStyle)
void KviMainWindow::setIconSize ( unsigned int  uSize)
void KviMainWindow::setTrayIcon ( KviTrayIcon e)
inline
QSplitter* KviMainWindow::splitter ( )
inline
void KviMainWindow::switchToNextHighlightedWindow ( void  )
protectedslot
void KviMainWindow::switchToNextWindow ( void  )
protectedslot
void KviMainWindow::switchToNextWindowInContext ( void  )
protectedslot
void KviMainWindow::switchToPrevHighlightedWindow ( void  )
protectedslot
void KviMainWindow::switchToPrevWindow ( void  )
protectedslot
void KviMainWindow::switchToPrevWindowInContext ( void  )
protectedslot
void KviMainWindow::toggleMenuBar ( )
slot
void KviMainWindow::toggleStatusBar ( )
slot
void KviMainWindow::toolbarsPopupSelected ( QAction *  pAction)
protectedslot
KviTrayIcon* KviMainWindow::trayIcon ( )
inline
void KviMainWindow::undockWindow ( KviWindow wnd)
protected
void KviMainWindow::unregisterModuleExtensionToolBar ( KviMexToolBar t)
protected
void KviMainWindow::updatePseudoTransparency ( )
protected
void KviMainWindow::updateWindowTitle ( KviWindow wnd)
void KviMainWindow::windowActivated ( KviWindow wnd,
bool  bForce = false 
)
protected
bool KviMainWindow::windowExists ( KviWindow wnd)
inline
KviPointerList<KviWindow>* KviMainWindow::windowList ( )
inline
KviWindowListBase* KviMainWindow::windowListWidget ( )
inline
KviWindowStack* KviMainWindow::windowStack ( )
inline

Referenced by KviMenuBar::KviMenuBar().

Friends And Related Function Documentation

friend class KviApplication
friend
friend class KviConsoleWindow
friend

Referenced by createNewConsole().

friend class KviIrcConnection
friend
friend class KviIrcContext
friend
friend class KviIrcServerParser
friend

Referenced by KviApplication::setup().

friend class KviLagMeter
friend
friend class KviMexToolBar
friend
friend class KviUserListView
friend
friend class KviUserListViewArea
friend
friend class KviWindow
friend
friend class KviWindowStack
friend

Referenced by KviMainWindow().

Member Data Documentation

KviPointerList<QShortcut>* KviMainWindow::m_pAccellerators
protected
KviIrcContext* KviMainWindow::m_pActiveContext
protected
KviMenuBar* KviMainWindow::m_pMenuBar
protected
KviPointerList<KviMexToolBar>* KviMainWindow::m_pModuleExtensionToolBarList
protected
QSplitter* KviMainWindow::m_pSplitter
protected

Referenced by KviMainWindow().

KviStatusBar* KviMainWindow::m_pStatusBar
protected
KviTrayIcon* KviMainWindow::m_pTrayIcon
protected

Referenced by KviMainWindow(), and ~KviMainWindow().

KviWindowListBase* KviMainWindow::m_pWindowList
protected
KviWindowStack* KviMainWindow::m_pWindowStack
protected
KviPointerList<KviWindow>* KviMainWindow::m_pWinList
protected

The documentation for this class was generated from the following files: