summaryrefslogtreecommitdiffabout
path: root/kabc/distributionlist.h
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kabc/distributionlist.h
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'kabc/distributionlist.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/distributionlist.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kabc/distributionlist.h b/kabc/distributionlist.h
index c81e543..8d21a17 100644
--- a/kabc/distributionlist.h
+++ b/kabc/distributionlist.h
@@ -21,12 +21,15 @@
#ifndef KABC_DISTRIBUTIONLIST_H
#define KABC_DISTRIBUTIONLIST_H
//#include <kdirwatch.h>
#include "addressbook.h"
+//Added by qt3to4:
+#include <Q3ValueList>
+#include <Q3PtrList>
namespace KABC {
class DistributionListManager;
/**
@@ -45,13 +48,13 @@ class DistributionList
This class represents an entry of a distribution list. It consists of an
addressee and an email address. If the email address is null, the
preferred email address of the addressee is used.
*/
struct Entry
{
- typedef QValueList<Entry> List;
+ typedef Q3ValueList<Entry> List;
Entry() {}
Entry( const Addressee &_addressee, const QString &_email ) :
addressee( _addressee ), email( _email ) {}
Addressee addressee;
@@ -164,13 +167,13 @@ class DistributionListManager
*/
bool save();
private:
AddressBook *mAddressBook;
- QPtrList<DistributionList> mLists;
+ Q3PtrList<DistributionList> mLists;
};
/**
@short Watchdog for distribution lists
This class provides a @ref changed() signal that i emitted when the