1 /*************************************************************************** 2 * * 3 * This program is free software; you can redistribute it and/or modify * 4 * it under the terms of the GNU General Public License as published by * 5 * the Free Software Foundation; either version 3 of the License, or * 6 * (at your option) any later version. * 7 * * 8 ***************************************************************************/ 9 10 #pragma once 11 12 #include <QWidget> 13 14 #include "ui_UISettingsDownloads.h" 15 16 #include "dcpp/stdinc.h" 17 #include "dcpp/SettingsManager.h" 18 19 class SettingsDownloads : 20 public QWidget, 21 private Ui::UISettingsDownloads 22 { 23 Q_OBJECT 24 public: 25 SettingsDownloads(QWidget* = NULL); 26 virtual ~SettingsDownloads(); 27 28 public slots: 29 void ok(); 30 31 private slots: 32 void slotBrowse(); 33 void slotDownloadTo(); 34 void slotCfgPublic(); 35 36 private: 37 void init(); 38 39 QMap< dcpp::SettingsManager::IntSetting, int > other_settings; 40 }; 41