summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/misc/kftpgrabber.kcfg
blob: b7ee305ed632d525d823fec8b99c55261ab1a022 (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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
<kcfg>
  <kcfgfile name="kftpgrabberrc"/>
  
  <!-- Includes -->
  <include>qsize.h</include>
  <include>qpoint.h</include>
  <include>qdir.h</include>
  <include>configbase.h</include>
  
  <!-- Config groups -->
  <group name="MainWindow">
    <entry name="size" type="Size">
      <default code="true">QSize(800, 500)</default>
      <label>The size of the main window.</label>
    </entry>
    <entry name="position" type="Point">
      <default code="true">QPoint(0, 0)</default>
      <label>The position of the main window on the screen.</label>
    </entry>
  </group>
  
  <group name="General">
    <entry name="retryCount" type="Int">
      <default>10</default>
      <min>0</min>
      <label>The default retry count for new sites.</label>
    </entry>
    
    <entry name="retryTime" type="Int">
      <default>60</default>
      <min>0</min>
      <label>The default retry delay for new sites.</label>
    </entry>
    
    <entry name="showBalloons" type="Bool">
      <default>true</default>
      <label>Should a balloon be displayed when some actions complete.</label>
    </entry>
    
    <entry name="showBalloonWhenQueueEmpty" type="Bool">
      <default>false</default>
      <label>Should a balloon be displayed when all queued transfers are completed.</label>
    </entry>
    
    <entry name="showRetrySuccessBalloon" type="Bool">
      <default>true</default>
      <label>Should a balloon be displayed when a connection to the server is successfully established after retrying.</label>
    </entry>
    
    <entry name="confirmExit" type="Bool">
      <default>true</default>
      <label>Should the user confirm exit if there are transfers running.</label>
    </entry>
    
    <entry name="encryptBookmarks" type="Bool">
      <default>false</default>
      <label>Encryption status of the bookmarks file.</label>
    </entry>
    
    <entry name="defLocalDir" type="Path">
      <default code="true">QDir::homeDirPath()</default>
      <label>Default local directory.</label>
    </entry>
    
    <entry name="exitOnClose" type="Bool">
      <default>false</default>
      <label>Should the application exit when users clicks the X button.</label>
    </entry>
    
    <entry name="startMinimized" type="Bool">
      <default>false</default>
      <label>Should the application be started minimized.</label>
    </entry>
    
    <entry name="showSplash" type="Bool">
      <default>true</default>
      <label>Should the splash screen be displayed when starting the application.</label>
    </entry>
    
    <entry name="showSystrayIcon" type="Bool">
      <default>true</default>
      <label>Should the systray icon be displayed.</label>
    </entry>
    
    <entry name="showWalletSites" type="Bool">
      <default>false</default>
      <label>Should the sites from KWallet be shown among the bookmarks.</label>
    </entry>
    
    <entry name="confirmDisconnects" type="Bool">
      <default>true</default>
      <label>Should a "confirm disconnect" dialog be displayed each time a disconnect is requested.</label>
    </entry>
    
    <entry name="defEncoding" type="String">
      <default>utf8</default>
      <label>The default site encoding.</label>
    </entry>
    
    <entry name="recentSites" type="StringList">
      <label>Recent sites accessed via quick connect.</label>
    </entry>
  </group>
  
  <group name="Actions">
    <entry name="downloadActions" type="String">
      <default>4;4;4;4;4;4;4;4;4;</default>
    </entry>
    
    <entry name="uploadActions" type="String">
      <default>4;4;4;4;4;4;4;4;4;</default>
    </entry>
    
    <entry name="fxpActions" type="String">
      <default>4;4;4;4;4;4;4;4;4;</default>
    </entry>
  </group>
  
  <group name="Filters">
    <entry name="asciiList" type="StringList">
      <default>.txt,.bat,.php,.asp,.htm,.html,.css,.cpp,.h,.hpp,.js,.inc,.nfo,.pl,.sh,.xml,.sql</default>
      <label>A list of file patters where ASCII mode should be used for transfer.</label>
    </entry>
    
    <entry name="skipEmptyDirs" type="Bool">
      <default>false</default>
      <label>Should empty directories be skipped.</label>
    </entry>
  </group>
  
  <group name="Log">
    <entry name="logFont" type="Font">
      <label>The font that should be used for the log widget.</label>
      <default code="true">KGlobalSettings::generalFont()</default>
    </entry>
    
    <entry name="logCommandsColor" type="Color">
      <default code="true">QColor(67, 170, 23)</default>
      <label>The color of the commands sent to the server.</label>
    </entry>
    
    <entry name="logResponsesColor" type="Color">
      <default code="true">QColor(0, 0, 255)</default>
      <label>The color of the responses from the server.</label>
    </entry>
    
    <entry name="logMultilineColor" type="Color">
      <default code="true">QColor(148, 188, 22)</default>
      <label>The color of the multiline responses from the server.</label>
    </entry>
    
    <entry name="logErrorColor" type="Color">
      <default code="true">QColor(255, 0, 0)</default>
      <label>The color of the error messages.</label>
    </entry>
    
    <entry name="logStatusColor" type="Color">
      <default code="true">QColor(0, 0, 0)</default>
      <label>The color of the status messages.</label>
    </entry>
    
    <entry name="saveToFile" type="Bool">
      <default>false</default>
      <label>Should the log be written to a file as well.</label>
    </entry>
    
    <entry name="outputFilename" type="Path">
      <label>The file to which the log should be written.</label>
    </entry>
  </group>
  
  <group name="Transfers">
    <entry name="activeForcePort" type="Bool">
      <default>false</default>
      <label>Should a port from a specified portrange be selected on active transfers.</label>
    </entry>
    
    <entry name="activeMinPort" type="Int">
      <default>0</default>
      <min>0</min>
      <max>65536</max>
      <label>The start of the portrange.</label>
    </entry>
    
    <entry name="activeMaxPort" type="Int">
      <default>65536</default>
      <min>0</min>
      <max>65536</max>
      <label>The end of the portrange.</label>
    </entry>
    
    <entry name="portForceIp" type="Bool">
      <default>false</default>
      <label>Should an IP be overriden when doing active transfers.</label>
    </entry>
    
    <entry name="portIp" type="String">
      <label>The IP to be sent when overriding the PORT command.</label>
    </entry>
    
    <entry name="ignoreExternalIpForLan" type="Bool">
      <default>true</default>
      <label>Should the external IP be ignored for LAN connections.</label>
    </entry>
    
    <entry name="queueOnDND" type="Bool">
      <default>false</default>
      <label>Should the transfers be queued insted of started when using drag and drop.</label>
    </entry>
    
    <entry name="diskCheckSpace" type="Bool">
      <default>false</default>
      <label>Should kftpgrabber check for free space and abort the transfer when there is not enough free.</label>
    </entry>
    
    <entry name="diskCheckInterval" type="Int">
      <default>60</default>
      <min>30</min>
      <label>Interval for disk checking.</label>
    </entry>
    
    <entry name="diskMinFreeSpace" type="Int">
      <default>500</default>
      <min>0</min>
      <label>Minimum free space (in MiB) that must be available.</label>
    </entry>
    
    <entry name="globalMail" type="Bool">
      <default>true</default>
      <label>Use global KDE e-mail address for anonymous passwords.</label>
    </entry>
    
    <entry name="anonMail" type="String">
      <default code="true">getGlobalMail()</default>
      <label>The e-mail address that should be used for anonymous passwords.</label>
    </entry>
    
    <entry name="threadCount" type="Int">
      <default>1</default>
      <min>1</min>
      <max>10</max>
      <label>Number of threads to use when transfering.</label>
    </entry>
    
    <entry name="threadUsePrimary" type="Bool">
      <default>true</default>
      <label>Should the primary connection be used for transfers.</label>
    </entry>
    
    <entry name="controlTimeout" type="Int">
      <default>60</default>
      <min>10</min>
      <label>Timeout (in seconds) for the control connection.</label>
    </entry>
    
    <entry name="dataTimeout" type="Int">
      <default>60</default>
      <min>10</min>
      <max>300</max>
      <label>Timeout (in seconds) for data transfers.</label>
    </entry>
    
    <entry name="downloadSpeedLimit" type="Int">
      <default>0</default>
      <label>Global download speed limit (kbytes/s).</label>
    </entry>
    
    <entry name="uploadSpeedLimit" type="Int">
      <default>0</default>
      <label>Global upload speed limit (kbytes/s).</label>
    </entry>
    
    <entry name="failedAutoRetry" type="Bool">
      <default>false</default>
      <label>Should failed transfers be automaticly retried.</label>
    </entry>
    
    <entry name="failedAutoRetryCount" type="Int">
      <default>1</default>
      <min>1</min>
      <max>20</max>
      <label>Maximum number of retries before marking transfer as failed.</label>
    </entry>
  </group>
  
  <group name="Display">
    <entry name="showTree" type="Bool">
      <default>true</default>
      <label>Should the directory tree be shown by default.</label>
    </entry>
    
    <entry name="showHiddenFiles" type="Bool">
      <default>true</default>
      <label>Should hidden files be shown when browsing.</label>
    </entry>
    
    <entry name="showSizeInBytes" type="Bool">
      <default>false</default>
      <label>Should the filesize be shown in bytes rather than in "human readable" form.</label>
    </entry>
    
    <entry name="showOwnerGroup" type="Bool">
      <default>false</default>
      <label>Should the owner and group be shown for each file.</label>
    </entry>
    
    <entry name="showDirectorySize" type="Bool">
      <default>false</default>
      <label>Show directory size.</label>
    </entry>
    
    <entry name="showLeftSidebar" type="Bool">
      <default>false</default>
      <label>Show left sidebar.</label>
    </entry>
  </group>
</kcfg>