qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Functions
smileypack.cpp File Reference
#include "smileypack.h"
#include "src/persistence/settings.h"
#include <QDir>
#include <QDomElement>
#include <QRegularExpression>
#include <QStandardPaths>
#include <QStringBuilder>
#include <QtConcurrent/QtConcurrentRun>
#include <QTimer>
Include dependency graph for smileypack.cpp:

Go to the source code of this file.

Functions

QStringList loadDefaultPaths ()
 Construct list of standard directories with "emoticons" sub dir, whether these directories exist or not. More...
 
QString getAsRichText (const QString &key)
 Wraps passed string into smiley HTML image reference. More...
 
bool isAscii (const QString &string)
 

Function Documentation

◆ getAsRichText()

QString getAsRichText ( const QString &  key)

Wraps passed string into smiley HTML image reference.

Parameters
keyDescribes which smiley is needed
Returns
Key that wrapped into image ref

Definition at line 103 of file smileypack.cpp.

Here is the caller graph for this function:

◆ isAscii()

bool isAscii ( const QString &  string)

Definition at line 108 of file smileypack.cpp.

Here is the caller graph for this function:

◆ loadDefaultPaths()

QStringList loadDefaultPaths ( )

Construct list of standard directories with "emoticons" sub dir, whether these directories exist or not.

Returns
Constructed list of default emoticons directories

Definition at line 70 of file smileypack.cpp.