1 /* This file is part of the KDE project
3 Copyright (C) 2006 Dario Massarin <nekkar@libero.it>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
11 #ifndef _TRANSFERSVIEW_H
12 #define _TRANSFERSVIEW_H
16 class TransferHandler
;
18 class TransfersView
: public QTreeView
23 TransfersView(QWidget
* parent
= 0);
26 void setModel(QAbstractItemModel
* model
);
27 QModelIndex
indexFromTransferHandler(TransferHandler
*handler
);
30 void dropEvent(QDropEvent
* event
);
31 void rowsInserted(const QModelIndex
&, int, int);