kde-extraapps/kget/ui/transfersettingsdialog.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

50 lines
1.3 KiB
C++

/* This file is part of the KDE project
Copyright (C) 2008 Lukas Appelhans <l.appelhans@gmx.de>
Copyright (C) 2009 Matthias Fuchs <mat69@gmx.net>
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 TRANSFERSETTINGSDIALOG_H
#define TRANSFERSETTINGSDIALOG_H
#include "ui_transfersettingsdialog.h"
#include "../core/basedialog.h"
class FileModel;
#include <QSortFilterProxyModel>
class RenameFile;
class TransferHandler;
class TransferSettingsDialog : public KGetSaveSizeDialog
{
Q_OBJECT
public:
TransferSettingsDialog(QWidget *parent, TransferHandler *transfer);
~TransferSettingsDialog();
virtual QSize sizeHint() const;
private slots:
void updateCapabilities();
void slotMirrors();
void slotRename();
void slotVerification();
void slotSignature();
void slotSelectionChanged();
void slotFinished();
void save();
private:
TransferHandler *m_transfer;
FileModel *m_model;
QSortFilterProxyModel *m_proxy;
Ui::TransferSettingsDialog ui;
};
#endif