summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/spotlight2kvtml.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /kvoctrain/kvoctrain/spotlight2kvtml.cpp
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
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);
}