|
ButeoSynchronizationFramework
|
29 #include "ProfileField.h"
85 : iName(aSource.iName),
87 iLoaded(aSource.iLoaded),
88 iMerged(aSource.iMerged),
89 iLocalKeys(aSource.iLocalKeys),
90 iMergedKeys(aSource.iMergedKeys)
109 qDeleteAll(iLocalFields);
110 iLocalFields.clear();
111 qDeleteAll(iMergedFields);
112 iMergedFields.clear();
114 qDeleteAll(iSubProfiles);
115 iSubProfiles.clear();
120 #endif // PROFILE_P_H
QList< Profile * > iSubProfiles
List of sub-profiles.
Definition: Profile_p.h:71
QString iName
Profile name.
Definition: Profile_p.h:47
virtual Profile * clone() const
Creates a clone of the profile.
Definition: Profile.cpp:104
Private implementation class for Profile class.
Definition: Profile_p.h:34
This class represents a profile field.
Definition: ProfileField.h:48
QMap< QString, QString > iLocalKeys
Local keys, that are not merged from sub-profiles.
Definition: Profile_p.h:59
Definition: SyncBackupAdaptor.h:40
QString iType
Profile type.
Definition: Profile_p.h:50
ProfilePrivate()
Constructor.
Definition: Profile_p.h:78
QList< const ProfileField * > iMergedFields
Fields that are merged from sub-profiles.
Definition: Profile_p.h:68
bool iLoaded
Is the profile fully loaded and constructed.
Definition: Profile_p.h:53
This class represents a single profile, a collection of settings or data releated to some entity.
Definition: Profile.h:52
bool iMerged
Is the profile merged created by merging from sub-profile.
Definition: Profile_p.h:56
QList< const ProfileField * > iLocalFields
Local fields, that are not merged from sub-profiles.
Definition: Profile_p.h:65
QMap< QString, QString > iMergedKeys
Keys that are merged from sub-profile files.
Definition: Profile_p.h:62
~ProfilePrivate()
Destructor.
Definition: Profile_p.h:107