File indexing completed on 2023-11-26 10:50:29
0001 /* 0002 This file is part of the KDE games kwin4 program 0003 SPDX-FileCopyrightText: 2006 Martin Heni <kde@heni-online.de> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #include "spritenotify.h" 0009 0010 // own 0011 #include "kfourinline_debug.h" 0012 0013 // Construct the object 0014 SpriteNotify::SpriteNotify(QGraphicsItem *parent) 0015 : QObject() 0016 { 0017 mParent = parent; 0018 } 0019 0020 // Emit the signal igven the user defined mode parameter 0021 void SpriteNotify::emitSignal(int mode) 0022 { 0023 Q_EMIT signalNotify(mParent, mode); 0024 } 0025 0026 #include "moc_spritenotify.cpp"