author | drw <drw> | 2002-11-30 18:22:59 (UTC) |
---|---|---|
committer | drw <drw> | 2002-11-30 18:22:59 (UTC) |
commit | 197b74a6193151cca8b7f5f725fb19098cb76eb2 (patch) (side-by-side diff) | |
tree | d2a3e190c3d404ba952c7645eb195de58e2b2d2e /noncore/apps/checkbook/traninfo.cpp | |
parent | 6afb59b5950c8fdd24dc93ac4ee370a3c8437f9a (diff) | |
download | opie-197b74a6193151cca8b7f5f725fb19098cb76eb2.zip opie-197b74a6193151cca8b7f5f725fb19098cb76eb2.tar.gz opie-197b74a6193151cca8b7f5f725fb19098cb76eb2.tar.bz2 |
Made checkbook transaction list prettier & updated contact info
Diffstat (limited to 'noncore/apps/checkbook/traninfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/traninfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/traninfo.cpp b/noncore/apps/checkbook/traninfo.cpp index dcba869..65c190c 100644 --- a/noncore/apps/checkbook/traninfo.cpp +++ b/noncore/apps/checkbook/traninfo.cpp @@ -1,28 +1,28 @@ /* This file is part of the OPIE Project =. - .=l. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> + .=l. Copyright (c) 2002 Dan Williams <drw@handhelds.org> .>+-= _;:, .> :=|. This file is free software; you can .> <`_, > . <= redistribute it and/or modify it under :`=1 )Y*s>-.-- : the terms of the GNU General Public .="- .-=="i, .._ License as published by the Free Software - . .-<_> .<> Foundation; either version 2 of the License, ._= =} : or (at your option) any later version. .%`+i> _;_. .i_,=:_. -<s. This file is distributed in the hope that + . -:. = it will be useful, but WITHOUT ANY WARRANTY; : .. .:, . . . without even the implied warranty of =_ + =;=|` MERCHANTABILITY or FITNESS FOR A _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General ..}^=.= = ; Public License for more details. ++= -. .` .: : = ...= . :.=- You should have received a copy of the GNU -. .:....=;==+<; General Public License along with this file; -_. . . )=. = see the file COPYING. If not, write to the -- :-=` Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ @@ -166,25 +166,25 @@ void TranInfo::write( Config *config, int entry ) tempstr.setNum( a, 'f', 2 ); config->writeEntry( "Amount", tempstr ); tempstr.setNum( f, 'f', 2 ); config->writeEntry( "TransactionFee", tempstr ); config->writeEntry( "CheckNumber", cn ); config->writeEntry( "Comments", n ); } int TranInfoList::compareItems( QCollection::Item item1, QCollection::Item item2 ) { QDate d1 = ((TranInfo *)item1)->date(); QDate d2 = ((TranInfo *)item2)->date(); int r = -1; if ( d1 < d2 ) r = -1; else if ( d1 == d2 ) r = 0; else if ( d1 > d2 ) r = 1; return( r ); -}
\ No newline at end of file +} |