• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KUtils

AdiumEmoticons Class Reference

#include <adium_emoticons.h>

Inheritance diagram for AdiumEmoticons:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 26 of file adium_emoticons.h.


Public Member Functions

bool addEmoticon (const QString &emo, const QString &text, AddEmoticonOption option=DoNotCopy)
 AdiumEmoticons (QObject *parent, const QVariantList &args)
void createNew ()
bool loadTheme (const QString &path)
bool removeEmoticon (const QString &emo)
void save ()

Constructor & Destructor Documentation

AdiumEmoticons::AdiumEmoticons ( QObject *  parent,
const QVariantList &  args 
)


Member Function Documentation

bool AdiumEmoticons::addEmoticon ( const QString &  emo,
const QString &  text,
AddEmoticonOption  option = DoNotCopy 
) [virtual]

Add the emoticon emo with text text.

Parameters:
emo path to the emoticon image
text the text of the emoticon separated by space for multiple text
copy whether or not copy emo into the theme directory
Returns:
true if it can add the emoticon

Reimplemented from KEmoticonsProvider.

Definition at line 65 of file adium_emoticons.cpp.

void AdiumEmoticons::createNew (  )  [virtual]

Create a new theme.

Reimplemented from KEmoticonsProvider.

Definition at line 196 of file adium_emoticons.cpp.

bool AdiumEmoticons::loadTheme ( const QString &  path  )  [virtual]

Load the theme inside the directory path.

Parameters:
path path to the directory

Reimplemented from KEmoticonsProvider.

Definition at line 130 of file adium_emoticons.cpp.

bool AdiumEmoticons::removeEmoticon ( const QString &  emo  )  [virtual]

Remove the emoticon emo, this will not delete the image file too.

Parameters:
emo the emoticon text to remove
Returns:
true if it can delete the emoticon

Reimplemented from KEmoticonsProvider.

Definition at line 38 of file adium_emoticons.cpp.

void AdiumEmoticons::save (  )  [virtual]

Save the emoticon theme.

Reimplemented from KEmoticonsProvider.

Definition at line 111 of file adium_emoticons.cpp.


The documentation for this class was generated from the following files:
  • adium_emoticons.h
  • adium_emoticons.cpp

KUtils

Skip menu "KUtils"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal