~ubuntu-branches/ubuntu/precise/krusader/precise

« back to all changes in this revision

Viewing changes to krusader/defaults.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-05-05 22:26:37 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505222637-ydv3cwjwy365on2r
Tags: 1:2.1.0~beta1-1ubuntu1
* Merge from Debian Unstable.  Remaining changes:
  - Retain Kubuntu doc path

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*                                                                         *
30
30
***************************************************************************/
31
31
 
 
32
#ifndef DEFAULTS_H
 
33
#define DEFAULTS_H
 
34
 
32
35
#include <kglobalsettings.h>
33
36
 
34
37
///////////////////////   [Startup]
35
38
// UI Save Settings
36
 
#define _UiSave           false 
 
39
#define _UiSave           false
37
40
// Show Cmd Line
38
 
#define _ShowCmdline      true 
 
41
#define _ShowCmdline      true
39
42
// Show status bar
40
 
#define _ShowStatusBar    true 
 
43
#define _ShowStatusBar    true
41
44
// Show tool bar
42
 
#define _ShowToolBar      true 
 
45
#define _ShowToolBar      true
43
46
// Show FN Keys
44
 
#define _ShowFNkeys       true 
 
47
#define _ShowFNkeys       true
45
48
// Show Terminal Emulator
46
 
#define _ShowTerminalEmulator false 
 
49
#define _ShowTerminalEmulator false
47
50
// Remember Position
48
 
#define _RememberPos      true 
 
51
#define _RememberPos      true
49
52
// Start to tray
50
53
#define _StartToTray      false
51
54
// Left Tab Bar
52
55
// Right Tab Bar
53
56
// Left Panel Popup
54
 
#define _LeftPanelPopup         0
 
57
#define _LeftPanelPopup  0
55
58
// Right Panel Popup
56
 
#define _RightPanelPopup        0
 
59
#define _RightPanelPopup 0
 
60
// Size where lister is the default viewer
 
61
#define _ListerLimit     10
 
62
 
57
63
 
58
64
 
59
65
////////////////////////[Look&Feel]
60
66
// Filelist Font ///////
61
67
#define _FilelistFont   new QFont(KGlobalSettings::generalFont())
62
68
// Warn On Exit ////////
63
 
#define _WarnOnExit     false 
 
69
#define _WarnOnExit     false
64
70
// Minimize To Tray ////
65
 
#define _MinimizeToTray false 
 
71
#define _MinimizeToTray false
66
72
// Mark Dirs ///////////
67
 
#define _MarkDirs       false 
 
73
#define _MarkDirs       false
68
74
// Show Hidden /////////
69
 
#define _ShowHidden     true 
 
75
#define _ShowHidden     true
70
76
// Sort By Extension ///
71
 
#define _SortByExt      false 
 
77
#define _SortByExt      false
72
78
// Case Sensative Sort /
73
 
#define _CaseSensativeSort false 
 
79
#define _CaseSensativeSort false
74
80
// Html Min Font Size //
75
 
#define _HtmlMinFontSize 12 
 
81
#define _HtmlMinFontSize 12
76
82
// Filelist Icon Size //
77
 
#define _FilelistIconSize QString("22") 
 
83
#define _FilelistIconSize QString("22")
78
84
// Mouse Selection /////
79
85
#define _MouseSelection 0 // 0 - normal (shift+click, ctrl+click), 1 - left click, 2 - right click
80
86
// Use fullpath tab names /////
84
90
 
85
91
// Panel Toolbar Checkboxes
86
92
// Panel Toolbar Visible checkbox turned off
87
 
#define _PanelToolBar       true 
 
93
#define _PanelToolBar       true
88
94
// cd / is turned on
89
 
#define _cdRoot             true 
 
95
#define _cdRoot             true
90
96
// cd ~ is turned on
91
 
#define _cdHome             false 
 
97
#define _cdHome             false
92
98
// cd .. is turned on
93
 
#define _cdUp               true 
 
99
#define _cdUp               true
94
100
// cd other panel is turned on
95
 
#define _cdOther            false 
 
101
#define _cdOther            false
96
102
// Open directory is turned on
97
 
#define _Open               false 
 
103
#define _Open               false
98
104
// syncBrowseButton is turned on
99
 
#define _syncBrowseButton   false 
 
105
#define _syncBrowseButton   false
100
106
// Use the default colors of KDE
101
 
#define _KDEDefaultColors     true 
 
107
#define _KDEDefaultColors     true
102
108
// Enable Alternate Background colors
103
109
#define _AlternateBackground  true
104
 
// Show current item even if not focussed
 
110
// Show current item even if not focused
105
111
#define _ShowCurrentItemAlways false
106
112
// Dim the colors of the inactive panel
107
113
#define _DimInactiveColors     false
108
114
// Human Readable Size
109
 
#define _HumanReadableSize              true
 
