Adjusted to use new TQStringVariantMap type.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 6 years ago
parent 22c6af2c71
commit e2981d9dce
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -76,7 +76,7 @@ TQDateTime KIPI::ImageInfo::time( TimeSpec spec ) const
encapsulated in a TQVariant
*/
TQMap<TQString,TQVariant> KIPI::ImageInfo::attributes() const
TQStringVariantMap KIPI::ImageInfo::attributes() const
{
return _data->attributes();
}
@ -120,7 +120,7 @@ void KIPI::ImageInfo::clearAttributes()
_data->clearAttributes();
}
void KIPI::ImageInfo::addAttributes( const TQMap<TQString,TQVariant>& attributes )
void KIPI::ImageInfo::addAttributes( const TQStringVariantMap& attributes )
{
_data->addAttributes( attributes );
}

@ -47,9 +47,9 @@ namespace KIPI
TQString description() const;
void setDescription( const TQString& description);
TQMap<TQString,TQVariant> attributes() const;
TQStringVariantMap attributes() const;
void clearAttributes();
void addAttributes( const TQMap<TQString,TQVariant>& );
void addAttributes( const TQStringVariantMap& );
KURL path() const;
TQDateTime time( TimeSpec spec = FromInfo ) const;

@ -54,9 +54,9 @@ namespace KIPI
virtual TQString description() = 0;
virtual void setDescription( const TQString& ) = 0;
virtual TQMap<TQString,TQVariant> attributes() = 0;
virtual TQStringVariantMap attributes() = 0;
virtual void clearAttributes() = 0;
virtual void addAttributes( const TQMap<TQString,TQVariant>& ) = 0;
virtual void addAttributes( const TQStringVariantMap& ) = 0;
virtual KURL path();
virtual TQDateTime time( KIPI::TimeSpec spec );

Loading…
Cancel
Save