diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 19:00:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 19:00:41 +0900 |
commit | e2981d9dced016695cdd456a82b729ef94649f70 (patch) | |
tree | af5a405c54fbf757809f1af13125941482d65640 | |
parent | 22c6af2c71cfd67a4b95f892ea5654f4665c50a8 (diff) | |
download | libkipi-e2981d9dced016695cdd456a82b729ef94649f70.tar.gz libkipi-e2981d9dced016695cdd456a82b729ef94649f70.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | libkipi/libkipi/imageinfo.cpp | 4 | ||||
-rw-r--r-- | libkipi/libkipi/imageinfo.h | 4 | ||||
-rw-r--r-- | libkipi/libkipi/imageinfoshared.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libkipi/libkipi/imageinfo.cpp b/libkipi/libkipi/imageinfo.cpp index 01debc4..7602a4f 100644 --- a/libkipi/libkipi/imageinfo.cpp +++ b/libkipi/libkipi/imageinfo.cpp @@ -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 ); } diff --git a/libkipi/libkipi/imageinfo.h b/libkipi/libkipi/imageinfo.h index b3bf849..cafe2be 100644 --- a/libkipi/libkipi/imageinfo.h +++ b/libkipi/libkipi/imageinfo.h @@ -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; diff --git a/libkipi/libkipi/imageinfoshared.h b/libkipi/libkipi/imageinfoshared.h index d39fb02..d6e5a29 100644 --- a/libkipi/libkipi/imageinfoshared.h +++ b/libkipi/libkipi/imageinfoshared.h @@ -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 ); |