summaryrefslogtreecommitdiffstats
path: root/kdeprint/kmprinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/kmprinter.cpp')
-rw-r--r--kdeprint/kmprinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/kmprinter.cpp b/kdeprint/kmprinter.cpp
index f08cf4109..5749a47c5 100644
--- a/kdeprint/kmprinter.cpp
+++ b/kdeprint/kmprinter.cpp
@@ -165,7 +165,7 @@ bool KMPrinter::autoConfigure(KPrinter *printer, TQWidget *parent)
fName = ( printer->docName() + "." + ext );
else
{
- int p = fName.tqfindRev( '.' );
+ int p = fName.findRev( '.' );
if ( p == -1 )
fName.append( "." ).append( ext );
else
@@ -216,7 +216,7 @@ bool KMPrinter::autoConfigure(KPrinter *printer, TQWidget *parent)
TQString KMPrinter::deviceProtocol() const
{
- int p = m_device.tqfind( ':' );
+ int p = m_device.find( ':' );
if ( p != -1 )
return m_device.left( p );
else