summaryrefslogtreecommitdiffstats
path: root/kdeprint/foomatic2loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/foomatic2loader.cpp')
-rw-r--r--kdeprint/foomatic2loader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeprint/foomatic2loader.cpp b/kdeprint/foomatic2loader.cpp
index 4ca1464dd..ec26e5907 100644
--- a/kdeprint/foomatic2loader.cpp
+++ b/kdeprint/foomatic2loader.cpp
@@ -141,7 +141,7 @@ DrMain* Foomatic2Loader::buildDriver() const
if ( m_foodata.isEmpty() )
return NULL;
- TQVariant v = m_foodata.find( "VAR" ).data();
+ TQVariant v = m_foodata.tqfind( "VAR" ).data();
if ( !v.isNull() && v.type() == TQVariant::Map )
{
DrMain *driver = new DrMain;
@@ -152,7 +152,7 @@ DrMain* Foomatic2Loader::buildDriver() const
driver->set( "matic_driver", v.mapFind( "driver" ).data().toString() );
driver->set( "text", TQString( "%1 %2 (%3)" ).arg( driver->get( "manufacturer" ) ).arg( driver->get( "model" ) ).arg( driver->get( "matic_driver" ) ) );
if ( m_foodata.contains( "POSTPIPE" ) )
- driver->set( "postpipe", m_foodata.find( "POSTPIPE" ).data().toString() );
+ driver->set( "postpipe", m_foodata.tqfind( "POSTPIPE" ).data().toString() );
v = v.mapFind( "args" ).data();
if ( !v.isNull() && v.type() == TQVariant::List )
{
@@ -211,7 +211,7 @@ DrMain* Foomatic2Loader::modifyDriver( DrMain *driver ) const
TQValueList<DrBase*> optList;
DrGroup *grp = NULL;
- TQVariant V = m_foodata.find( "VAR" ).data();
+ TQVariant V = m_foodata.tqfind( "VAR" ).data();
if ( !V.isNull() && V.type() == TQVariant::Map )
{
TQVariant v = V.mapFind( "args" ).data();