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

#include <KviApplication.h>

+ Inheritance diagram for KviApplication:

Public Types

enum  KvircSubdir {
  None, Pics, Config, Help,
  HelpEN, HelpNoIntl, Log, Incoming,
  Audio, Scripts, Plugins, ConfigPlugins,
  Trash, MsgColors, Charmaps, Avatars,
  DefScript, License, Modules, ConfigScripts,
  Filters, Tmp, Locale, Themes,
  Classes, SmallIcons, EasyPlugins
}
 

Public Slots

void addRecentUrl (const QString &text)
 
void restoreDefaultScript ()
 
void saveConfiguration ()
 
void showParentFrame ()
 
void updateGui ()
 
void updatePseudoTransparency ()
 
- Public Slots inherited from KviTalApplication
virtual void commitData (QSessionManager &manager)
 Commits the data and save the session. More...
 

Signals

void recentUrlsChanged ()
 
void reloadImages ()
 
void updateNotifier ()
 

Public Member Functions

KviConsoleWindowactiveConsole ()
 
void addRecentChannel (const QString &chan, const QString &net)
 
void addRecentNickname (const QString &newNick)
 
void addRecentServer (const QString &server)
 
void autoConnectToServers ()
 
void checkSuggestRestoreDefaultScript ()
 
void completeDirectory (const QString &word, KviPointerList< QString > *matches)
 
bool connectionExists (KviIrcConnection *cnn)
 
void fileDownloadTerminated (bool bSuccess, const QString &szRemoteUrl, const QString &szLocalFileName, const QString &szNick=QString(), const QString &szError=QString(), bool bQuiet=false)
 
void fillRecentChannelsPopup (QMenu *m, KviConsoleWindow *pConsole)
 
void fillRecentNicknamesPopup (QMenu *m, KviConsoleWindow *pConsole)
 
void fillRecentServersPopup (QMenu *m)
 
bool findAudioFile (QString &szRetPath, const QString &szFileName)
 
KviConsoleWindowfindConsole (unsigned int ircContextId)
 
KviConsoleWindowfindConsole (QString &servr, QString &nick)
 
bool findImage (QString &szRetPath, const QString &filename)
 
bool findImageInImageSearchPath (QString &szRetPath, const QString &filename)
 
bool findImageThemeOnlyCompat (QString &szRetPath, const QString &filename)
 
KviPendingAvatarChangefindPendingAvatarChange (KviConsoleWindow *pConsole, const QString &szNick, const QString &szRemoteUrl)
 
bool findSmallIcon (QString &szRetPath, const QString &filename)
 
KviWindowfindWindow (const QString &windowId)
 
KviWindowfindWindowByCaption (const QString &windowCaption, int iContextId=-1)
 
bool firstTimeRun () const
 
void getChannelDumpLogFileName (QString &str)
 
void getGlobalKvircDirectory (QString &szData, KvircSubdir dir, const QString &appendFile=QString())
 
void getLocalKvircDirectory (QString &szData, KvircSubdir dir, const QString &appendFile=QString(), bool bCreateIfNeeded=true)
 
bool getOptionString (const QString &optName, QString &buffer)
 
bool getReadOnlyConfigPath (QString &buffer, const char *config_name, KvircSubdir sbd=Config, bool bNoFail=false)
 
void getTmpFileName (QString &szBuffer, const QString &szEndingFileName=QString())
 
void ipcMessage (char *message)
 
 KviApplication (int &argc, char **argv)
 
bool kviClosingDown () const
 
void listAvailableOptions (KviWindow *wnd)
 
void loadDefaultScript (QString szItem=QString())
 
void loadOptions ()
 
bool mapImageFile (QString &szRetPath, const QString &filename)
 
void notifierMessage (KviWindow *pWnd, int iIconId, const QString &szMsg, unsigned int uMessageLifetime)
 
void optionResetUpdate (int flags)
 
KviPointerHashTable< QString,
QStringList > * 
recentChannels () const
 
QStringList * recentChannelsForNetwork (const QString &net)
 
void resetAvatarForMatchingUsers (KviRegisteredUser *u)
 
void restartLagMeters ()
 
void restartNotifyLists ()
 
void saveActions ()
 
void saveAliases ()
 
void saveAppEvents ()
 
void saveAvatarCache ()
 
