File indexing completed on 2024-05-12 15:41:57
0001 #ifndef NETPREF_H 0002 #define NETPREF_H 0003 0004 #include <KCModule> 0005 0006 class QGroupBox; 0007 class QCheckBox; 0008 0009 class KPluralHandlingSpinBox; 0010 0011 class KIOPreferences : public KCModule 0012 { 0013 Q_OBJECT 0014 0015 public: 0016 KIOPreferences(QWidget *parent, const QVariantList &args); 0017 ~KIOPreferences() override; 0018 0019 void load() override; 0020 void save() override; 0021 void defaults() override; 0022 0023 QString quickHelp() const override; 0024 0025 protected Q_SLOTS: 0026 void configChanged() 0027 { 0028 Q_EMIT changed(true); 0029 } 0030 0031 private: 0032 QGroupBox *gb_Ftp; 0033 QGroupBox *gb_Timeout; 0034 QCheckBox *cb_globalMarkPartial; 0035 KPluralHandlingSpinBox *sb_globalMinimumKeepSize; 0036 QCheckBox *cb_ftpEnablePasv; 0037 QCheckBox *cb_ftpMarkPartial; 0038 0039 KPluralHandlingSpinBox *sb_socketRead; 0040 KPluralHandlingSpinBox *sb_proxyConnect; 0041 KPluralHandlingSpinBox *sb_serverConnect; 0042 KPluralHandlingSpinBox *sb_serverResponse; 0043 }; 0044 0045 #endif // NETPREF_H