KTextAddons
8#include "textemoticonswidgets_private_export.h"
10namespace TextEmoticonsWidgets
12class TEXTEMOTICONSWIDGETS_TESTS_EXPORT EmoticonListView :
public QListView
16 explicit EmoticonListView(QWidget *parent =
nullptr);
17 ~EmoticonListView()
override;
19 void setFontSize(
int newFontSize);
21 [[nodiscard]]
bool isRecentView()
const;
22 void setIsRecentView(
bool newIsRecentView);
25 void emojiItemSelected(
const QString &str,
const QString &identifier);
26 void fontSizeChanged(
int size);
30 void keyPressEvent(QKeyEvent *event)
override;
31 void wheelEvent(QWheelEvent *e)
override;
32 void contextMenuEvent(QContextMenuEvent *event)
override;
35 TEXTEMOTICONSWIDGETS_NO_EXPORT
void applyFontSize();
36 TEXTEMOTICONSWIDGETS_NO_EXPORT
void selectEmoji(
const QModelIndex &index);
39 bool mIsRecentView =
false;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:53:03 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.