* maximal -> maximum
[kdenetwork.git] / kget / ui / transfersettingsdialog.h
blobcd2f449b659650bc50e438539a5e0f484d6b2657
1 /* This file is part of the KDE project
3 Copyright (C) 2008 Lukas Appelhans <l.appelhans@gmx.de>
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.
9 */
10 #ifndef TRANSFERSETTINGSDIALOG_H
11 #define TRANSFERSETTINGSDIALOG_H
13 #include "ui_transfersettingsdialog.h"
15 #include <KDialog>
17 class TransferHandler;
19 class TransferSettingsDialog : public KDialog
21 Q_OBJECT
22 public:
23 TransferSettingsDialog(QWidget *parent, TransferHandler *transfer);
24 ~TransferSettingsDialog();
26 private slots:
27 void save();
29 private:
30 TransferHandler* m_transfer;
32 QCheckBox *m_downloadCheck;
33 QCheckBox *m_uploadCheck;
34 QCheckBox *m_ratioCheck;
35 QSpinBox *m_downloadSpin;
36 QSpinBox *m_uploadSpin;
37 QDoubleSpinBox *m_ratioSpin;
40 #endif