Logo Search packages:      
Sourcecode: kmess version File versions  Download package

Emoticon::Emoticon ( const QString &  pictureName,
const QString &  tooltip 
)

Constructor for standard emoticons

Parameters:
pictureName The picture file name
tooltip The name of this emoticon, which will be displayed as tooltip in the Emoticon Sidebar

Definition at line 45 of file emoticon.cpp.

References update().

  : pictureDirectory_(QString::null)
  , pictureName_(pictureName)
  , picturePath_(QString::null)
  , height_(EMOTICONS_DEFAULT_SIZE)
  , isCustomEmoticon_(false)
  , originalPictureName_(pictureName)
  , tooltip_(tooltip)
  , valid_(false)
  , width_(EMOTICONS_DEFAULT_SIZE)
{
  // Try to find the location of the current image
  update();
}


Generated by  Doxygen 1.6.0   Back to index