File indexing completed on 2024-12-01 07:38:58
0001 /* This file is part of the KDE project 0002 0003 Copyright (C) 2005 Dario Massarin <nekkar@libero.it> 0004 Copyright (C) 2007 Urs Wolfer <uwolfer @ kde.org> 0005 Copyright (C) 2010 Matthias Fuchs <mat69@gmx.net> 0006 0007 This program is free software; you can redistribute it and/or 0008 modify it under the terms of the GNU General Public 0009 License as published by the Free Software Foundation; either 0010 version 2 of the License, or (at your option) any later version. 0011 */ 0012 0013 #ifndef VIEWSCONTAINER_H 0014 #define VIEWSCONTAINER_H 0015 0016 #include <QWidget> 0017 0018 class TransfersView; 0019 class TransferHandler; 0020 0021 class ViewsContainer : public QWidget 0022 { 0023 Q_OBJECT 0024 public: 0025 ViewsContainer(QWidget *parent = nullptr); 0026 0027 public Q_SLOTS: 0028 void showTransferDetails(TransferHandler *transfer); 0029 void closeTransferDetails(TransferHandler *transfer); 0030 void selectAll(); 0031 0032 private: 0033 TransfersView *m_transfersView = nullptr; 0034 }; 0035 0036 #endif