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

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

Constructor for custom emoticons, with custom picture path

Parameters:
pictureName The picture file name
tooltip The name of this emoticon, which will be displayed as tooltip in the Emoticon Sidebar
pictureDirectory The folder where this emoticon's image is located

Definition at line 69 of file emoticon.cpp.

References update().

  : pictureDirectory_(pictureDirectory)
  , pictureName_(pictureName)
  , height_(EMOTICONS_DEFAULT_SIZE)
  , isCustomEmoticon_(true)
  , 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