KVIrc 5.2.6
Developer APIs
KviWindow Class Reference

Base class for all windows in KVIrc. More...

#include <KviWindow.h>

+ Inheritance diagram for KviWindow:

Public Types

enum  ActivityTemperature {
  Ice = 0 , VeryCold = 1 , Cold = 2 , Undefined = 3 ,
  Hot = 4 , VeryHot = 5 , Fire = 6
}
 Holds the activity meter in temperature scale. More...
 
enum  ActivityValue {
  None = 0 , VeryLow = 1 , Low = 2 , Medium = 3 ,
  High = 4 , VeryHigh = 5
}
 Holds the activity meter in value scale. More...
 
enum  AttentionLevel { VisibleAndActive = 0 , MainWindowIsVisible = 1 }
 attention levels usable in hasAttention() More...
 
enum  Type {
  Console = 0 , Channel = 1 , Query = 2 , DeadChannel = 3 ,
  DeadQuery = 4 , Editor = 5 , Help = 6 , Terminal = 7 ,
  SocketSpy = 8 , Links = 9 , List = 10 , DccChat = 11 ,
  DccTransfer = 12 , DccCanvas = 13 , DccVoice = 14 , DccVideo = 15 ,
  UserWindow = 16 , Tool = 17 , IOGraph = 18 , DirBrowser = 19 ,
  ScriptEditor = 20 , ScriptObject = 21 , LogView = 22 , Offer = 23 ,
  Debug = 24 , Unknown = 25 , TypeCount = 26
}
 Holds the types of a window; these are used by the KVIrc core and distributed modules. More...
 

Public Slots

void autoRaise ()
 
void dock ()
 
void reloadImages ()
 
void savePropertiesAsDefault ()
 
void undock ()
 

Signals

void windowNameChanged ()
 

Public Member Functions

virtual bool activityMeter (unsigned int *puActivityValue, unsigned int *puActivityTemperature)
 
virtual void applyOptions ()
 
virtual QFrame * buttonContainer ()
 
KviIrcConnectionconnection ()
 Returns the current IRC connection (if any)
 
KviConsoleWindowconsole () const
 Returns the console that this window belongs to.
 
KviIrcContextcontext ()
 
void contextPopup ()
 
QString decodeText (const char *pcText)
 
virtual QTextCodec * defaultTextCodec ()
 
void delayedAutoRaise ()
 
void delayedClose ()
 
void demandAttention ()
 Notify the window manager that this window demands attention.
 
QByteArray encodeText (const QString &szText)
 
void forceTextCodec (QTextCodec *pCodec)
 
virtual void getBaseLogFileName (QString &szBuffer)
 
virtual void getConfigGroupName (QString &szBuffer)
 
void getDefaultLogFileName (QString &szBuffer)
 
void getDefaultLogFileName (QString &szBuffer, QDate date, bool bGzip, unsigned int uDatetimeFormat)
 
virtual void getWindowListTipText (QString &szBuffer)
 
bool hasAttention (AttentionLevel eLevel=VisibleAndActive)
 Returns whether this window is the active one.
 
virtual bool highlightMe (unsigned int uValue)
 
virtual bool highlightMeter (unsigned int *puValue)
 
QString id () const
 Returns the global ID of this window.
 
KviInputinput () const
 
