1 /***************************************************************************
6 * begin : Tue Jan 29 2002
7 * copyright : (C) 2002 by Patrick Charbonnier
8 * emai : pch@freeshell.org
10 ***************************************************************************/
12 /***************************************************************************
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 ***************************************************************************/
27 #include "slaveevent.h"
29 #define EVENT_TYPE (QEvent::User + 252)
31 SlaveEvent::SlaveEvent(Transfer
* _item
, unsigned int _event
, unsigned long _ldata
):QCustomEvent(EVENT_TYPE
)
40 SlaveEvent::SlaveEvent(Transfer
* _item
, unsigned int _event
, const QString
& _msg
):QCustomEvent(EVENT_TYPE
)
49 SlaveEvent::~SlaveEvent()
54 SlaveEvent::getEvent() const
59 Transfer
*SlaveEvent::getItem() const
64 unsigned long SlaveEvent::getData() const
69 const QString
& SlaveEvent::getMsg() const