File indexing completed on 2024-05-19 15:10:51

0001 /*
0002     SPDX-FileCopyrightText: 2017 David Faure <faure@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #ifndef KEMOTICONSGLOBAL_P_H
0008 #define KEMOTICONSGLOBAL_P_H
0009 
0010 #include <QObject>
0011 #include "kemoticonstheme.h"
0012 
0013 class KEmoticonsGlobal : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     KEmoticonsGlobal();
0018 
0019     QString m_themeName;
0020     KEmoticonsTheme::ParseMode m_parseMode;
0021 
0022     void setThemeName(const QString &name);
0023     void setParseMode(KEmoticonsTheme::ParseMode mode);
0024 
0025 private Q_SLOTS:
0026     void slotEmoticonsThemeChanged(const QString &name);
0027     void slotEmoticonsParseModeChanged(int mode);
0028 
0029 };
0030 
0031 #endif // KEMOTICONSGLOBAL_P_H