summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-09-30 00:01:01 (UTC)
committer ulf69 <ulf69>2004-09-30 00:01:01 (UTC)
commit18133bd2cce41a83dab0f2feee01b7b3edd189dd (patch) (unidiff)
tree1943eeaf48f53c4e08769e036c235047ad5e897b
parenta138b5fb62f993cbe4cd6ab004429316d0f9c95a (diff)
downloadkdepimpi-18133bd2cce41a83dab0f2feee01b7b3edd189dd.zip
kdepimpi-18133bd2cce41a83dab0f2feee01b7b3edd189dd.tar.gz
kdepimpi-18133bd2cce41a83dab0f2feee01b7b3edd189dd.tar.bz2
bugfix. removed typo
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/tmpaddressbook.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/tmpaddressbook.cpp b/kabc/tmpaddressbook.cpp
index ca47ca4..6e24302 100644
--- a/kabc/tmpaddressbook.cpp
+++ b/kabc/tmpaddressbook.cpp
@@ -1,56 +1,56 @@
1/* 1/*
2 This file is part of libkabc. 2 This file is part of libkabc.
3 Copyright (c) 2004 Ulf Schenk 3 Copyright (c) 2004 Ulf Schenk
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details. 13 Library General Public License for more details.
14 14
15 You should have received a copy of the GNU Library General Public License 15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to 16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19*/ 19*/
20 20
21/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24 24
25$Id$ 25$Id$
26*/ 26*/
27#include <qptrlist.h> 27#include <qptrlist.h>
28 28
29#include "tmpaddressbook.h" 29#include "tmpaddressbook.h"
30 30
31using namespace KABC; 31using namespace KABC;
32 32
33#include "resource.h" 33#include "resource.h"
34 34
35TmpAddressBook::TmpAddressBook() 35TmpAddressBook::TmpAddressBook()
36 : AddressBook(0, "tmpcontact") 36 : AddressBook(0, "tmpcontact")
37{ 37{
38} 38}
39 39
40TmpAddressBook::TmpAddressBook( const QString &config ) 40TmpAddressBook::TmpAddressBook( const QString &config )
41 : AddressBook( config, "tmpcontract" ) 41 : AddressBook( config, "tmpcontact" )
42{ 42{
43} 43}
44 44
45TmpAddressBook::~TmpAddressBook() 45TmpAddressBook::~TmpAddressBook()
46{ 46{
47 //remove all possible resources. This should cleanup the configfile. 47 //remove all possible resources. This should cleanup the configfile.
48 QPtrList<KABC::Resource> mResources = resources(); 48 QPtrList<KABC::Resource> mResources = resources();
49 49
50 QPtrListIterator<KABC::Resource> it(mResources); 50 QPtrListIterator<KABC::Resource> it(mResources);
51 for ( ; it.current(); ++it ) { 51 for ( ; it.current(); ++it ) {
52 KABC::Resource *res = it.current(); 52 KABC::Resource *res = it.current();
53 removeResource(res); 53 removeResource(res);
54 } 54 }
55} 55}
56 56