115
#define _HumanReadableSize  true
110
116
// With Icons
111
117
#define _WithIcons          true
112
118
// Single Click Selects
124
130
 
125
131
/////////////////////// [General]
126
132
// Mimetype Magic /////
127
 
#define _MimetypeMagic true 
 
133
#define _MimetypeMagic true
128
134
// Move To Trash //////
129
 
#define _MoveToTrash   false 
 
135
#define _MoveToTrash   false
130
136
// Terminal ///////////
131
137
#define _Terminal      "konsole --workdir %d"
132
138
// Send CDs ///////////
133
 
#define _SendCDs                true
 
139
#define _SendCDs  true
134
140
// Editor /////////////
135
 
#define _Editor        "internal editor" 
 
141
#define _Editor        "internal editor"
136
142
// Temp Directory /////
137
 
#define _TempDirectory "/tmp/krusader.tmp" 
 
143
#define _TempDirectory "/tmp/krusader.tmp"
138
144
// Classic Quicksearch
139
 
#define _NewStyleQuicksearch true 
 
145
#define _NewStyleQuicksearch true
140
146
// Case Sensitive quick search, if _NewStyleQuicksearch is true
141
147
#define _CaseSensitiveQuicksearch false
142
148
// View In Separate Window
143
 
#define _ViewInSeparateWindow           false
 
149
#define _ViewInSeparateWindow  false
144
150
 
145
151
/////////////////////// [Advanced]
146
152
// Permission Check ///
147
153
//#define _PermCheck     true
148
154
// AutoMount //////////
149
 
#define _AutoMount        false 
 
155
#define _AutoMount        false
150
156
// Preserving date //////////
151
157
#define _PreserveAttributes false
152
158
// Nonmount Points ////
153
 
#define _NonMountPoints "/, "
 
159
#define _NonMountPoints "/, "
154
160
// Confirm Unempty Dir //     (for delete)
155
 
#define _ConfirmUnemptyDir true 
 
161
#define _ConfirmUnemptyDir true
156
162
// Confirm Delete /////       (for deleting files)
157
 
#define _ConfirmDelete true 
 
163
#define _ConfirmDelete true
158
164
// Confirm Copy ///////       (for copying files)
159
 
#define _ConfirmCopy   true 
 
165
#define _ConfirmCopy   true
160
166
// Confirm Move ///////       (for moving files)
161
 
#define _ConfirmMove   true 
 
167
#define _ConfirmMove   true
162
168
// Icon Cache Size ////
163
169
#define _IconCacheSize 2048
164
170
 
165
171
/////////////////////// [Archives]
166
172
// Do Tar /////////////
167
 
#define _DoTar         true 
 
173
#define _DoTar         true
168
174
// Do GZip ////////////
169
 
#define _DoGZip        true 
 
175
#define _DoGZip        true
170
176
// Do Zip /////////////
171
 
#define _DoZip         true 
 
177
#define _DoZip         true
172
178
// Do UnZip ///////////
173
 
#define _DoUnZip       true 
 
179
#define _DoUnZip       true
174
180
// Do BZip2 ///////////
175
 
#define _DoBZip2       true 
 
181
#define _DoBZip2       true
176
182
// Do LZMA ///////////
177
 
#define _DoLZMA       true 
 
183
#define _DoLZMA       true
178
184
// Do Rar /////////////
179
 
#define _DoRar         true 
 
185
#define _DoRar         true
180
186
// Do UnRar ///////////
181
 
#define _DoUnRar       true 
 
187
#define _DoUnRar       true
182
188
// Do UnAce ///////////
183
 
#define _DoUnAce       true 
 
189
#define _DoUnAce       true
184
190
// Do Arj /////////////
185
 
#define _DoArj         true 
 
191
#define _DoArj         true
186
192
// Do UnArj ///////////
187
 
#define _DoUnarj       true 
 
193
#define _DoUnarj       true
188
194
// Do RPM /////////////
189
 
#define _DoRPM         true 
 
195
#define _DoRPM         true
190
196
// Do DEB /////////////          ====> new
191
197
#define _DoDEB         true
192
198
// Do Lha /////////////
193
 
#define _DoLha         true 
 
199
#define _DoLha         true
194
200
// Do 7z /////////////          ====> new
195
201
#define _Do7z          true
196
202
// Allow Move Into Archive //
197
 
#define _MoveIntoArchive false 
 
203
#define _MoveIntoArchive false
198
204
// Test Archives //////
199
 
#define _TestArchives   false 
 
205
#define _TestArchives  false
200
206
// Test Before Unpack ////
201
 
#define _TestBeforeUnpack       true 
 
207
#define _TestBeforeUnpack true
202
208
// Supported Packers // ====> a QStringList of SYSTEM supported archives ( also new )
203
209
// default compression level
204
210
#define _defaultCompressionLevel 5
215
221
 
216
222
/////////////////////// [Private]
217
223
// Start Position /////
218
 
