diff options
Diffstat (limited to 'libkipi/libkipi/imageinfo.cpp')
-rw-r--r-- | libkipi/libkipi/imageinfo.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libkipi/libkipi/imageinfo.cpp b/libkipi/libkipi/imageinfo.cpp index 536dbf3..01debc4 100644 --- a/libkipi/libkipi/imageinfo.cpp +++ b/libkipi/libkipi/imageinfo.cpp @@ -25,9 +25,9 @@ /** @file imageinfo.cpp */ -QString KIPI::ImageInfo::toString( const QVariant& data ) const +TQString KIPI::ImageInfo::toString( const TQVariant& data ) const { - QString string; + TQString string; KDStream stream( &string ); stream << data << flush ; @@ -37,7 +37,7 @@ QString KIPI::ImageInfo::toString( const QVariant& data ) const /** PENDING(blackie) document */ -QString KIPI::ImageInfo::title() const +TQString KIPI::ImageInfo::title() const { return _data->title(); } @@ -53,7 +53,7 @@ KURL KIPI::ImageInfo::path() const /** PENDING(blackie) document */ -QString KIPI::ImageInfo::description() const +TQString KIPI::ImageInfo::description() const { return _data->description(); } @@ -63,7 +63,7 @@ QString KIPI::ImageInfo::description() const In case the host application supports time range, the spec argument specifies if it is the start or end time that should be returned. */ -QDateTime KIPI::ImageInfo::time( TimeSpec spec ) const +TQDateTime KIPI::ImageInfo::time( TimeSpec spec ) const { return _data->time( spec ); } @@ -72,11 +72,11 @@ QDateTime KIPI::ImageInfo::time( TimeSpec spec ) 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 + Tags are supported by this feature: "tags" key contains TQStringList() + encapsulated in a TQVariant */ -QMap<QString,QVariant> KIPI::ImageInfo::attributes() const +TQMap<TQString,TQVariant> KIPI::ImageInfo::attributes() const { return _data->attributes(); } @@ -105,12 +105,12 @@ KIPI::ImageInfo::~ImageInfo() _data->removeRef(); } -void KIPI::ImageInfo::setTitle( const QString& name ) +void KIPI::ImageInfo::setTitle( const TQString& name ) { _data->setTitle( name ); } -void KIPI::ImageInfo::setDescription( const QString& description ) +void KIPI::ImageInfo::setDescription( const TQString& description ) { _data->setDescription( description ); } @@ -120,7 +120,7 @@ void KIPI::ImageInfo::clearAttributes() _data->clearAttributes(); } -void KIPI::ImageInfo::addAttributes( const QMap<QString,QVariant>& attributes ) +void KIPI::ImageInfo::addAttributes( const TQMap<TQString,TQVariant>& attributes ) { _data->addAttributes( attributes ); } @@ -154,7 +154,7 @@ bool KIPI::ImageInfo::isTimeExact() const return _data->isTimeExact(); } -void KIPI::ImageInfo::setTime( const QDateTime& time, TimeSpec spec ) +void KIPI::ImageInfo::setTime( const TQDateTime& time, TimeSpec spec ) { _data->setTime( time, spec ); } |