File indexing completed on 2024-11-10 04:30:25
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(QObject *parent, const KPluginMetaData &data); 0017 ~KIOPreferences() override; 0018 0019 void load() override; 0020 void save() override; 0021 void defaults() override; 0022 0023 protected Q_SLOTS: 0024 void configChanged() 0025 { 0026 setNeedsSave(true); 0027 } 0028 0029 private: 0030 QGroupBox *gb_Ftp; 0031 QGroupBox *gb_Timeout; 0032 QCheckBox *cb_globalMarkPartial; 0033 KPluralHandlingSpinBox *sb_globalMinimumKeepSize; 0034 QCheckBox *cb_ftpEnablePasv; 0035 QCheckBox *cb_ftpMarkPartial; 0036 0037 KPluralHandlingSpinBox *sb_socketRead; 0038 KPluralHandlingSpinBox *sb_proxyConnect; 0039 KPluralHandlingSpinBox *sb_serverConnect; 0040 KPluralHandlingSpinBox *sb_serverResponse; 0041 }; 0042 0043 #endif // NETPREF_H