#define _StartPosition QPoint(QApplication::desktop()->width()/2 - mainView->sizeHint().width()/2,QApplication::desktop()->height()/2 - 250) 
 
224
#define _StartPosition QPoint(QApplication::desktop()->width()/2 - mainView->sizeHint().width()/2,QApplication::desktop()->height()/2 - 250)
219
225
// Start Size /////////
220
 
#define _StartSize     QSize(mainView->sizeHint().width(),500) 
 
226
#define _StartSize     QSize(mainView->sizeHint().width(),500)
221
227
// Panel Size /////////
222
 
#define _PanelSize     0 
 
228
#define _PanelSize     0
223
229
// Terminal Size //////
224
 
#define _TerminalSize  0 
 
230
#define _TerminalSize  0
225
231
// Left Name Size  - size of the left panel's name column
226
232
// Left Size Size  - size of the left panel's size column
227
233
// Left Date Size  - size of the left panel's date column
255
261
 
256
262
/////////////////////// [Synchronize directories]
257
263
// Don't overwrite automatically /////////////
258
 
#define  _ConfirmOverWrites   false 
 
264
#define  _ConfirmOverWrites   false
259
265
// Recursive search in the subdirectories /////////////
260
 
#define  _RecurseSubdirs    true 
 
266
#define  _RecurseSubdirs    true
261
267
// The searcher follows symlinks /////////////
262
 
#define  _FollowSymlinks    false 
 
268
#define  _FollowSymlinks    false
263
269
// Files with similar size are compared by content /////////////
264
 
#define  _CompareByContent  false 
 
270
#define  _CompareByContent  false
265
271
// The date information is ignored at synchronization /////////////
266
 
#define  _IgnoreDate        false 
 
272
#define  _IgnoreDate        false
267
273
// Asymmetric Client-File Server compare mode /////////////
268
 
#define  _Asymmetric        false 
 
274
#define  _Asymmetric        false
269
275
// Case insensitive compare in synchronizer /////////////
270
 
#define  _IgnoreCase        false 
 
276
#define  _IgnoreCase        false
271
277
// Scrolls the results of the synchronization /////////////
272
 
#define  _ScrollResults     false 
 
278
#define  _ScrollResults     false
273
279
// The right arrow button is turned on /////////////
274
 
#define  _BtnLeftToRight    true 
 
280
#define  _BtnLeftToRight    true
275
281
// The equals button is turned on /////////////
276
 
#define  _BtnEquals         true 
 
282
#define  _BtnEquals         true
277
283
// The not equals button is turned on /////////////
278
 
#define  _BtnDifferents     true 
 
284
#define  _BtnDifferents     true
279
285
// The left arrow button is turned on /////////////
280
 
#define  _BtnRightToLeft    true 
 
286
#define  _BtnRightToLeft    true
281
287
// The trash button is turned on /////////////
282
 
#define  _BtnDeletable      true 
 
288
#define  _BtnDeletable      true
283
289
// The duplicates button is turned on /////////////
284
 
#define  _BtnDuplicates     true 
 
290
#define  _BtnDuplicates     true
285
291
// The singles button is turned on /////////////
286
292
#define  _BtnSingles        true
287
293
 
288
294
/////////////////////// [Custom Selection Mode]
289
295
// QT Selection
290
 
#define _QtSelection                    false
 
296
#define _QtSelection   false
291
297
// Left Selects
292
 
#define _LeftSelects                    true
 
298
#define _LeftSelects   true
293
299
// Left Preserves
294
 
#define _LeftPreserves          false
 
300
#define _LeftPreserves  false
295
301
// ShiftCtrl Left Selects
296
 
#define _ShiftCtrlLeft          false
 
302
#define _ShiftCtrlLeft  false
297
303
// Right Selects
298
 
#define _RightSelects           true
 
304
#define _RightSelects  true
299
305
// Right Preserves
300
 
#define _RightPreserves         false
 
306
#define _RightPreserves  false
301
307
// ShiftCtrl Right Selects
302
 
#define _ShiftCtrlRight         false
 
308
#define _ShiftCtrlRight  false
303
309
// Space Moves Down
304
 
#define _SpaceMovesDown         true
 
310
#define _SpaceMovesDown  true
305
311
// Space Calc Space
306
 
#define _SpaceCalcSpace         true
 
312
#define _SpaceCalcSpace  true
307
313
// Insert Moves Down
308
 
#define _InsertMovesDown        true
 
314
#define _InsertMovesDown true
309
315
// Immediate Context Menu
310
 
#define _ImmediateContextMenu   true
 
316
#define _ImmediateContextMenu true
311
317
 
312
318
// Root directory
313
319
#ifdef Q_WS_WIN
327
333
#define ROOT_DIR            "/"
328
334
#define EXEC_SUFFIX         ""
329
335
#endif
 
336
 
 
337
#endif