Switch to unified view

a/src/qtgui/spell_w.cpp b/src/qtgui/spell_w.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: spell_w.cpp,v 1.9 2006-12-19 12:38:18 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: spell_w.cpp,v 1.10 2006-12-22 16:48:05 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
...
...
111
public:
111
public:
112
    MyListViewItem(QListView *listView, const QString& s1, const QString& s2)
112
    MyListViewItem(QListView *listView, const QString& s1, const QString& s2)
113
        : QListViewItem(listView, s1, s2)
113
        : QListViewItem(listView, s1, s2)
114
    { }
114
    { }
115
115
116
    int compare(QListViewItem * i, int col, bool ascending) const {
116
    int compare(QListViewItem * i, int col, bool) const {
117
    if (col == 0)
117
    if (col == 0)
118
        return i->text(0).compare(text(0));
118
        return i->text(0).compare(text(0));
119
    if (col == 1)
119
    if (col == 1)
120
        return i->text(1).toInt() - text(1).toInt();
120
        return i->text(1).toInt() - text(1).toInt();
121
    // ??
121
    // ??