kde-extraapps/kget/transfer-plugins/bittorrent/btdetailswidget.h
Ivailo Monev e166af4e02 generic: replace forward declarations with headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-23 00:08:45 +00:00

42 lines
1,011 B
C++

/* This file is part of the KDE project
Copyright (C) 2007 Lukas Appelhans <l.appelhans@gmx.de>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
*/
#ifndef BTDETAILSWIDGET_H
#define BTDETAILSWIDGET_H
#include "ui_btdetailswidgetfrm.h"
#include <QWidget>
#include "core/transferhandler.h"
class BTTransferHandler;
#include <QShowEvent>
#include <QHideEvent>
class BTDetailsWidget : public QWidget, public Ui::BTDetailsWidgetFrm
{
Q_OBJECT
public:
BTDetailsWidget(BTTransferHandler * transfer);
~BTDetailsWidget();
public slots:
void slotTransferChanged(TransferHandler * transfer, TransferHandler::ChangesFlags flags);
protected:
virtual void showEvent(QShowEvent * event);
private:
BTTransferHandler * m_transfer;
};
#endif