void saveDefaultScripts ()
 
void saveIdentities ()
 
void saveIdentityProfiles ()
 
void saveInputHistory ()
 
void saveIrcServerDataBase ()
 
void saveMediaTypes ()
 
void saveNickServ ()
 
void saveOptions ()
 
void savePopups ()
 
void saveProxyDataBase ()
 
void saveRawEvents ()
 
void saveRecentEntries ()
 
void saveRegisteredChannels ()
 
void saveRegisteredUsers ()
 
void saveScriptAddons ()
 
void saveSharedFiles ()
 
void saveTextIcons ()
 
void saveToolBars ()
 
void setAvatarFromOptions ()
 
void setAvatarOnFileReceived (KviConsoleWindow *pConsole, const QString &szRemoteUrl, const QString &szNick, const QString &szUser, const QString &szHost)
 
bool setCommonOptionValue (const QString &optName, const QString &value)
 
void setKviClosingDown ()
 
bool setOptionValue (const QString &optName, const QString &value)
 
void setup ()
 
void setupBegin ()
 
void setupFinish ()
 
bool supportsCompositing ()
 
QStyle * themedStyle ()
 
KviConsoleWindowtopmostConnectedConsole ()
 
void triggerUpdateGui ()
 
unsigned int windowCount ()
 
bool windowExists (KviWindow *wnd)
 
 ~KviApplication ()
 
- Public Member Functions inherited from KviTalApplication
 KviTalApplication (int &iArgc, char **ppcArgv)
 Constructs the application object. More...
 
virtual void saveConfiguration ()=0
 Saves configuration to disk. More...
 
 ~KviTalApplication ()
 Destructs the application object. More...
 

Static Public Member Functions

static QTextCodec * defaultSrvCodec ()
 
static QTextCodec * defaultTextCodec ()
 
static int getGloballyUniqueId ()
 

Public Attributes

bool m_bCreateConfig
 
QString m_szConfigFile
 
QString m_szExecAfterStartup
 

Protected Member Functions

void buildRecentChannels ()
 
void frameDestructorCallback ()
 
void heartbeat (kvi_time_t tNow)
 
void registerWindow (KviWindow *wnd)
 
void saveRecentChannels ()
 
virtual void timerEvent (QTimerEvent *e)
 
void unregisterWindow (KviWindow *wnd)
 

Protected Attributes

bool m_bClosingDown
 
bool m_bFirstTimeRun
 
bool m_bSetupDone
 
bool m_bUpdateGuiPending
 
QFont m_fntDefaultFont
 
int m_iHeartbeatTimerId
 
KviWindowm_pActiveWindow
 
KviIpcSentinelm_pIpcSentinel
 
KviPointerList
< KviPendingAvatarChange > * 
m_pPendingAvatarChanges
 
KviPointerHashTable< QString,
QStringList > * 
m_pRecentChannelDict
 
QString m_szGlobalKvircDir
 
QString m_szLocalKvircDir
 

Private Member Functions

bool checkFileAssociations ()
 
bool checkGlobalKvircDirectory (const QString)
 
bool checkLocalKvircDirectory (const QString &szSpecificPath)
 
bool checkLocalKvircDirectory ()
 
bool checkUriAssociations (const char *proto)
 
void createFrame ()
 
void createIpcSentinel ()
 
void destroyIpcSentinel ()
 
void findGlobalKvircDirectory ()
 
bool findLocalKvircDirectory ()
 
void loadDirectories ()
 
void loadRecentEntries ()
 
void saveKvircDirectory ()
 
void setupFileAssociations ()
 
void setupUriAssociations (const char *proto)
 
void updateApplicationFont ()
 

Friends

class KviMainWindow
 
class KviWindow
 
class SetupWizard
 

Member Enumeration Documentation

Enumerator
None 
Pics 
Config 
Help 
HelpEN 
HelpNoIntl 
Log 
Incoming 
Audio 
Scripts 
Plugins 
ConfigPlugins 
Trash 
MsgColors 
Charmaps 
Avatars 
DefScript 
License 
Modules 
ConfigScripts 
Filters 
Tmp 
Locale 
Themes 
Classes 
SmallIcons 
EasyPlugins 

Constructor & Destructor Documentation

KviApplication::KviApplication ( int &  argc,
char **  argv 
)
KviApplication::~KviApplication ( )

