Switch to unified view

a/src/qtgui/rclmain.cpp b/src/qtgui/rclmain.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.32 2006-09-13 13:53:35 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.33 2006-09-21 09:37:28 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
...
...
366
{
366
{
367
    if (sortform == 0) {
367
    if (sortform == 0) {
368
    sortform = new SortForm(0, tr("Sort criteria"), FALSE,
368
    sortform = new SortForm(0, tr("Sort criteria"), FALSE,
369
                    WStyle_Customize | WStyle_NormalBorder | 
369
                    WStyle_Customize | WStyle_NormalBorder | 
370
                    WStyle_Title | WStyle_SysMenu);
370
                    WStyle_Title | WStyle_SysMenu);
371
    connect(sortform, SIGNAL(sortDataChanged(RclSortSpec)), 
371
    connect(sortform, SIGNAL(sortDataChanged(DocSeqSortSpec)), 
372
        this, SLOT(sortDataChanged(RclSortSpec)));
372
        this, SLOT(sortDataChanged(DocSeqSortSpec)));
373
    sortform->show();
373
    sortform->show();
374
    } else {
374
    } else {
375
    // Close and reopen, in hope that makes us visible...
375
    // Close and reopen, in hope that makes us visible...
376
    sortform->close();
376
    sortform->close();
377
        sortform->show();
377
        sortform->show();
...
...
692
    m_searchId++;
692
    m_searchId++;
693
    resList->setDocSource(docsource, sdata);
693
    resList->setDocSource(docsource, sdata);
694
}
694
}
695
695
696
696
697
void RclMain::sortDataChanged(RclSortSpec spec)
697
void RclMain::sortDataChanged(DocSeqSortSpec spec)
698
{
698
{
699
    LOGDEB(("RclMain::sortDataChanged\n"));
699
    LOGDEB(("RclMain::sortDataChanged\n"));
700
    sortspecs = spec;
700
    sortspecs = spec;
701
}
701
}
702
702