summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/spotlight2kvtml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/spotlight2kvtml.cpp')
-rw-r--r--kvoctrain/kvoctrain/spotlight2kvtml.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kvoctrain/kvoctrain/spotlight2kvtml.cpp b/kvoctrain/kvoctrain/spotlight2kvtml.cpp
index fa407605..1f722230 100644
--- a/kvoctrain/kvoctrain/spotlight2kvtml.cpp
+++ b/kvoctrain/kvoctrain/spotlight2kvtml.cpp
@@ -92,7 +92,7 @@ void readToMem (TQTextStream &is, TQString month, TQString year)
spotty spot;
bool first_line = true;
- while (!is.eof() && is.tqdevice()->status() == IO_Ok) {
+ while (!is.eof() && is.device()->status() == IO_Ok) {
line = is.readLine();
int pos;
@@ -289,7 +289,7 @@ void writeToKvtml(TQTextStream &os, TQString month, TQString year)
writeSpotty (os, spottys[0], true);
int l = 1;
- while (os.tqdevice()->status() == IO_Ok && l < (int) spottys.size() ) {
+ while (os.device()->status() == IO_Ok && l < (int) spottys.size() ) {
writeSpotty (os, spottys[l], false);
l++;
}
@@ -327,7 +327,7 @@ int main(int argc, char **argv)
readToMem (is, argv[2], argv[3]);
fs.close();
- if (is.tqdevice()->status() != IO_Ok ) {
+ if (is.device()->status() != IO_Ok ) {
cerr << i18n("Could not read ").local8Bit().data() << spot.local8Bit().data() << endl;
exit (1);
}
@@ -338,7 +338,7 @@ int main(int argc, char **argv)
writeToKvtml(os, argv[2], argv[3]);
fk.close();
- if (os.tqdevice()->status() != IO_Ok ) {
+ if (os.device()->status() != IO_Ok ) {
cerr << i18n("Could not write ").local8Bit().data() << kvtml.local8Bit().data() << endl;
exit (1);
}