Member Function Documentation

KviConsoleWindow * KviApplication::activeConsole ( )
void KviApplication::addRecentChannel ( const QString &  chan,
const QString &  net 
)
void KviApplication::addRecentNickname ( const QString &  newNick)
void KviApplication::addRecentServer ( const QString &  server)
void KviApplication::addRecentUrl ( const QString &  text)
slot
void KviApplication::autoConnectToServers ( )
void KviApplication::buildRecentChannels ( )
protected
bool KviApplication::checkFileAssociations ( )
private
bool KviApplication::checkGlobalKvircDirectory ( const QString  szDir)
private
bool KviApplication::checkLocalKvircDirectory ( const QString &  szSpecificPath)
private
bool KviApplication::checkLocalKvircDirectory ( )
private
void KviApplication::checkSuggestRestoreDefaultScript ( )
bool KviApplication::checkUriAssociations ( const char *  proto)
private

Referenced by loadDirectories().

void KviApplication::completeDirectory ( const QString &  word,
KviPointerList< QString > *  matches 
)
bool KviApplication::connectionExists ( KviIrcConnection cnn)
void KviApplication::createFrame ( )
private
void KviApplication::createIpcSentinel ( )
private

References m_pIpcSentinel.

Referenced by setup().

QTextCodec * KviApplication::defaultSrvCodec ( )
static
QTextCodec * KviApplication::defaultTextCodec ( )
static
void KviApplication::destroyIpcSentinel ( )
private

References m_pIpcSentinel.

Referenced by ~KviApplication().

void KviApplication::fileDownloadTerminated ( bool  bSuccess,
const QString &  szRemoteUrl,
const QString &  szLocalFileName,
const QString &  szNick = QString(),
const QString &  szError = QString(),
bool  bQuiet = false 
)
void KviApplication::fillRecentChannelsPopup ( QMenu *  m,
KviConsoleWindow pConsole 
)
void KviApplication::fillRecentNicknamesPopup ( QMenu *  m,
KviConsoleWindow pConsole 
)
void KviApplication::fillRecentServersPopup ( QMenu *  m)
bool KviApplication::findAudioFile ( QString &  szRetPath,
const QString &  szFileName 
)

Attempts to locate the audio file specified by szFileName and put it's absolute path in szRetPath. Returns true if the audio file is found and false otherwise.

If szFileName is already an absolute path then it's returned directly after testing for its existence. If szFileName is not an absolute path then it's searched in the local KVIrc "audio" directory, then in the global one and finally in the user's home.

References Audio, KviQString::ensureLastCharIs(), KviFileUtils::fileExists(), getGlobalKvircDirectory(), getLocalKvircDirectory(), KviFileUtils::isAbsolutePath(), and KVI_PATH_SEPARATOR_CHAR.

Referenced by OptionsWidget_soundGeneral::soundTest().

KviConsoleWindow * KviApplication::findConsole ( unsigned int  ircContextId)
KviConsoleWindow * KviApplication::findConsole ( QString &  servr,
QString &  nick 
)
void KviApplication::findGlobalKvircDirectory ( )
private

defined(COMPILE_KDE_SUPPORT) && !defined(COMPILE_ON_MAC)

COMPILE_ON_MAC

References KviFileUtils::adjustFilePath(), checkGlobalKvircDirectory(), m_szGlobalKvircDir, and KviMessageBox::warning().

Referenced by loadDirectories().

bool KviApplication::findImage ( QString &  szRetPath,
const QString &  filename 
)
bool KviApplication::findImageInImageSearchPath ( QString &  szRetPath,
const QString &  filename 
)
bool KviApplication::findImageThemeOnlyCompat ( QString &  szRetPath,
const QString &  filename 
)
bool KviApplication::findLocalKvircDirectory ( )
private
KviPendingAvatarChange * KviApplication::findPendingAvatarChange ( KviConsoleWindow pConsole,
const QString &  szNick,
const QString &  szRemoteUrl 
)
bool KviApplication::findSmallIcon ( QString &  szRetPath,
const QString &  filename 
)
KviWindow * KviApplication::findWindow ( const QString &  windowId)
KviWindow * KviApplication::findWindowByCaption ( const QString &  windowCaption,
int  iContextId = -1 
)
bool KviApplication::firstTimeRun ( ) const
inline
void KviApplication::frameDestructorCallback ( )
protected
void KviApplication::getChannelDumpLogFileName ( QString &  str)
void KviApplication::getGlobalKvircDirectory ( QString &  szData,
KvircSubdir  dir,
const QString &  appendFile = QString() 
)

