Switch to unified view

a/src/qtgui/uiprefs_w.cpp b/src/qtgui/uiprefs_w.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: uiprefs_w.cpp,v 1.15 2007-02-08 09:03:29 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: uiprefs_w.cpp,v 1.16 2007-02-14 10:10:43 dockes Exp $ (C) 2005 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
102
    syntlenSB->setValue(prefs.syntAbsLen);
102
    syntlenSB->setValue(prefs.syntAbsLen);
103
    syntctxSB->setValue(prefs.syntAbsCtx);
103
    syntctxSB->setValue(prefs.syntAbsCtx);
104
104
105
    initStartAdvCB->setChecked(prefs.startWithAdvSearchOpen);
105
    initStartAdvCB->setChecked(prefs.startWithAdvSearchOpen);
106
    initStartSortCB->setChecked(prefs.startWithSortToolOpen);
106
    initStartSortCB->setChecked(prefs.startWithSortToolOpen);
107
    useDesktopOpenCB->setChecked(prefs.useDesktopOpen);
107
108
108
    // Result list font family and size
109
    // Result list font family and size
109
    reslistFontFamily = prefs.reslistfontfamily;
110
    reslistFontFamily = prefs.reslistfontfamily;
110
    reslistFontSize = prefs.reslistfontsize;
111
    reslistFontSize = prefs.reslistfontsize;
111
    QString s;
112
    QString s;
...
...
189
    prefs.queryReplaceAbstract = buildAbsCB->isChecked() && 
190
    prefs.queryReplaceAbstract = buildAbsCB->isChecked() && 
190
    replAbsCB->isChecked();
191
    replAbsCB->isChecked();
191
192
192
    prefs.startWithAdvSearchOpen = initStartAdvCB->isChecked();
193
    prefs.startWithAdvSearchOpen = initStartAdvCB->isChecked();
193
    prefs.startWithSortToolOpen = initStartSortCB->isChecked();
194
    prefs.startWithSortToolOpen = initStartSortCB->isChecked();
195
    prefs.useDesktopOpen = useDesktopOpenCB->isChecked();
194
196
195
    prefs.syntAbsLen = syntlenSB->value();
197
    prefs.syntAbsLen = syntlenSB->value();
196
    prefs.syntAbsCtx = syntctxSB->value();
198
    prefs.syntAbsCtx = syntctxSB->value();
197
199
198
    QListViewItemIterator it(idxLV);
200
    QListViewItemIterator it(idxLV);