CCalenAttachmentInfo Class Reference
class CCalenAttachmentInfo : public CBase
|
Constructor & Destructor Documentation
CCalenAttachmentInfo(CCalenAttachmentModel &, const TFileName &, const TFileName &, TInt, TBool, const TDataType &, const TCalenAttachmentStoreType)
~CCalenAttachmentInfo()
~CCalenAttachmentInfo
|
(
|
)
|
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DataType()
IMPORT_C const
TDataType
&
|
DataType
|
(
|
)
|
const
|
Returns the datatype (MIME type) of this attachment.
FileHandle(RFile &)
void
|
FileHandle
|
(
|
RFile
&
|
aFile
|
)
|
|
FileName()
IMPORT_C const
TFileName
&
|
FileName
|
(
|
)
|
const
|
Returns reference to the filename this attachment represents.
Icon()
Get icon of this attachment.
IsFetched()
IMPORT_C
TBool
|
IsFetched
|
(
|
)
|
const
|
Returns ETrue if this attachment is fetched.
IsFileHandleSet()
TBool
|
IsFileHandleSet
|
(
|
)
|
|
Check whether the file handle is set or not.
NewL(CCalenAttachmentModel &, const TFileName &, const TFileName &, TInt, TBool, const TDataType &, const TCalenAttachmentStoreType)
SetFetched(TBool)
IMPORT_C void
|
SetFetched
|
(
|
TBool
|
aFetched
|
)
|
|
Sets the fetched attribute of this attachment.
SetFileHandle(RFile &)
void
|
SetFileHandle
|
(
|
RFile
&
|
aFile
|
)
|
|
Parameters
RFile
& aFile
|
File handle to be set
|
SetFileName(const TFileName &)
IMPORT_C void
|
SetFileName
|
(
|
const
TFileName
&
|
aFileName
|
)
|
|
Set the filename of this attachment.
Parameters
const
TFileName
& aFileName
|
filename of the attachment
|
Size()
IMPORT_C
TInt
|
Size
|
(
|
)
|
const
|
Returns the size of the attachment.
SizeString()
IMPORT_C
HBufC
*
|
SizeString
|
(
|
)
|
const
|
Returns the size of the atatchment in the form of a string to be displayed on the UI
StoreType()
Get the store type whether attachment is fetched from the entry or attachment is new one
SystemFileName()
IMPORT_C const
TFileName
&
|
SystemFileName
|
(
|
)
|
const
|
Returns reference to the systemfilename this attachment represents.
Member Enumerations Documentation
Enum TCalenAttachmentStoreType
Enumerators
ECalenNewAttachment
|
|
ECalenAttachmentFetchedFromEntry
|
|
Member Data Documentation
CCalenAttachmentModel & iAttachmentModel
TCalenAttachmentStoreType
iAttachmentStoreType
TBool
iIsFetched
TBool
|
iIsFetched
|
[private]
|
TFileName
iSystemFileName
TBool
isSetFileHandle
TBool
|
isSetFileHandle
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.