diff options
Diffstat (limited to 'tdeprint/foomatic2loader.cpp')
-rw-r--r-- | tdeprint/foomatic2loader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeprint/foomatic2loader.cpp b/tdeprint/foomatic2loader.cpp index 0d0637c90..c498477fd 100644 --- a/tdeprint/foomatic2loader.cpp +++ b/tdeprint/foomatic2loader.cpp @@ -67,7 +67,7 @@ bool Foomatic2Loader::readFromBuffer( const TQString& buffer ) return false; } -DrBase* Foomatic2Loader::createValue( const TQString& name, const TQMap<TQString,TQVariant>& m ) const +DrBase* Foomatic2Loader::createValue( const TQString& name, const TQStringVariantMap& m ) const { DrBase *choice = new DrBase; choice->setName( name ); @@ -75,7 +75,7 @@ DrBase* Foomatic2Loader::createValue( const TQString& name, const TQMap<TQString return choice; } -DrBase* Foomatic2Loader::createOption( const TQMap<TQString,TQVariant>& m ) const +DrBase* Foomatic2Loader::createOption( const TQStringVariantMap& m ) const { TQString type = m.operator[]( "type" ).toString(); DrBase *opt = NULL; @@ -83,7 +83,7 @@ DrBase* Foomatic2Loader::createOption( const TQMap<TQString,TQVariant>& m ) cons { DrListOption *lopt = new DrListOption; TQVariant a = m.operator[]( "vals_byname" ); - TQMap<TQString,TQVariant>::ConstIterator it = a.mapBegin(); + TQStringVariantMap::ConstIterator it = a.mapBegin(); for ( ; it!=a.mapEnd(); ++it ) { if ( it.data().type() != TQVariant::Map ) @@ -183,7 +183,7 @@ DrMain* Foomatic2Loader::buildDriver() const TQRegExp re( "(\\d+) +(\\d+)" ); if ( choices.type() == TQVariant::Map ) { - TQMap<TQString,TQVariant>::ConstIterator it = choices.mapBegin(); + TQStringVariantMap::ConstIterator it = choices.mapBegin(); for ( ; it!=choices.mapEnd(); ++it ) { TQString driverval = ( *it ).mapFind( "driverval" ).data().toString(); @@ -234,7 +234,7 @@ DrMain* Foomatic2Loader::modifyDriver( DrMain *driver ) const v = V.mapFind( "args_byname" ).data(); if ( !v.isNull() && v.type() == TQVariant::Map ) { - TQMap<TQString,TQVariant>::ConstIterator it = v.mapBegin(); + TQStringVariantMap::ConstIterator it = v.mapBegin(); for ( ; it!=v.mapEnd(); ++it ) { if ( ( *it ).type() != TQVariant::Map ) |