void internalOutput (KviIrcView *pView, int iMsgType, const kvi_wchar_t *pwText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
bool isChannel () const
 
bool isConsole () const
 
bool isDocked () const
 
bool isQuery () const
 
 KviWindow (Type eType, const QString &szName, KviConsoleWindow *pConsole=nullptr)
 Constructs the window object.
 
virtual KviIrcViewlastClickedView () const
 Returns the KviIrcView that was last clicked in this window.
 
const QString & lastLineOfText ()
 
const QString & lastMessageText ()
 
void listWindowTypes ()
 
virtual const QString & localNick ()
 
QTextEncoder * makeEncoder ()
 
unsigned long int numericId () const
 Returns the global ID of this window.
 
virtual void output (int iMsgType, const char *pcFormat,...)
 
virtual void output (int iMsgType, const kvi_wchar_t *pwFormat,...)
 
void output (int iMsgType, const QDateTime &datetime, const char *pcFormat,...)
 
void output (int iMsgType, const QDateTime &datetime, const kvi_wchar_t *pwFormat,...)
 
void output (int iMsgType, const QDateTime &datetime, QString szFmt,...)
 
virtual void output (int iMsgType, QString szFmt,...)
 
virtual void outputNoFmt (int iMsgType, const char *pcText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
virtual void outputNoFmt (int iMsgType, const kvi_wchar_t *pwText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
virtual void outputNoFmt (int iMsgType, const QString &szText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
virtual KviWindowoutputProxy ()
 
virtual void ownAction (const QString &)
 
virtual void ownMessage (const QString &, bool=true)
 
void pasteLastLog ()
 Pastes the most recent channel log into the buffer.
 
virtual const QString & plainTextCaption ()
 
void setFixedCaption (const QString &szCaption)
 
void setProgress (int iProgress)
 Sets the progress for the WindowList item.
 
bool setTextEncoding (const QString &szTextEncoding)
 
void setWindowName (const QString &szName)
 Sets the name of the window.
 
void setWindowTitle (QString &szTitle)
 
KviTalSplittersplitter () const
 Returns the splitter of this window.
 
virtual const QString & target ()
 
QTextCodec * textCodec ()
 
const QString & textEncoding () const
 
virtual void toggleButtonContainer ()
 
Type type () const
 Returns the type of the window.
 
virtual const char * typeString ()
 Returns a descriptive name of the window type.
 
void unhighlight ()
 
void updateBackgrounds (QObject *pObj=nullptr)
 
virtual void updateCaption ()
 
virtual void updateIcon ()
 
KviIrcViewview () const
 Returns the KviIrcView of this window.
 
KviWindowListItemwindowListItem () const
 Returns the windowList item.
 
const QString & windowName () const
 Returns the name of this window.
 
 ~KviWindow ()
 Destroys the window object.
 

Protected Slots

void childDestroyed ()
 
void cryptControllerFinished ()
 
void cryptSessionInfoDestroyed ()
 
void systemTextEncodingPopupActivated (QAction *pAction)
 
void textEncodingButtonClicked ()
 
void toggleCryptController ()
 

Protected Member Functions

void childEvent (QChildEvent *pEvent) override
 
void childInserted (QWidget *pObject)
 
void childRemoved (QWidget *pObject)
 
virtual void childrenTreeChanged (QWidget *pAdded)
 
void closeEvent (QCloseEvent *pEvent) override
 
void createCryptControllerButton (QWidget *pPar)
 
void createSystemTextEncodingPopup ()
 
void createTextEncodingButton (QWidget *pPar)
 
QToolButton * createToolButton (QWidget *pPar, const char *pcName, KviIconManager::SmallIcon eIcon, const QString &szToolTip, bool bOn)
 
virtual void createWindowListItem ()
 
virtual void destroyWindowListItem ()
 
bool eventFilter (QObject *pObject, QEvent *pEvent) override
 
virtual void fillCaptionBuffers ()
 
void fillSingleColorCaptionBuffers (const QString &szName)
 
void focusInEvent (QFocusEvent *) override
 
bool focusNextPrevChild (bool bNext) override
 
void inputMethodEvent (QInputMethodEvent *e) override
 
virtual void loadProperties (KviConfigurationFile *pCfg)
 
virtual void lostUserFocus ()
 
void moveEvent (QMoveEvent *pEvent) override
 
virtual QPixmap * myIconPtr ()
 
virtual void preprocessMessage (QString &szMessage)
 
virtual void saveProperties (KviConfigurationFile *pCfg)
 
void setType (Type eType)
 
virtual void triggerCreationEvents ()
 
virtual void triggerDestructionEvents ()
 
virtual void youAreDocked ()
 
virtual void youAreUndocked ()
 

Protected Attributes

bool m_bIsDocked
 
bool m_bProcessingInputEvent
 
Type m_eType
 
KviTalHBoxm_pButtonBox
 
KviConsoleWindowm_pConsole
 
QWidget * m_pFocusHandler
 
QToolButton * m_pHideToolsButton
 
KviInputm_pInput
 
KviIrcViewm_pIrcView
 
QWidget * m_pLastFocusedChild
 
KviTalSplitterm_pSplitter
 
QTextCodec * m_pTextCodec
 
QToolButton * m_pTextEncodingButton
 
KviWindowListItemm_pWindowListItem
 
QString m_szName
 
QString m_szPlainTextCaption
 
QString m_szTextEncoding
 
unsigned long int m_uId
 

Static Protected Attributes

static const char * m_typeTable [TypeCount]
 

Properties

int KviProperty_ChildFocusOwner
 

Private Member Functions

QByteArray loadLogFile (const QString &szFileName, bool bGzip)
 Loads a log file.
 

Friends

class KviInput
 
class KviMainWindow
 
class KviTreeWindowList
 
class KviTreeWindowListItem
 
class KviTreeWindowListItemDelegate
 
class KviWindowListButton
 
class KviWindowListItem
 
class KviWindowStack
 

Detailed Description

Base class for all windows in KVIrc.

Member Enumeration Documentation

◆ ActivityTemperature

Holds the activity meter in temperature scale.

Enumerator
Ice 

Ice

VeryCold 

Very cold

Cold 

Cold

Undefined 

Undefined

Hot 

Hot

VeryHot 

Very hot

Fire 

Fire

◆ ActivityValue

Holds the activity meter in value scale.

Enumerator
None 

None

VeryLow 

Very low

Low 

Low

Medium 

Medium

High 

High

VeryHigh 

Very high

◆ AttentionLevel

attention levels usable in hasAttention()

Enumerator
VisibleAndActive 

The window is visible and active (aka: has user focus)

MainWindowIsVisible 

The kvirc frame is visible but the window is not the active one

◆ Type

Holds the types of a window; these are used by the KVIrc core and distributed modules.

Note
If you add a new type, insert it just before Unknown
Enumerator
Console 
Channel 
Query 
DeadChannel 
DeadQuery 
Editor 
Help 
Terminal 
SocketSpy 
Links 
List 
DccChat 
DccTransfer 
DccCanvas 
DccVoice 
DccVideo 
UserWindow 
Tool 
IOGraph 
DirBrowser 
ScriptEditor 

\ no longer exists please reuse entry

ScriptObject 
LogView 
Offer 
Debug 
Unknown 
TypeCount 

Constructor & Destructor Documentation

◆ KviWindow()

KviWindow::KviWindow ( Type eType,
const QString & szName,
KviConsoleWindow * pConsole = nullptr )

Constructs the window object.

Parameters
eTypeThe type of the window
lpFrmThe main window
szNameThe name of the window
pConsoleThe parent console
Returns
KviWindow

References connect(), g_pApp, g_uUniqueWindowId, KVI_WINDOW_MIN_HEIGHT, KVI_WINDOW_MIN_WIDTH, m_bIsDocked, m_bProcessingInputEvent, m_eType, m_pButtonBox, m_pConsole, m_pFocusHandler, m_pHideToolsButton, m_pInput, m_pIrcView, m_pLastFocusedChild, m_pSplitter, m_pTextCodec, m_pTextEncodingButton, m_pWindowListItem, m_szName, m_uId, nullptr, and reloadImages().

Referenced by ActionEditorWindow::ActionEditorWindow(), KviConsoleWindow::activeWindow(), AliasEditorWindow::AliasEditorWindow(), KviConsoleWindow::applyHighlighting(), ClassEditorWindow::ClassEditorWindow(), CodeTesterWindow::CodeTesterWindow(), DccChatWindow::DccChatWindow(), DccWindow::dccMarshalOutputWindow(), DccVideoWindow::DccVideoWindow(), DccVoiceWindow::DccVoiceWindow(), DccWindow::DccWindow(), KviConsoleWindow::destroyConnection(), EventEditorWindow::EventEditorWindow(), FileTransferWindow::FileTransferWindow(), HelpWindow::HelpWindow(), internalOutput(), KviChannelWindow::KviChannelWindow(), KviConsoleWindow::KviConsoleWindow(), KviDebugWindow::KviDebugWindow(), KviIOGraphWindow::KviIOGraphWindow(), KviKvsScriptWindowWindow::KviKvsScriptWindowWindow(), KviQueryWindow::KviQueryWindow(), LinksWindow::LinksWindow(), ListWindow::ListWindow(), LogViewWindow::LogViewWindow(), KviConsoleWindow::outputPrivmsg(), outputProxy(), PopupEditorWindow::PopupEditorWindow(), RawEditorWindow::RawEditorWindow(), UrlDialog::sayToWin(), SharedFilesWindow::SharedFilesWindow(), SocketSpyWindow::SocketSpyWindow(), KviConsoleWindow::triggerOnHighlight(), UrlDialog::UrlDialog(), and UserWindow::UserWindow().

◆ ~KviWindow()

Member Function Documentation

◆ activityMeter()

bool KviWindow::activityMeter ( unsigned int * puActivityValue,
unsigned int * puActivityTemperature )
virtual

Reimplemented in KviChannelWindow.

Referenced by KviTreeWindowListItemDelegate::paint().

◆ applyOptions()

◆ autoRaise

void KviWindow::autoRaise ( )
slot

References g_pMainWindow, isDocked(), and m_pFocusHandler.

Referenced by delayedAutoRaise().

◆ buttonContainer()

virtual QFrame * KviWindow::buttonContainer ( )
inlinevirtual

◆ childDestroyed

void KviWindow::childDestroyed ( )
protectedslot

References childRemoved().

Referenced by childInserted().

◆ childEvent()

void KviWindow::childEvent ( QChildEvent * pEvent)
overrideprotected

References childInserted(), and childRemoved().

◆ childInserted()

void KviWindow::childInserted ( QWidget * pObject)
protected

◆ childRemoved()

void KviWindow::childRemoved ( QWidget * pObject)
protected

◆ childrenTreeChanged()

void KviWindow::childrenTreeChanged ( QWidget * pAdded)
protectedvirtual

◆ closeEvent()

void KviWindow::closeEvent ( QCloseEvent * pEvent)
overrideprotected

◆ connection()

KviIrcConnection * KviWindow::connection ( )

Returns the current IRC connection (if any)

Returns
KviIrcConnection *

References KviIrcContext::connection(), console(), KviConsoleWindow::context(), and context().

Referenced by KviConsoleWindow::applyHighlighting(), avatar_kvs_cmd_notify(), avatar_kvs_cmd_query(), avatar_kvs_cmd_set(), avatar_kvs_cmd_unset(), avatar_kvs_fnc_name(), avatar_kvs_fnc_path(), KviConsoleWindow::avatarChanged(), KviConsoleWindow::avatarChangedUpdateWindows(), chan_kvs_fnc_common(), chan_kvs_fnc_getUrl(), KviChannelWindow::checkChannelSync(), KviConsoleWindow::checkDefaultAvatar(), KviChannelWindow::closeEvent(), KviConsoleWindow::connectionAttached(), KviConsoleWindow::currentAvatar(), KviConsoleWindow::currentNetworkName(), dcc_fill_local_nick_user_host(), dcc_kvs_cmd_get(), dcc_kvs_get_listen_ip_address(), dcc_module_reply_errmsg(), dccModuleParseDccGet(), defaultTextCodec(), KviTrayIconWidget::doAway(), KviIrcContextDisplay::drawContents(), KviKvsTreeNodeAliasSimpleCommand::execute(), ListWindow::exportList(), KviChannelWindow::fillCaptionBuffers(), KviQueryWindow::fillCaptionBuffers(), KviTrayIconWidget::fillContextPopup(), KviApplication::fillRecentChannelsPopup(), KviApplication::fillRecentNicknamesPopup(), KviConsoleWindow::fillStatusString(), KviApplication::findConsole(), KviChannelWindow::getBaseLogFileName(), KviConsoleWindow::getBaseLogFileName(), KviQueryWindow::getBaseLogFileName(), KviChannelWindow::getConfigGroupName(), KviQueryWindow::getInfoLabelText(), KviWindowListBase::getTextForConsole(), KviConsoleWindow::getUserTipText(), KviConsoleWindow::getWindowListTipText(), KviQueryWindow::getWindowListTipText(), KviIsOnNotifyListManager::handleIsOn(), DccBroker::handleResumeRequest(), LinksWindow::hostPopupClicked(), KviConsoleWindow::isIPv6Connection(), ListWindow::itemDoubleClicked(), KviChannelWindow::KviChannelWindow(), KviQueryWindow::KviQueryWindow(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreSimpleCommands::KVSCSC(), KviKvsCoreSimpleCommands::KVSCSC(), KviKvsCoreSimpleCommands::KVSCSC(), KviChannelWindow::myFlags(), KviConsoleWindow::outputPrivmsg(), KviChannelWindow::ownAction(), KviQueryWindow::ownAction(), KviChannelWindow::ownMessage(), KviQueryWindow::ownMessage(), KviIrcServerParser::parseCtcpReplyLagcheck(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseLiteralChghost(), KviIrcServerParser::parseLiteralJoin(), KviIrcServerParser::parseLiteralKick(), KviIrcServerParser::parseLiteralNick(), KviIrcServerParser::parseLiteralNotice(), KviIrcServerParser::parseLiteralPart(), KviIrcServerParser::parseLiteralPing(), KviIrcServerParser::parseLiteralPong(), KviIrcServerParser::parseLiteralPrivmsg(), KviIrcServerParser::parseLiteralQuit(), KviUserInput::parseNonCommand(), KviIrcServerParser::parseNumeric005(), KviChannelWindow::removeMasks(), KviConsoleWindow::resetAvatarForMatchingUsers(), KviApplication::restartLagMeters(), KviApplication::restartNotifyLists(), DccBroker::rsendExecute(), KviIrcUrl::run(), KviChannelWindow::serverInfo(), KviChannelWindow::setAliveChan(), KviQueryWindow::setAliveQuery(), KviConsoleWindow::setAvatar(), KviConsoleWindow::setAvatarFromOptions(), KviChannelWindow::setDeadChan(), KviQueryWindow::setDeadQuery(), KviChannelWindow::setMode(), KviChannelWindow::setModeInList(), KviQueryWindow::setTarget(), KviTopicWidget::switchMode(), KviIrcConnectionRequestQueue::timerSlot(), KviIrcContextDisplay::tipRequest(), KviChannelWindow::toggleListModeEditor(), KviChannelWindow::topicSelected(), KviConsoleWindow::triggerOnHighlight(), KviConsoleWindow::updateUri(), KviChannelWindow::~KviChannelWindow(), and KviQueryWindow::~KviQueryWindow().

◆ console()

◆ context()

◆ contextPopup()

void KviWindow::contextPopup ( )

◆ createCryptControllerButton()

◆ createSystemTextEncodingPopup()

◆ createTextEncodingButton()

◆ createToolButton()

QToolButton * KviWindow::createToolButton ( QWidget * pPar,
const char * pcName,
KviIconManager::SmallIcon eIcon,
const QString & szToolTip,
bool bOn )
protected

◆ createWindowListItem()

void KviWindow::createWindowListItem ( )
protectedvirtual

◆ cryptControllerFinished

void KviWindow::cryptControllerFinished ( )
protectedslot

Referenced by toggleCryptController().

◆ cryptSessionInfoDestroyed

void KviWindow::cryptSessionInfoDestroyed ( )
protectedslot

◆ decodeText()

◆ defaultTextCodec()

◆ delayedAutoRaise()

void KviWindow::delayedAutoRaise ( )

◆ delayedClose()

void KviWindow::delayedClose ( )

◆ demandAttention()

void KviWindow::demandAttention ( )

Notify the window manager that this window demands attention.

Depending on the os/window manager, this method uses different approaches to trigger a notification that typically makes the application entry flash on the application bar.

Returns
void

References g_pApp, g_pMainWindow, and isDocked().

Referenced by DccChatWindow::event(), DccVideoWindow::event(), KviNotifyListManager::notifyOnLine(), KviConsoleWindow::outputPrivmsg(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseLiteralNotice(), and KviIrcServerParser::parseLiteralPrivmsg().

◆ destroyWindowListItem()

void KviWindow::destroyWindowListItem ( )
protectedvirtual

References g_pMainWindow, and m_pWindowListItem.

Referenced by ~KviWindow().

◆ dock

void KviWindow::dock ( )
slot

References g_pMainWindow.

◆ encodeText()

◆ eventFilter()

bool KviWindow::eventFilter ( QObject * pObject,
QEvent * pEvent )
overrideprotected

◆ fillCaptionBuffers()

◆ fillSingleColorCaptionBuffers()

void KviWindow::fillSingleColorCaptionBuffers ( const QString & szName)
inlineprotected

◆ focusInEvent()

void KviWindow::focusInEvent ( QFocusEvent * )
overrideprotected

◆ focusNextPrevChild()

bool KviWindow::focusNextPrevChild ( bool bNext)
overrideprotected

◆ forceTextCodec()

void KviWindow::forceTextCodec ( QTextCodec * pCodec)

◆ getBaseLogFileName()

void KviWindow::getBaseLogFileName ( QString & szBuffer)
virtual

◆ getConfigGroupName()

void KviWindow::getConfigGroupName ( QString & szBuffer)
virtual

◆ getDefaultLogFileName() [1/2]

◆ getDefaultLogFileName() [2/2]

◆ getWindowListTipText()

virtual void KviWindow::getWindowListTipText ( QString & szBuffer)
inlinevirtual

◆ hasAttention()

bool KviWindow::hasAttention ( AttentionLevel eLevel = VisibleAndActive)

Returns whether this window is the active one.

This method is useful because it takes in consideration that this window can be either docked or undocked, and takes a parameter that defines the strictness of the checks used. Level MainWindowIsVisible is fine to check if we needs to trigger the notifier Level VisibleAndActive is useful to trigger highlights

Parameters
eLevelthe level of checks to be done
Returns
bool

References g_pActiveWindow, g_pMainWindow, isDocked(), MainWindowIsVisible, and VisibleAndActive.

Referenced by NotifierWindow::addMessage(), DccChatWindow::event(), DccVideoWindow::event(), internalOutput(), KviNotifyListManager::notifyOnLine(), KviConsoleWindow::outputPrivmsg(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseLiteralNotice(), KviIrcServerParser::parseLiteralPrivmsg(), NotifierWindow::shouldHideIfMainWindowGotAttention(), and KviConsoleWindow::triggerOnHighlight().

◆ highlightMe()

bool KviWindow::highlightMe ( unsigned int uValue)
virtual

References m_pWindowListItem.

Referenced by window_kvs_cmd_highlight().

◆ highlightMeter()

bool KviWindow::highlightMeter ( unsigned int * puValue)
virtual

References m_pWindowListItem.

◆ id()

QString KviWindow::id ( ) const
inline

Returns the global ID of this window.

This is unique in the application

Returns
QString

References m_uId.

Referenced by KviApplication::registerWindow(), spaste_kvs_cmd_list(), spaste_kvs_cmd_stop(), KviApplication::unregisterWindow(), and window_kvs_fnc_open().

◆ input()

KviInput * KviWindow::input ( ) const
inline

◆ inputMethodEvent()

void KviWindow::inputMethodEvent ( QInputMethodEvent * e)
overrideprotected

◆ internalOutput()

◆ isChannel()

bool KviWindow::isChannel ( ) const
inline

Returns true if the window is a channel

References Channel, and m_eType.

Referenced by KviMainWindow::addWindow(), and window_kvs_cmd_setBackground().

◆ isConsole()

bool KviWindow::isConsole ( ) const
inline

Returns true if the window is a console

References Console, and m_eType.

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

◆ isDocked()

◆ isQuery()

bool KviWindow::isQuery ( ) const
inline

Returns true if the window is a query

References m_eType, and Query.

◆ lastClickedView()

virtual KviIrcView * KviWindow::lastClickedView ( ) const
inlinevirtual

Returns the KviIrcView that was last clicked in this window.

Acts as view() except for split view windows See also: view()

Returns
KviIrcView *

Reimplemented in KviChannelWindow.

References m_pIrcView.

◆ lastLineOfText()

const QString & KviWindow::lastLineOfText ( )

References KviQString::Empty, and m_pIrcView.

◆ lastMessageText()

const QString & KviWindow::lastMessageText ( )

References KviQString::Empty, and m_pIrcView.

◆ listWindowTypes()

void KviWindow::listWindowTypes ( )

◆ loadLogFile()

QByteArray KviWindow::loadLogFile ( const QString & szFileName,
bool bGzip )
private

Loads a log file.

It opens a logfile, gzipped or not, and returns the content in a buffer

Parameters
szFileNameThe filename of the log file
bGzipWhether the log file is gzipped
Returns
QByteArray

Referenced by pasteLastLog().

◆ loadProperties()

◆ localNick()

virtual const QString & KviWindow::localNick ( )
inlinevirtual

Reimplemented in DccChatWindow, and DccVideoWindow.

References KviQString::Empty.

◆ lostUserFocus()

void KviWindow::lostUserFocus ( )
protectedvirtual

Reimplemented in KviChannelWindow.

References m_pIrcView.

Referenced by KviChannelWindow::lostUserFocus().

◆ makeEncoder()

QTextEncoder * KviWindow::makeEncoder ( )

◆ moveEvent()

void KviWindow::moveEvent ( QMoveEvent * pEvent)
overrideprotected

References updateBackgrounds().

◆ myIconPtr()

◆ numericId()

unsigned long int KviWindow::numericId ( ) const
inline

Returns the global ID of this window.

This is unique in the application

Returns
QString

References m_uId.

Referenced by KviKvsCoreFunctions::KVSCF().

◆ output() [1/6]

void KviWindow::output ( int iMsgType,
const char * pcFormat,
... )
virtual

References internalOutput(), kvi_va_end, kvi_va_list, kvi_va_start, l, m_pIrcView, preprocessMessage(), and KviQString::vsprintf().

Referenced by action_kvs_cmd_list(), addon_kvs_cmd_installfiles(), addon_kvs_cmd_list(), addon_kvs_cmd_register(), addon_kvs_cmd_uninstall(), avatar_kvs_cmd_notify(), KviChannelWindow::checkChannelSync(), DccBroker::chooseSaveFileName(), DccChatWindow::connected(), DccVideoWindow::connected(), DccVoiceWindow::connected(), SocketSpyWindow::connectionInitiated(), DccChatWindow::connectionInProgress(), DccVideoWindow::connectionInProgress(), DccVoiceWindow::connectionInProgress(), SocketSpyWindow::connectionTerminated(), cryptSessionInfoDestroyed(), dcc_module_request_error(), dccModuleParseDccChat(), dccModuleParseDccGet(), dccModuleParseDccRecv(), dccModuleParseDccRSend(), dccModuleParseDccSend(), dccModuleParseDccVideo(), dccModuleParseDccVoice(), dumpChildObjects(), KviIrcServerParser::echoCtcpReply(), KviIrcServerParser::echoCtcpRequest(), LinksWindow::endOfLinks(), KviKvsPopupMenuItem::evaluateCondition(), KviKvsPopupMenuItemWithTextAndIcon::evaluateIcon(), KviKvsPopupMenuItemWithTextAndIcon::evaluateText(), DccChatWindow::event(), DccFileTransfer::event(), DccVideoWindow::event(), DccVoiceWindow::event(), KviIdentSentinel::event(), KviKvsTreeNodeAliasSimpleCommand::execute(), KviKvsPopupMenu::executeEpilogues(), KviKvsPopupMenu::executePrologues(), KviApplication::fileDownloadTerminated(), KviKvsPopupMenuItemExtMenu::fill(), DccChatWindow::handleMarshalError(), DccVideoWindow::handleMarshalError(), DccVoiceWindow::handleMarshalError(), HttpFileTransfer::headersReceived(), KviIrcConnection::heartbeat(), LinksWindow::hostPopupClicked(), KviApplication::ipcMessage(), KviKvsCoreSimpleCommands::KVSCSC(), KviModuleManager::loadModule(), KviKvsAsyncDnsOperation::lookupTerminated(), KviQueryWindow::notifyCommonChannels(), KviQueryWindow::notifyTargetChange(), objects_kvs_fnc_listObjects(), options_kvs_module_print_pages(), KviIrcServerParser::otherChannelError(), DccFileTransfer::outputAndLog(), DccFileTransfer::outputAndLog(), DccChatWindow::ownAction(), DccVideoWindow::ownAction(), KviChannelWindow::ownAction(), KviQueryWindow::ownAction(), DccChatWindow::ownMessage(), DccVideoWindow::ownMessage(), KviChannelWindow::ownMessage(), KviQueryWindow::ownMessage(), KviIrcServerParser::parseChannelHelp(), KviIrcServerParser::parseChannelMode(), KviIrcServerParser::parseCommandEndOfHelp(), KviIrcServerParser::parseCommandSyntaxHelp(), KviIrcServerParser::parseCtcpReplyPing(), KviIrcServerParser::parseCtcpRequest(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseCtcpRequestAvatar(), KviIrcServerParser::parseCtcpRequestDcc(), KviIrcServerParser::parseLiteralCap(), KviIrcServerParser::parseLiteralError(), KviIrcServerParser::parseLiteralInvite(), KviIrcServerParser::parseLiteralJoin(), KviIrcServerParser::parseLiteralKick(), KviIrcServerParser::parseLiteralMode(), KviIrcServerParser::parseLiteralNick(), KviIrcServerParser::parseLiteralNotice(), KviIrcServerParser::parseLiteralPart(), KviIrcServerParser::parseLiteralPing(), KviIrcServerParser::parseLiteralPong(), KviIrcServerParser::parseLiteralPrivmsg(), KviIrcServerParser::parseLiteralQuit(), KviIrcServerParser::parseLiteralTopic(), KviIrcServerParser::parseLiteralWallops(), KviIrcServerParser::parseLoginNicknameProblem(), KviIrcServerParser::parseMessage(), KviUserInput::parseNonCommand(), KviIrcServerParser::parseNumeric004(), KviIrcServerParser::parseNumeric005(), KviIrcServerParser::parseNumeric020(), KviIrcServerParser::parseNumeric367(), KviIrcServerParser::parseNumeric368(), KviIrcServerParser::parseNumeric486(), KviIrcServerParser::parseNumeric742(), KviIrcServerParser::parseNumericAlreadyRegistered(), KviIrcServerParser::parseNumericAway(), KviIrcServerParser::parseNumericBackFromAway(), KviIrcServerParser::parseNumericBanOnChan(), KviIrcServerParser::parseNumericCannotSend(), KviIrcServerParser::parseNumericCannotSendColor(), KviIrcServerParser::parseNumericCantJoinChannel(), KviIrcServerParser::parseNumericChannelModeIs(), KviIrcServerParser::parseNumericChanUrl(), KviIrcServerParser::parseNumericCodePageScheme(), KviIrcServerParser::parseNumericCodePageSet(), KviIrcServerParser::parseNumericCreationTime(), KviIrcServerParser::parseNumericEndOfLinks(), KviIrcServerParser::parseNumericEndOfNames(), KviIrcServerParser::parseNumericEndOfQuietList(), KviIrcServerParser::parseNumericEndOfWho(), KviIrcServerParser::parseNumericEndOfWhois(), KviIrcServerParser::parseNumericEndOfWhowas(), KviIrcServerParser::parseNumericForward(), KviIrcServerParser::parseNumericHiddenHost(), KviIrcServerParser::parseNumericInfoEnd(), KviIrcServerParser::parseNumericInfoStart(), KviIrcServerParser::parseNumericInvited(), KviIrcServerParser::parseNumericInviting(), KviIrcServerParser::parseNumericIsOn(), KviIrcServerParser::parseNumericLinks(), KviIrcServerParser::parseNumericList(), KviIrcServerParser::parseNumericListEnd(), KviIrcServerParser::parseNumericListStart(), KviIrcServerParser::parseNumericMotdMissing(), KviIrcServerParser::parseNumericNames(), KviIrcServerParser::parseNumericNeedSSL(), KviIrcServerParser::parseNumericNicknameProblem(), KviIrcServerParser::parseNumericNoPrivs(), KviIrcServerParser::parseNumericNoSuchChannel(), KviIrcServerParser::parseNumericNoSuchNick(), KviIrcServerParser::parseNumericNoSuchServer(), KviIrcServerParser::parseNumericNotEnoughParams(), KviIrcServerParser::parseNumericNotifyGeneric(), KviIrcServerParser::parseNumericNoTopic(), KviIrcServerParser::parseNumericNotRegistered(), KviIrcServerParser::parseNumericOftcEndOfQuietList(), KviIrcServerParser::parseNumericOftcQuietList(), KviIrcServerParser::parseNumericPasswordIncorrect(), KviIrcServerParser::parseNumericQuietList(), KviIrcServerParser::parseNumericSaslFail(), KviIrcServerParser::parseNumericSaslLogin(), KviIrcServerParser::parseNumericServerAdminInfoAdminContact(), KviIrcServerParser::parseNumericServerAdminInfoAdminName(), KviIrcServerParser::parseNumericServerAdminInfoServerName(), KviIrcServerParser::parseNumericSnomask(), KviIrcServerParser::parseNumericStartTls(), KviIrcServerParser::parseNumericTime(), KviIrcServerParser::parseNumericTopic(), KviIrcServerParser::parseNumericTopicWhoTime(), KviIrcServerParser::parseNumericTryAgain(), KviIrcServerParser::parseNumericUnavailResource(), KviIrcServerParser::parseNumericUnknownCommand(), KviIrcServerParser::parseNumericUserhost(), KviIrcServerParser::parseNumericUserInChan(), KviIrcServerParser::parseNumericUserMode(), KviIrcServerParser::parseNumericUsersDontMatch(), KviIrcServerParser::parseNumericWatch(), KviIrcServerParser::parseNumericWhoisActually(), KviIrcServerParser::parseNumericWhoisAuth(), KviIrcServerParser::parseNumericWhoisAway(), KviIrcServerParser::parseNumericWhoisChannels(), KviIrcServerParser::parseNumericWhoisIdle(), KviIrcServerParser::parseNumericWhoisOther(), KviIrcServerParser::parseNumericWhoisRegistered(), KviIrcServerParser::parseNumericWhoisServer(), KviIrcServerParser::parseNumericWhoisUser(), KviIrcServerParser::parseNumericWhospcrpl(), KviIrcServerParser::parseNumericWhowasUser(), KviIrcServerParser::parseNumericYouHaveCallerID(), KviIrcServerParser::parseNumericYoureOper(), KviIrcServerParser::parseNumericYourUID(), pasteLastLog(), LinksWindow::processData(), ListWindow::processData(), DccBroker::recvFileManage(), regchan_kvs_cmd_showlist(), reguser_kvs_cmd_showlist(), DccBroker::renameDccSendFile(), DccBroker::renameOverwriteResume(), KviKvsReport::report(), HttpFileTransfer::requestSent(), DccBroker::rsendExecute(), DccBroker::sendFileExecute(), KviConsoleWindow::setAvatar(), sharedfile_kvs_cmd_list(), snd_kvs_cmd_autodetect(), spaste_kvs_cmd_list(), DccChatWindow::sslError(), DccChatWindow::startConnection(), DccVideoWindow::startConnection(), DccVoiceWindow::startConnection(), HttpFileTransfer::statusMessage(), KviChannelWindow::topicSelected(), HttpFileTransfer::transferTerminated(), and KviKvsEventManager::triggerHandlers().

◆ output() [2/6]

void KviWindow::output ( int iMsgType,
const kvi_wchar_t * pwFormat,
... )
virtual

◆ output() [3/6]

void KviWindow::output ( int iMsgType,
const QDateTime & datetime,
const char * pcFormat,
... )

◆ output() [4/6]

void KviWindow::output ( int iMsgType,
const QDateTime & datetime,
const kvi_wchar_t * pwFormat,
... )

◆ output() [5/6]

void KviWindow::output ( int iMsgType,
const QDateTime & datetime,
QString szFmt,
... )

◆ output() [6/6]

void KviWindow::output ( int iMsgType,
QString szFmt,
... )
virtual

◆ outputNoFmt() [1/3]

void KviWindow::outputNoFmt ( int iMsgType,
const char * pcText,
int iFlags = 0,
const QDateTime & datetime = QDateTime() )
virtual

References internalOutput(), m_pIrcView, and preprocessMessage().

Referenced by dccModuleParseDccRecv(), LinksWindow::endOfLinks(), ListWindow::endOfList(), DccVideoWindow::event(), DccVoiceWindow::event(), KviIdentSentinel::event(), KviKvsScript::execute(), SocketSpyWindow::incomingMessage(), internalOutput(), LogViewWindow::itemSelected(), KviIrcConnection::keepChannelsOpenAfterDisconnect(), KviKvsCoreSimpleCommands::KVSCSC(), KviKvsCoreSimpleCommands::KVSCSC(), listWindowTypes(), KviNotifyListManager::notifyOffLine(), KviNotifyListManager::notifyOnLine(), SocketSpyWindow::outgoingMessage(), KviConsoleWindow::outputPrivmsg(), KviQueryWindow::ownMessage(), KviIrcServerParser::parseCommandHelp(), KviIrcServerParser::parseCtcpReplyAvatar(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseCtcpRequestDcc(), KviIrcServerParser::parseLiteralNotice(), KviIrcServerParser::parseLoginNicknameProblem(), KviIrcServerParser::parseNumeric001(), KviIrcServerParser::parseNumeric002(), KviIrcServerParser::parseNumeric003(), KviIrcServerParser::parseNumeric004(), KviIrcServerParser::parseNumeric005(), KviIrcServerParser::parseNumericCommandSyntax(), KviIrcServerParser::parseNumericEndOfStats(), KviIrcServerParser::parseNumericInfo(), KviIrcServerParser::parseNumericMotd(), KviIrcServerParser::parseNumericNoTopic(), KviIrcServerParser::parseNumericSaslSuccess(), KviIrcServerParser::parseNumericServerAdminInfoTitle(), KviIrcServerParser::parseNumericStats(), KviChannelWindow::partMessageSent(), LinksWindow::processData(), regchan_kvs_cmd_showlist(), reguser_kvs_cmd_showlist(), KviKvsReport::report(), LinksWindow::requestLinks(), ListWindow::requestList(), LinksWindow::reset(), ListWindow::reset(), sharedfile_kvs_cmd_list(), snd_kvs_cmd_autodetect(), DccChatWindow::startingSSLHandshake(), and ListWindow::stoplistdownload().

◆ outputNoFmt() [2/3]

virtual void KviWindow::outputNoFmt ( int iMsgType,
const kvi_wchar_t * pwText,
int iFlags = 0,
const QDateTime & datetime = QDateTime() )
inlinevirtual

References internalOutput(), and m_pIrcView.

◆ outputNoFmt() [3/3]

void KviWindow::outputNoFmt ( int iMsgType,
const QString & szText,
int iFlags = 0,
const QDateTime & datetime = QDateTime() )
virtual

◆ outputProxy()

KviWindow * KviWindow::outputProxy ( )
virtual

References KviWindow().

Referenced by internalOutput().

◆ ownAction()

virtual void KviWindow::ownAction ( const QString & )
inlinevirtual

◆ ownMessage()

virtual void KviWindow::ownMessage ( const QString & ,
bool = true )
inlinevirtual

◆ pasteLastLog()

void KviWindow::pasteLastLog ( )

Pastes the most recent channel log into the buffer.

It searches for the most recent channel log of the channel we have just joined, and pastes into the buffer the last N lines, where N is get from the options

Returns
void

References __tr2qs, Channel, DeadChannel, getDefaultLogFileName(), KVI_OPTION_UINT, KVI_OUT_LOG, KviOption_uintDaysIntervalToPasteOnChannelJoin, KviOption_uintDaysIntervalToPasteOnQueryJoin, KviOption_uintLinesToPasteOnChannelJoin, KviOption_uintLinesToPasteOnQueryJoin, loadLogFile(), output(), and type().

Referenced by KviChannelWindow::KviChannelWindow(), and KviQueryWindow::KviQueryWindow().

◆ plainTextCaption()

virtual const QString & KviWindow::plainTextCaption ( )
inlinevirtual

◆ preprocessMessage()

void KviWindow::preprocessMessage ( QString & szMessage)
protectedvirtual

◆ reloadImages

void KviWindow::reloadImages ( )
slot

References updateIcon().

Referenced by KviWindow().

◆ saveProperties()

◆ savePropertiesAsDefault

void KviWindow::savePropertiesAsDefault ( )
slot

◆ setFixedCaption()

◆ setProgress()

void KviWindow::setProgress ( int iProgress)

Sets the progress for the WindowList item.

If "progress" makes sense in your window, well, use this

Parameters
iProgressThe progress to set
Returns
void

References m_pWindowListItem.

◆ setTextEncoding()

bool KviWindow::setTextEncoding ( const QString & szTextEncoding)

◆ setType()

void KviWindow::setType ( Type eType)
inlineprotected

◆ setWindowName()

void KviWindow::setWindowName ( const QString & szName)

Sets the name of the window.

Parameters
szNameThe name of the window
Returns
void

References m_szName, and windowNameChanged().

Referenced by KviQueryWindow::nickChange(), and KviQueryWindow::setTarget().

◆ setWindowTitle()

void KviWindow::setWindowTitle ( QString & szTitle)

References g_pMainWindow.

Referenced by updateCaption().

◆ splitter()

KviTalSplitter * KviWindow::splitter ( ) const
inline

Returns the splitter of this window.

It shouldn't be null... but... well... who knows ? :D ...better check it

Returns
KviTalSplitter *

References KviTalSplitter, and m_pSplitter.

◆ systemTextEncodingPopupActivated

void KviWindow::systemTextEncodingPopupActivated ( QAction * pAction)
protectedslot

◆ target()

virtual const QString & KviWindow::target ( )
inlinevirtual

◆ textCodec()

QTextCodec * KviWindow::textCodec ( )
inline

References defaultTextCodec(), and m_pTextCodec.

◆ textEncoding()

const QString & KviWindow::textEncoding ( ) const
inline

References m_szTextEncoding.

◆ textEncodingButtonClicked

void KviWindow::textEncodingButtonClicked ( )
protectedslot

◆ toggleButtonContainer()

void KviWindow::toggleButtonContainer ( )
virtual

◆ toggleCryptController

void KviWindow::toggleCryptController ( )
protectedslot

◆ triggerCreationEvents()

virtual void KviWindow::triggerCreationEvents ( )
inlineprotectedvirtual

◆ triggerDestructionEvents()

virtual void KviWindow::triggerDestructionEvents ( )
inlineprotectedvirtual

Reimplemented in DccChatWindow, and DccVideoWindow.

Referenced by KviMainWindow::closeWindow().

◆ type()

◆ typeString()

const char * KviWindow::typeString ( )
virtual

Returns a descriptive name of the window type.

Returns
const char *

References m_eType, m_typeTable, TypeCount, and Unknown.

Referenced by KviMainWindow::addWindow(), getConfigGroupName(), getDefaultLogFileName(), and savePropertiesAsDefault().

◆ undock

void KviWindow::undock ( )
slot

References g_pMainWindow.

◆ unhighlight()

void KviWindow::unhighlight ( )

References m_pWindowListItem.

Referenced by window_kvs_cmd_highlight().

◆ updateBackgrounds()

void KviWindow::updateBackgrounds ( QObject * pObj = nullptr)

References updateBackgrounds().

Referenced by moveEvent(), and updateBackgrounds().

◆ updateCaption()

◆ updateIcon()

◆ view()

KviIrcView * KviWindow::view ( ) const
inline

Returns the KviIrcView of this window.

May be nullptr if the window has no KviIrcView (and thus supports no direct output)

Returns
KviIrcView *

References m_pIrcView.

Referenced by log_kvs_cmd_flush(), log_kvs_cmd_start(), log_kvs_cmd_stop(), log_kvs_fnc_file(), and window_kvs_cmd_setBackground().

◆ windowListItem()

KviWindowListItem * KviWindow::windowListItem ( ) const
inline

Returns the windowList item.

The window has ALWAYS a WindowList item

Returns
KviWindowListItem *

References KviWindowListItem, and m_pWindowListItem.

Referenced by KviMainWindow::windowActivated().

◆ windowName()

◆ windowNameChanged

void KviWindow::windowNameChanged ( )
signal

Referenced by setWindowName().

◆ youAreDocked()

void KviWindow::youAreDocked ( )
protectedvirtual

References m_bIsDocked, and updateCaption().

Referenced by KviMainWindow::dockWindow().

◆ youAreUndocked()

void KviWindow::youAreUndocked ( )
protectedvirtual

Friends And Related Symbol Documentation

◆ KviInput

◆ KviMainWindow

friend class KviMainWindow
friend

References KviMainWindow.

Referenced by KviMainWindow.

◆ KviTreeWindowList

friend class KviTreeWindowList
friend

References KviTreeWindowList.

Referenced by KviTreeWindowList.

◆ KviTreeWindowListItem

friend class KviTreeWindowListItem
friend

References KviTreeWindowListItem.

Referenced by KviTreeWindowListItem.

◆ KviTreeWindowListItemDelegate

◆ KviWindowListButton

friend class KviWindowListButton
friend

References KviWindowListButton.

Referenced by KviWindowListButton.

◆ KviWindowListItem

friend class KviWindowListItem
friend

References KviWindowListItem.

Referenced by KviWindowListItem, and windowListItem().

◆ KviWindowStack

friend class KviWindowStack
friend

References KviWindowStack.

Referenced by KviWindowStack.

Member Data Documentation

◆ m_bIsDocked

bool KviWindow::m_bIsDocked
protected

◆ m_bProcessingInputEvent

bool KviWindow::m_bProcessingInputEvent
protected

Referenced by inputMethodEvent(), and KviWindow().

◆ m_eType

Type KviWindow::m_eType
protected

◆ m_pButtonBox

◆ m_pConsole

◆ m_pFocusHandler

QWidget* KviWindow::m_pFocusHandler
protected

◆ m_pHideToolsButton

QToolButton* KviWindow::m_pHideToolsButton
protected

◆ m_pInput

◆ m_pIrcView

KviIrcView* KviWindow::m_pIrcView
protected

Referenced by FileTransferWindow::applyOptions(), KviConsoleWindow::applyOptions(), applyOptions(), LinksWindow::applyOptions(), ListWindow::applyOptions(), SocketSpyWindow::applyOptions(), CodeTesterWindow::CodeTesterWindow(), KviConsoleWindow::connectionAttached(), DccChatWindow::DccChatWindow(), DccVideoWindow::DccVideoWindow(), DccVoiceWindow::DccVoiceWindow(), LogViewWindow::deleteCurrent(), FileTransferWindow::FileTransferWindow(), focusInEvent(), LogViewWindow::itemSelected(), LogViewWindow::keyPressEvent(), KviChannelWindow::KviChannelWindow(), KviConsoleWindow::KviConsoleWindow(), KviDebugWindow::KviDebugWindow(), KviQueryWindow::KviQueryWindow(), KviWindow(), KviChannelWindow::lastClickedView(), lastClickedView(), lastLineOfText(), lastMessageText(), LinksWindow::LinksWindow(), ListWindow::ListWindow(), KviChannelWindow::loadProperties(), LogViewWindow::LogViewWindow(), lostUserFocus(), KviQueryWindow::mergeQuery(), output(), output(), output(), output(), output(), output(), KviChannelWindow::outputMessage(), outputNoFmt(), outputNoFmt(), outputNoFmt(), UserWindow::resizeEvent(), KviChannelWindow::setAliveChan(), KviQueryWindow::setAliveQuery(), KviChannelWindow::showDoubleView(), DccChatWindow::sizeHint(), DccVoiceWindow::sizeHint(), KviChannelWindow::sizeHint(), KviConsoleWindow::sizeHint(), KviDebugWindow::sizeHint(), KviQueryWindow::sizeHint(), LogViewWindow::sizeHint(), SocketSpyWindow::sizeHint(), SocketSpyWindow::SocketSpyWindow(), UserWindow::UserWindow(), and view().

◆ m_pLastFocusedChild

QWidget* KviWindow::m_pLastFocusedChild
protected

◆ m_pSplitter

KviTalSplitter* KviWindow::m_pSplitter
protected

Referenced by DccChatWindow::DccChatWindow(), DccVideoWindow::DccVideoWindow(), DccVoiceWindow::DccVoiceWindow(), FileTransferWindow::FileTransferWindow(), HelpWindow::HelpWindow(), KviChannelWindow::KviChannelWindow(), KviConsoleWindow::KviConsoleWindow(), KviDebugWindow::KviDebugWindow(), KviQueryWindow::KviQueryWindow(), KviWindow(), LinksWindow::LinksWindow(), ListWindow::ListWindow(), HelpWindow::loadProperties(), KviChannelWindow::loadProperties(), KviConsoleWindow::loadProperties(), KviDebugWindow::loadProperties(), KviQueryWindow::loadProperties(), LogViewWindow::LogViewWindow(), DccChatWindow::resizeEvent(), DccVideoWindow::resizeEvent(), DccVoiceWindow::resizeEvent(), FileTransferWindow::resizeEvent(), HelpWindow::resizeEvent(), KviChannelWindow::resizeEvent(), KviConsoleWindow::resizeEvent(), KviDebugWindow::resizeEvent(), KviQueryWindow::resizeEvent(), LinksWindow::resizeEvent(), ListWindow::resizeEvent(), LogViewWindow::resizeEvent(), SharedFilesWindow::resizeEvent(), SocketSpyWindow::resizeEvent(), HelpWindow::saveProperties(), KviChannelWindow::saveProperties(), KviConsoleWindow::saveProperties(), KviDebugWindow::saveProperties(), KviQueryWindow::saveProperties(), SharedFilesWindow::SharedFilesWindow(), KviQueryWindow::showListView(), KviConsoleWindow::showNotifyList(), DccVideoWindow::sizeHint(), FileTransferWindow::sizeHint(), KviChannelWindow::sizeHint(), KviDebugWindow::sizeHint(), KviQueryWindow::sizeHint(), LinksWindow::sizeHint(), ListWindow::sizeHint(), LogViewWindow::sizeHint(), SharedFilesWindow::sizeHint(), SocketSpyWindow::SocketSpyWindow(), splitter(), toggleCryptController(), KviChannelWindow::toggleListModeEditor(), KviChannelWindow::toggleListView(), and KviChannelWindow::toggleModeEditor().

◆ m_pTextCodec

QTextCodec* KviWindow::m_pTextCodec
protected

◆ m_pTextEncodingButton

QToolButton* KviWindow::m_pTextEncodingButton
protected

◆ m_pWindowListItem

◆ m_szName

◆ m_szPlainTextCaption

◆ m_szTextEncoding

QString KviWindow::m_szTextEncoding
protected

◆ m_typeTable

const char * KviWindow::m_typeTable
staticprotected
Initial value:
= {
"console",
"channel",
"query",
"deadchannel",
"deadquery",
"editor",
"help",
"terminal",
"socketspy",
"links",
"list",
"dccchat",
"dcctransfer",
"dcccanvas",
"dccvoice",
"dccvideo",
"userwindow",
"tool",
"iograph",
"dirbrowser",
"scripteditor",
"scriptobject",
"logview",
"offer",
"debug",
"unknown"
}

Referenced by listWindowTypes(), and typeString().

◆ m_uId

unsigned long int KviWindow::m_uId
protected

Referenced by id(), KviWindow(), and numericId().

Property Documentation

◆ KviProperty_ChildFocusOwner

int KviWindow::KviProperty_ChildFocusOwner
read

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