Logo Search packages:      
Sourcecode: kmess version File versions

EmoticonManager * EmoticonManager::instance (  )  [static]

Return a singleton instance of the emoticon manager

Definition at line 279 of file emoticonmanager.cpp.

References EmoticonManager().

Referenced by MsnObjectTransferP2P::contactStarted1_gotEmoticonRequest(), OldRichTextParser::initialize(), RichTextParser::initialize(), KMessViewDelegate::KMessViewDelegate(), EmoticonsPage::saveSettings(), MsnSwitchboardConnection::sendChatMessage(), and ChatView::slotAddNewEmoticon().

  // If the instance is null, create a new emoticon manager and return that.
  if ( instance_ == 0 )
    instance_ = new EmoticonManager();
  return instance_;

Generated by  Doxygen 1.6.0   Back to index