KIPI::ImageInfo Class Reference

#include <imageinfo.h>

Collaboration diagram for KIPI::ImageInfo:
[legend]

List of all members.

Public Member Functions

QString title () const
void setTitle (const QString &name)
QString description () const
void setDescription (const QString &description)
QMap< QString, QVariant > attributes () const
void clearAttributes ()
void addAttributes (const QMap< QString, QVariant > &)
KURL path () const
QDateTime time (TimeSpec spec=FromInfo) const
void setTime (const QDateTime &time, TimeSpec spec=FromInfo)
bool isTimeExact () const
int size () const
int angle () const
void setAngle (int)
QString toString (const QVariant &) const
void cloneData (const ImageInfo &other)
 ImageInfo (ImageInfoShared *)
 ImageInfo (const ImageInfo &)
 ~ImageInfo ()


Detailed Description

Holds info about an image

Definition at line 41 of file imageinfo.h.


Constructor & Destructor Documentation

KIPI::ImageInfo::ImageInfo ( ImageInfoShared shared  ) 

constructor Interface for host application + general stuff

Definition at line 92 of file imageinfo.cpp.

References ImageInfo().

Referenced by ImageInfo().

Here is the call graph for this function:

KIPI::ImageInfo::ImageInfo ( const ImageInfo rhs  ) 

Definition at line 97 of file imageinfo.cpp.

References _data, KIPI::ImageInfoShared::addRef(), and ImageInfo().

Here is the call graph for this function:

KIPI::ImageInfo::~ImageInfo (  ) 

Definition at line 103 of file imageinfo.cpp.

References KIPI::ImageInfoShared::removeRef().

Here is the call graph for this function:


Member Function Documentation

QString KIPI::ImageInfo::title (  )  const

PENDING(blackie) document

Definition at line 40 of file imageinfo.cpp.

References KIPI::ImageInfoShared::title().

Here is the call graph for this function:

void KIPI::ImageInfo::setTitle ( const QString &  name  ) 

Definition at line 108 of file imageinfo.cpp.

References KIPI::ImageInfoShared::setTitle().

Here is the call graph for this function:

QString KIPI::ImageInfo::description (  )  const

PENDING(blackie) document

Definition at line 56 of file imageinfo.cpp.

References KIPI::ImageInfoShared::description().

Here is the call graph for this function:

void KIPI::ImageInfo::setDescription ( const QString &  description  ) 

Definition at line 113 of file imageinfo.cpp.

References KIPI::ImageInfoShared::setDescription().

Here is the call graph for this function:

QMap< QString, QVariant > KIPI::ImageInfo::attributes (  )  const

Returns a Map of attributes of the image In case the host application supports some special attributes of the image this function can be used to return them. Tags are supported by this feature: "tags" key contains QStringList() encapsulated in a QVariant

Definition at line 79 of file imageinfo.cpp.

References KIPI::ImageInfoShared::attributes().

Here is the call graph for this function:

void KIPI::ImageInfo::clearAttributes (  ) 

Definition at line 118 of file imageinfo.cpp.

References KIPI::ImageInfoShared::clearAttributes().

Here is the call graph for this function:

void KIPI::ImageInfo::addAttributes ( const QMap< QString, QVariant > &  attributes  ) 

Definition at line 123 of file imageinfo.cpp.

References KIPI::ImageInfoShared::addAttributes().

Here is the call graph for this function:

KURL KIPI::ImageInfo::path (  )  const

PENDING(blackie) document

Definition at line 48 of file imageinfo.cpp.

References KIPI::ImageInfoShared::path().

Here is the call graph for this function:

QDateTime KIPI::ImageInfo::time ( TimeSpec  spec = FromInfo  )  const

Returns the time of the image. In case the host application supports time range, the spec argument specifies if it is the start or end time that should be returned.

Definition at line 66 of file imageinfo.cpp.

References KIPI::ImageInfoShared::time().

Here is the call graph for this function:

void KIPI::ImageInfo::setTime ( const QDateTime &  time,
TimeSpec  spec = FromInfo 
)

Definition at line 157 of file imageinfo.cpp.

References KIPI::ImageInfoShared::setTime().

Here is the call graph for this function:

bool KIPI::ImageInfo::isTimeExact (  )  const

In the case the application supports time ranges (like this image is from 1998-2000), this method will return true if the time is an exact specification, and thus not a range.

Definition at line 152 of file imageinfo.cpp.

References KIPI::ImageInfoShared::isTimeExact().

Here is the call graph for this function:

int KIPI::ImageInfo::size (  )  const

PENDING(blackie) document

Definition at line 87 of file imageinfo.cpp.

References KIPI::ImageInfoShared::size().

Here is the call graph for this function:

int KIPI::ImageInfo::angle (  )  const

Returns the angle the application rotates the image with when displaying it. Certain host applications may choose to rotate the image on disk, and will always return 0, while other host application will rotate the image when displaying it, and will thus not rotate the image on disk.

Definition at line 134 of file imageinfo.cpp.

References KIPI::ImageInfoShared::angle().

Here is the call graph for this function:

void KIPI::ImageInfo::setAngle ( int  angle  ) 

See angle

Definition at line 142 of file imageinfo.cpp.

References KIPI::ImageInfoShared::setAngle().

Here is the call graph for this function:

QString KIPI::ImageInfo::toString ( const QVariant &  data  )  const

Definition at line 28 of file imageinfo.cpp.

References flush().

Here is the call graph for this function:

void KIPI::ImageInfo::cloneData ( const ImageInfo other  ) 

Copies all the attibutes, description etc from the other imageinfo

Definition at line 165 of file imageinfo.cpp.

References _data, and KIPI::ImageInfoShared::cloneData().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 22:34:29 2007 for libKipi by  doxygen 1.5.3