KTextAddons

runninganimatedimage.h
1/*
2 SPDX-FileCopyrightText: 2020 David Faure <faure@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "textemoticonscore_export.h"
10
11#include <QPersistentModelIndex>
12class QMovie;
13namespace TextEmoticonsCore
14{
15struct TEXTEMOTICONSCORE_EXPORT RunningAnimatedImage {
16 explicit RunningAnimatedImage(const QModelIndex &idx);
17 ~RunningAnimatedImage();
18 RunningAnimatedImage(const RunningAnimatedImage &) = delete;
19 RunningAnimatedImage(RunningAnimatedImage &&other) noexcept;
20 RunningAnimatedImage &operator=(const RunningAnimatedImage &) = delete;
21 RunningAnimatedImage &operator=(RunningAnimatedImage &&other);
22
24 QMovie *movie = nullptr;
25};
26}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:51:28 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.