diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
commit | a51cd9949c4e6c726a84a61de3cfadd30cefb5c7 (patch) | |
tree | a65321bcfdb90583bcc7ef3a90fa357f6632e54c /tdeprint/lpr | |
parent | 984c25aa6969e55896e9a13c8e7f7b8a58991a4e (diff) | |
download | tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.tar.gz tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'tdeprint/lpr')
-rw-r--r-- | tdeprint/lpr/lpchelper.cpp | 8 | ||||
-rw-r--r-- | tdeprint/lpr/lpchelper.h | 4 | ||||
-rw-r--r-- | tdeprint/lpr/printcapreader.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/tdeprint/lpr/lpchelper.cpp b/tdeprint/lpr/lpchelper.cpp index c921a803c..05d09c40a 100644 --- a/tdeprint/lpr/lpchelper.cpp +++ b/tdeprint/lpr/lpchelper.cpp @@ -72,7 +72,7 @@ KMPrinter::PrinterState LpcHelper::state(KMPrinter *prt) const return state(prt->printerName()); } -void LpcHelper::parseStatusLPR(TQTextStream &t) +void LpcHelper::parsetStatusLPR(TQTextStream &t) { TQString printer, line; int p(-1); @@ -107,7 +107,7 @@ void LpcHelper::parseStatusLPR(TQTextStream &t) } } -void LpcHelper::parseStatusLPRng(TQTextStream& t) +void LpcHelper::parsetStatusLPRng(TQTextStream& t) { TQStringList l; int p(-1); @@ -152,10 +152,10 @@ void LpcHelper::updateStates() { default: case LprSettings::LPR: - parseStatusLPR(t); + parsetStatusLPR(t); break; case LprSettings::LPRng: - parseStatusLPRng(t); + parsetStatusLPRng(t); break; } proc.close(); diff --git a/tdeprint/lpr/lpchelper.h b/tdeprint/lpr/lpchelper.h index b1e20f089..24aec6bda 100644 --- a/tdeprint/lpr/lpchelper.h +++ b/tdeprint/lpr/lpchelper.h @@ -46,8 +46,8 @@ public: protected: bool changeState(const TQString&, const TQString&, TQString&); - void parseStatusLPR(TQTextStream&); - void parseStatusLPRng(TQTextStream&); + void parsetStatusLPR(TQTextStream&); + void parsetStatusLPRng(TQTextStream&); int parseStateChangeLPR(const TQString&, const TQString&); int parseStateChangeLPRng(const TQString&, const TQString&); diff --git a/tdeprint/lpr/printcapreader.cpp b/tdeprint/lpr/printcapreader.cpp index 00016c14f..718ffca21 100644 --- a/tdeprint/lpr/printcapreader.cpp +++ b/tdeprint/lpr/printcapreader.cpp @@ -56,7 +56,7 @@ void PrintcapReader::unputLine(const TQString& s) PrintcapEntry* PrintcapReader::nextEntry() { - if (!m_stream.tqdevice()) + if (!m_stream.device()) return NULL; TQString line, comment, name, fields, buf; |