References KviFileUtils::adjustFilePath(), KviQString::appendFormatted(), Audio, Avatars, Charmaps, Classes, Config, ConfigPlugins, ConfigScripts, DefScript, KviFileUtils::directoryExists(), EasyPlugins, KviQString::ensureLastCharIs(), Filters, Help, HelpEN, HelpNoIntl, Incoming, KviLocale::instance(), KVI_PATH_SEPARATOR, KVI_PATH_SEPARATOR_CHAR, KVI_SMALLICONS_SUBDIRECTORY, License, Locale, Log, m_szGlobalKvircDir, Modules, MsgColors, None, Pics, Plugins, Scripts, SmallIcons, Themes, Tmp, and Trash.

Referenced by AboutDialog::AboutDialog(), ScriptEditorWidget::asyncCompleterCreation(), KviModuleManager::completeModuleNames(), LogViewWindow::createLog(), file_kvs_fnc_globaldir(), findAudioFile(), findImage(), findImageThemeOnlyCompat(), PluginManager::findPlugin(), findSmallIcon(), getReadOnlyConfigPath(), help_kvs_cmd_open(), help_module_init(), KviIconManager::initQResourceBackend(), KviTheme::installedThemeDirectories(), KviDefaultScriptManager::isDefscriptUpToDate(), KviDefaultScriptManager::KviDefaultScriptManager(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreSimpleCommands::KVSCSC(), OptionsWidget_messageColors::load(), KviTextIconManager::load(), loadDefaultScript(), KviModuleManager::loadModule(), KviModuleManager::loadModulesByCaps(), KviKvsObjectController::lookupClass(), mapImageFile(), OptionsWidget_textEncoding::OptionsWidget_textEncoding(), KviDefaultScriptManager::restore(), KviDefaultScriptManager::restoreInternal(), KviTheme::save(), KviThemeInfo::setDirectoryAndLocation(), setup(), setupBegin(), SetupWizard::SetupWizard(), and HelpWidget::showIndex().

int KviApplication::getGloballyUniqueId ( )
static
void KviApplication::getLocalKvircDirectory ( QString &  szData,
KvircSubdir  dir,
const QString &  appendFile = QString(),
bool  bCreateIfNeeded = true 
)

References KviFileUtils::adjustFilePath(), Audio, Avatars, Charmaps, Classes, Config, ConfigPlugins, ConfigScripts, DefScript, KviFileUtils::directoryExists(), EasyPlugins, KviQString::ensureLastCharIs(), Filters, Help, HelpEN, HelpNoIntl, Incoming, KviLocale::instance(), KVI_DEFAULT_INCOMING_SUBDIRECTORY_NAME, KVI_OPTION_STRING, KVI_PATH_SEPARATOR, KVI_PATH_SEPARATOR_CHAR, KVI_SMALLICONS_SUBDIRECTORY, KviOption_stringIncomingPath, KviOption_stringLogsPath, License, Locale, KviLocale::localeName(), Log, m_szLocalKvircDir, KviFileUtils::makeDir(), Modules, MsgColors, None, Pics, Plugins, KviCString::ptr(), Scripts, SmallIcons, Themes, Tmp, and Trash.

Referenced by addon_kvs_cmd_installfiles(), ScriptEditorWidget::asyncCompleterCreation(), avatar_kvs_cmd_set(), ClassEditorWidget::build(), LogViewWindow::cacheFileList(), checkLocalKvircDirectory(), OptionsWidget_textIcons::chooseFromFile(), DccBroker::chooseSaveFileName(), TipWindow::closeConfig(), OptionsWidget_textEncoding::commit(), KviModuleManager::completeModuleNames(), config_kvs_fnc_id(), config_kvs_fnc_open(), LogViewWindow::createLog(), KviKvsObjectController::deleteClass(), file_kvs_fnc_localdir(), KviIrcViewToolWidget::filterLoad(), KviIrcViewToolWidget::filterSave(), findAudioFile(), findImage(), findImageThemeOnlyCompat(), PluginManager::findPlugin(), findSmallIcon(), KviKvsObjectController::flushUserClasses(), KviIconManager::getAvatar(), getChannelDumpLogFileName(), KviModule::getDefaultConfigFileName(), KviWindow::getDefaultLogFileName(), getReadOnlyConfigPath(), getTmpFileName(), help_kvs_cmd_open(), help_module_init(), http_kvs_complete_get(), RegisteredUsersDialog::importClicked(), HelpWindow::initialSetup(), KviIconManager::initQResourceBackend(), AddonFunctions::installAddonPackage(), KviTheme::installedThemeDirectories(), ThemeFunctions::installThemePackage(), KviDefaultScriptManager::KviDefaultScriptManager(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreSimpleCommands::KVSCSC(), OptionsWidget_messageColors::load(), loadBanList(), ScriptEditorWidget::loadCompleterFromFile(), KviModuleManager::loadModule(), KviModuleManager::loadModulesByCaps(), ClassEditorWidget::loadNotBuiltClasses(), loadRecentEntries(), loadUrlList(), KviKvsObjectController::lookupClass(), mapImageFile(), objects_kvs_fnc_classes(), ClassEditorWidget::oneTimeSetup(), OptionsWidget_textEncoding::OptionsWidget_textEncoding(), package_kvs_fnc_info(), KviIrcServerParser::parseCtcpReplyAvatar(), KviQueryWindow::pasteLastLog(), KviChannelWindow::pasteLastLog(), ClassEditorWidget::removeItem(), ClassEditorWidget::renameFunction(), KviMainWindow::restoreToolBarPositions(), OptionsWidget_messageColors::save(), KviTextIconManager::save(), KviStatusBar::save(), saveActions(), saveAliases(), saveAppEvents(), saveAvatarCache(), saveBanList(), saveDefaultScripts(), saveIdentities(), saveIdentityProfiles(), saveInputHistory(), saveIrcServerDataBase(), saveMediaTypes(), saveNickServ(), ClassEditorWidget::saveNotBuiltClasses(), saveOptions(), savePopups(), saveProxyDataBase(), saveRawEvents(), saveRecentEntries(), saveRegisteredChannels(), saveRegisteredUsers(), saveScriptAddons(), saveSharedFiles(), KviMainWindow::saveToolBarPositions(), saveToolBars(), saveUrlList(), ScriptEditorWidget::ScriptEditorWidget(), KviThemeInfo::setDirectoryAndLocation(), setup(), AvatarDownloadDialog::startDownload(), KviKvsScriptAddonManager::unregisterAddon(), and url_module_init().

bool KviApplication::getOptionString ( const QString &  optName,
QString &  buffer 
)
bool KviApplication::getReadOnlyConfigPath ( QString &  buffer,
const char *  config_name,
KvircSubdir  sbd = Config,
bool  bNoFail = false 
)
void KviApplication::getTmpFileName ( QString &  szBuffer,
const QString &  szEndingFileName = QString() 
)
void KviApplication::heartbeat ( kvi_time_t  tNow)
protected
void KviApplication::ipcMessage ( char *  message)
bool KviApplication::kviClosingDown ( ) const
inline
void KviApplication::listAvailableOptions ( KviWindow wnd)
void KviApplication::loadDefaultScript ( QString  szItem = QString())
void KviApplication::loadDirectories ( )
private
void KviApplication::loadOptions ( )
void KviApplication::loadRecentEntries ( )
private
bool KviApplication::mapImageFile ( QString &  szRetPath,
const QString &  filename 
)
void KviApplication::notifierMessage ( KviWindow pWnd,
int  iIconId,
const QString &  szMsg,
unsigned int  uMessageLifetime 
)
void KviApplication::optionResetUpdate ( int  flags)
KviPointerHashTable<QString, QStringList>* KviApplication::recentChannels ( ) const
inline
QStringList * KviApplication::recentChannelsForNetwork ( const QString &  net)
void KviApplication::recentUrlsChanged ( )
signal

Referenced by addRecentUrl().

void KviApplication::registerWindow ( KviWindow wnd)
protected
void KviApplication::reloadImages ( )
signal

Referenced by optionResetUpdate().

void KviApplication::resetAvatarForMatchingUsers ( KviRegisteredUser u)
void KviApplication::restartLagMeters ( )
void KviApplication::restartNotifyLists ( )
void KviApplication::restoreDefaultScript ( )
slot
void KviApplication::saveActions ( )
void KviApplication::saveAliases ( )
void KviApplication::saveAppEvents ( )
void KviApplication::saveAvatarCache ( )
void KviApplication::saveConfiguration ( )
slot
void KviApplication::saveDefaultScripts ( )
void KviApplication::saveIdentities ( )
void KviApplication::saveIdentityProfiles ( )
void KviApplication::saveInputHistory ( )
void KviApplication::saveIrcServerDataBase ( )
void KviApplication::saveKvircDirectory ( )
private
void KviApplication::saveMediaTypes ( )
void KviApplication::saveNickServ ( )
void KviApplication::saveOptions ( )
void KviApplication::savePopups ( )
void KviApplication::saveProxyDataBase ( )
void KviApplication::saveRawEvents ( )
void KviApplication::saveRecentChannels ( )
protected
void KviApplication::saveRecentEntries ( )
void KviApplication::saveRegisteredChannels ( )
void KviApplication::saveRegisteredUsers ( )
void KviApplication::saveScriptAddons ( )
void KviApplication::saveSharedFiles ( )
void KviApplication::saveTextIcons ( )
void KviApplication::saveToolBars ( )
void KviApplication::setAvatarFromOptions ( )
void KviApplication::setAvatarOnFileReceived ( KviConsoleWindow pConsole,
const QString &  szRemoteUrl,
const QString &  szNick,
const QString &  szUser,
const QString &  szHost 
)
bool KviApplication::setCommonOptionValue ( const QString &  optName,
const QString &  value 
)
void KviApplication::setKviClosingDown ( )
inline
bool KviApplication::setOptionValue ( const QString &  optName,
const QString &  value 
)
void KviApplication::setup ( )

References checkSuggestRestoreDefaultScript(), KviLocale::codecForName(), Config, createFrame(), createIpcSentinel(), KviMainWindow::executeInternalCommand(), KviFileUtils::fileExists(), firstTimeRun(), g_pGlobalWindowDict, g_pIconManager, g_pInputPopup, g_pMainWindow, g_pMediaManager, g_pModuleExtensionManager, g_pModuleManager, g_pNickServRuleSet, g_pProxyDataBase, g_pRecentTopicList, g_pRegisteredChannelDataBase, g_pRegisteredUserDataBase, g_pServerDataBase, g_pServerParser, g_pSharedFilesManager, g_pTextIconManager, getGlobalKvircDirectory(), getLocalKvircDirectory(), getReadOnlyConfigPath(), KviThreadManager::globalInit(), KviStringConversion::init(), KviKvs::init(), KviCustomToolBarManager::init(), KviActionManager::init(), KviUserIdentityManager::init(), KviInputHistory::init(), KviAvatarCache::init(), KviIdentityProfileSet::init(), KviDefaultScriptManager::init(), KviAnimatedPixmapCache::init(), KviCustomToolBarManager::instance(), KviActionManager::instance(), KviUserIdentityManager::instance(), KviInputHistory::instance(), KviAvatarCache::instance(), KviIdentityProfileSet::instance(), KviDefaultScriptManager::instance(), KviLocale::instance(), KVI_CONFIGFILE_ALIASES, KVI_CONFIGFILE_AVATARCACHE, KVI_CONFIGFILE_CUSTOMTOOLBARS, KVI_CONFIGFILE_DEFAULTSCRIPT, KVI_CONFIGFILE_EVENTS, KVI_CONFIGFILE_IDENTITIES, KVI_CONFIGFILE_INPUTHISTORY, KVI_CONFIGFILE_MEDIATYPES, KVI_CONFIGFILE_NICKSERVDATABASE, KVI_CONFIGFILE_POPUPS, KVI_CONFIGFILE_PROFILESDATABASE, KVI_CONFIGFILE_PROXYDB, KVI_CONFIGFILE_RAWEVENTS, KVI_CONFIGFILE_REGCHANDB, KVI_CONFIGFILE_REGUSERDB, KVI_CONFIGFILE_SCRIPTADDONS, KVI_CONFIGFILE_SERVERDB, KVI_CONFIGFILE_SHAREDFILES, KVI_CONFIGFILE_USERACTIONS, KVI_CONFIGFILE_WINPROPERTIES, KVI_INTERNALCOMMAND_SERVERSJOIN_OPEN, KVI_OPTION_BOOL, KviMainWindow::KviIrcServerParser, KviOption_boolShowIconsInPopupMenus, KviOption_boolShowServersConnectDialogOnStart, KviProxyDataBase::load(), KviSharedFilesManager::load(), KviRegisteredChannelDataBase::load(), KviNickServRuleSet::load(), KviMediaManager::load(), KviCustomToolBarManager::load(), KviRegisteredUserDataBase::load(), KviActionManager::load(), KviDefaultScriptManager::load(), KviAvatarCache::load(), KviInputHistory::load(), KviUserIdentityManager::load(), KviIdentityProfileSet::load(), KviIrcServerDataBase::load(), KviTextIconManager::load(), KviKvs::loadAliases(), KviKvs::loadAppEvents(), loadDirectories(), KviDefaultScriptManager::loadEmptyConfig(), loadOptions(), KviKvs::loadPopups(), KviKvs::loadRawEvents(), loadRecentEntries(), KviKvs::loadScriptAddons(), KviMutex::lock(), m_bSetupDone, m_iHeartbeatTimerId, m_szGlobalKvircDir, m_szLocalKvircDir, None, KviFileUtils::readFile(), KviConfigurationFile::ReadWrite, setupFinish(), KviMutex::unlock(), updateApplicationFont(), updatePseudoTransparency(), and w.

Referenced by main().

void KviApplication::setupBegin ( )
void KviApplication::setupFileAssociations ( )
private

References __tr2qs.

Referenced by loadDirectories().

void KviApplication::setupFinish ( )

References __tr2qs, g_pSetupLibrary, and KviMessageBox::warning().

Referenced by setup().

void KviApplication::setupUriAssociations ( const char *  proto)
private

Referenced by loadDirectories().

void KviApplication::showParentFrame ( )
slot

References g_pMainWindow.

Referenced by notifierMessage().

bool KviApplication::supportsCompositing ( )
QStyle* KviApplication::themedStyle ( )
void KviApplication::timerEvent ( QTimerEvent *  e)
protectedvirtual
KviConsoleWindow * KviApplication::topmostConnectedConsole ( )
void KviApplication::triggerUpdateGui ( )

References m_bUpdateGuiPending, and updateGui().

Referenced by optionResetUpdate().

void KviApplication::unregisterWindow ( KviWindow wnd)
protected
void KviApplication::updateApplicationFont ( )
private
void KviApplication::updateGui ( )
slot
void KviApplication::updateNotifier ( )
signal

Referenced by optionResetUpdate().

void KviApplication::updatePseudoTransparency ( )
slot
unsigned int KviApplication::windowCount ( )

References g_pGlobalWindowDict.

Referenced by KviWindow::~KviWindow().

bool KviApplication::windowExists ( KviWindow wnd)

Friends And Related Function Documentation

friend class KviMainWindow
friend

Referenced by createFrame().

friend class KviWindow
friend
friend class SetupWizard
friend

Member Data Documentation

bool KviApplication::m_bClosingDown
protected

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

bool KviApplication::m_bCreateConfig

Referenced by KviApplication(), and main().

bool KviApplication::m_bFirstTimeRun
protected

Referenced by loadDirectories().

bool KviApplication::m_bSetupDone
protected
bool KviApplication::m_bUpdateGuiPending
protected
QFont KviApplication::m_fntDefaultFont
protected
int KviApplication::m_iHeartbeatTimerId
protected

Referenced by KviApplication(), setup(), and timerEvent().

KviWindow* KviApplication::m_pActiveWindow
protected
KviIpcSentinel* KviApplication::m_pIpcSentinel
protected
KviPointerList<KviPendingAvatarChange>* KviApplication::m_pPendingAvatarChanges
protected
KviPointerHashTable<QString, QStringList>* KviApplication::m_pRecentChannelDict
protected
QString KviApplication::m_szConfigFile
QString KviApplication::m_szExecAfterStartup

Referenced by createFrame(), and main().

QString KviApplication::m_szGlobalKvircDir
protected
QString KviApplication::m_szLocalKvircDir
protected

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