summaryrefslogtreecommitdiffabout
path: root/kabc/addresseelist.cpp
Side-by-side diff
Diffstat (limited to 'kabc/addresseelist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/addresseelist.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/kabc/addresseelist.cpp b/kabc/addresseelist.cpp
index 097e162..e1ba1ce 100644
--- a/kabc/addresseelist.cpp
+++ b/kabc/addresseelist.cpp
@@ -19,25 +19,27 @@
Boston, MA 02111-1307, USA.
*/
/*
Enhanced Version of the file for platform independent KDE tools.
Copyright (c) 2004 Ulf Schenk
$Id$
*/
#include <kdebug.h>
//US
-#include <qtl.h>
+#include <q3tl.h>
+//Added by qt3to4:
+#include <Q3ValueList>
#include "addresseelist.h"
#include "field.h"
using namespace KABC;
//
//
// Traits
//
//
@@ -112,44 +114,44 @@ bool SortingTraits::GivenName::lt( const Addressee &a1, const Addressee &a2 )
} else {
return given < 0;
}
}
//
//
// AddresseeList
//
//
AddresseeList::AddresseeList()
- : QValueList<Addressee>()
+ : Q3ValueList<Addressee>()
{
mReverseSorting = false;
mActiveSortingCriterion = FormattedName;
mActiveSortingField = 0;
}
AddresseeList::~AddresseeList()
{
}
AddresseeList::AddresseeList( const AddresseeList &l )
- : QValueList<Addressee>( l )
+ : Q3ValueList<Addressee>( l )
{
mReverseSorting = l.reverseSorting();
mActiveSortingCriterion = l.sortingCriterion();
}
-AddresseeList::AddresseeList( const QValueList<Addressee> &l )
- : QValueList<Addressee>( l )
+AddresseeList::AddresseeList( const Q3ValueList<Addressee> &l )
+ : Q3ValueList<Addressee>( l )
{
mReverseSorting = false;
}
void AddresseeList::dump() const
{
kdDebug(5700) << "AddresseeList {" << endl;
kdDebug(5700) << "reverse order: " << ( mReverseSorting ? "true" : "false" ) << endl;
QString crit;
if ( Uid == mActiveSortingCriterion ) {
crit = "Uid";