summaryrefslogtreecommitdiffstats
path: root/libktorrent/ktorrent.kcfg
blob: 2d1e9b291d5694e86e1a167adfdbd4cef9b115d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
		http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
		
	<kcfgfile name="ktorrentrc"/>
	<group name="downloads">
		<entry name="maxDownloads" type="Int">
			<label>Maximum number of downloads (0 = no limit)</label>
			<default>0</default>
			<min>0</min>
		</entry>
		<entry name="maxSeeds" type="Int">
			<label>Maximum number of seeds (0 = no limit)</label>
			<default>0</default>
			<min>0</min>
		</entry>
		<entry name="startDownloadsOnLowDiskSpace" type="Int">
			<label>Start downloads on low disk space?</label>
			<default>0</default>
		</entry>
		<entry name="maxConnections" type="Int">
			<label>Maximum number of connections per torrent (0 = no limit)</label>
			<default>120</default>
			<min>0</min>
		</entry>
		<entry name="maxTotalConnections" type="Int">
			<label>Maximum number of connections for all torrents (0 = no limit) </label>
			<default>800</default>
			<min>0</min>
		</entry>
		<entry name="maxUploadRate" type="Int">
			<label>Maximum upload speed in KB/sec (0 = no limit)</label>
			<default>0</default>
			<min>0</min>
		</entry>
		<entry name="maxDownloadRate" type="Int">
			<label>Maximum download speed in KB/sec (0 = no limit)</label>
			<default>0</default>
			<min>0</min>
		</entry>
		<entry name="maxRatio" type="Double">
         		<label>Maximum share ratio(0 = no limit)</label>
		        <default>0</default>
         		<min>0</min>
      		</entry>
      	<entry name="maxSeedTime" type="Double">
        	<label>Maximum seed time in hours (0 = no limit)</label>
		    <default>0</default>
         	<min>0</min>
      	</entry>
		<entry name="port" type="Int">
			<label>Port</label>
			<default>6881</default>
			<min>0</min>
			<max>65535</max>
		</entry>
		<entry name="udpTrackerPort" type="Int">
			<label>Port</label>
			<default>4444</default>
			<min>0</min>
			<max>65535</max>
		</entry>
		<entry name="showSystemTrayIcon" type="Bool">
			<label>Show a system tray icon</label>
			<default>true</default>
		</entry>
		<entry name="showSpeedBarInTrayIcon" type="Bool">
			<label>Show speed bar in tray icon</label>
			<default>false</default>
		</entry>
		<entry name="downloadBandwidth" type="Int">
			<label>Download bandwidth (in kb/s):</label>
			<default>500</default>
			<min>0</min>
			<max>1000000</max>
		</entry>
		<entry name="uploadBandwidth" type="Int">
			<label>Upload bandwidth (in kb/s):</label>
			<default>500</default>
			<min>0</min>
			<max>1000000</max>
		</entry>
		<entry name="showPopups" type="Bool">
			<label>Show popup messages when torrent is finished.</label>
			<default>true</default>
		</entry>
		<entry name="keepSeeding" type="Bool">
			<label>Keep seeding after download has finished</label>
			<default>true</default>
		</entry>
		<entry name="tempDir" type="String">
			<label>Folder to store temporary files</label>
			<default code="true">TQString::null</default>
		</entry>
		<entry name="useSaveDir" type="Bool">
			<label>Whether to automatically save downloads to saveDir</label>
			<default>false</default>
		</entry>
		<entry name="saveDir" type="String">
			<label>Folder to store downloaded files</label>
			<default code="true">TQString::null</default>
		</entry>
		<entry name="useCompletedDir" type="Bool">
			<label>Whether to automatically move completed downloads to completedDir</label>
			<default>false</default>
		</entry>
		<entry name="completedDir" type="String">
			<label>Folder to move completed downloaded files to</label>
			<default code="true">TQString::null</default>
		</entry>
		<entry name="useTorrentCopyDir" type="Bool">
			<label>Whether to automatically copy .torrent files to torrentCopyDir</label>
			<default>false</default>
		</entry>
		<entry name="torrentCopyDir" type="String">
			<label>Folder to copy .torrent files to</label>
			<default code="true">TQString::null</default>
		</entry>
		<entry name="useExternalIP" type="Bool">
			<label>Whether to use a custom IP to pass to the tracker</label>
			<default>false</default>
		</entry>
		<entry name="lastSaveDir" type="String">
			<label>Directory which was used as the last save directory</label>
			<default code="true">TQString::null</default>
		</entry>
		<entry name="externalIP" type="String">
			<label>IP to pass to the tracker</label>
			<default code="true">TQString::null</default>
		</entry>
		<entry name="memoryUsage" type="Int">
			<label>Memory usage</label>
			<default>0</default>
		</entry>
		<entry name="guiUpdateInterval" type="Int">
			<label>GUI update interval</label>
			<default>0</default>
		</entry>
		<entry name="dhtSupport" type="Bool">
			<label>Support for DHT</label>
			<default>false</default>
		</entry>
		<entry name="dhtPort" type="Int">
		     <label>DHT port</label>
			<default>6881</default>
			<min>0</min>
			<max>65535</max>
		</entry>
		<entry name="numUploadSlots" type="Int">
			<label>Number of upload slots</label>
			<default>2</default>
			<min>2</min>
			<max>100</max>
		</entry>
		<entry name="useEncryption" type="Bool">
			<label>Use protocol encryption</label>
			<default>false</default>
		</entry>
		<entry name="allowUnencryptedConnections" type="Bool">
			<label>Allow unencrypted connections</label>
			<default>true</default>
		</entry>
		<entry name="allwaysDoUploadDataCheck" type="Bool">
			<default>true</default>
		</entry>
		<entry name="maxSizeForUploadDataCheck" type="Int">
			<default>512</default>
			<min>128</min>
			<max>8192</max>
		</entry>
		<entry name="typeOfService" type="Int">
			<default>8</default>
			<min>0</min>
			<max>255</max>
		</entry>
		<entry name="DSCP" type="Int">
			<default>0</default>
			<min>0</min>
			<max>63</max>
		</entry>
		<entry name="maxConnectingSockets" type="Int">
			<default>50</default>
			<min>10</min>
			<max>500</max>
		</entry>
		<entry name="autoRecheck" type="Bool">
			<default>true</default>
		</entry>
		<entry name="maxCorruptedBeforeRecheck" type="Int">
			<default>3</default>
			<min>1</min>
		</entry>
		<entry name="shownColumns" type="IntList">
			<label>Columns shown in KTorrentView</label>
		</entry>
		<entry name="doNotUseKDEProxy" type="Bool">
			<default>false</default>
		</entry>
		<entry name="httpTrackerProxy" type="String">
			<default code="true">TQString::null</default>
		</entry>
			<entry name="eta" type="Int">
			<label>ET algorithm</label>
			<default>0</default>
		</entry>
		<entry name="diskPrealloc" type="Bool">
			<default>true</default>
		</entry>
		
		<entry name="fullDiskPrealloc" type="Bool">
			<default>false</default>
		</entry>
		
		<entry name="fullDiskPreallocMethod" type="Int">
			<default>0</default>
		</entry>
		
		<entry name="cpuUsage" type="Int">
			<default>25</default>
			<min>1</min>
			<max>50</max>
		</entry>
		
		<entry name="minDiskSpace" type="Int">
			<label>When there's no space left to complete download and free diskspace is less than minDiskSpace, torrent will be stopped.</label>
			<default>100</default>
			<min>10</min>
			<max>10000</max>
		</entry>
	</group>
</kcfg>