mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
50 lines
1.3 KiB
C++
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
|
|
|