diff options
Diffstat (limited to 'kdeprint/lpr/printcapreader.cpp')
-rw-r--r-- | kdeprint/lpr/printcapreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/lpr/printcapreader.cpp b/kdeprint/lpr/printcapreader.cpp index 7abd094f9..4a5ce5ea7 100644 --- a/kdeprint/lpr/printcapreader.cpp +++ b/kdeprint/lpr/printcapreader.cpp @@ -27,7 +27,7 @@ void PrintcapReader::setPrintcapFile(TQFile *f) { if (f->isOpen()) { - m_stream.setDevice(f); + m_stream.setDevice(TQT_TQIODEVICE(f)); m_buffer = TQString::null; } } @@ -56,7 +56,7 @@ void PrintcapReader::unputLine(const TQString& s) PrintcapEntry* PrintcapReader::nextEntry() { - if (!m_stream.device()) + if (!m_stream.tqdevice()) return NULL; TQString line, comment, name, fields, buf; |