summaryrefslogtreecommitdiffstats
path: root/kworldwatch/flags.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:14 -0600
commit4d75f93557ba631d97a56e288a34ca27f4507653 (patch)
tree9c6aa673bd4900debf335044852a99b4d9f67133 /kworldwatch/flags.cpp
parent6cdf35ab11c322f33feca5baf090ef56068b6049 (diff)
downloadtdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.tar.gz
tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6cdf35ab11c322f33feca5baf090ef56068b6049.
Diffstat (limited to 'kworldwatch/flags.cpp')
-rw-r--r--kworldwatch/flags.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kworldwatch/flags.cpp b/kworldwatch/flags.cpp
index 0b726a8..6f9837f 100644
--- a/kworldwatch/flags.cpp
+++ b/kworldwatch/flags.cpp
@@ -121,9 +121,9 @@ void FlagList::save(KConfig *config)
int cnt=0;
for ( ; it.current(); ++it)
{
- config->writeEntry(TQString("Flag_%1_Color").arg(cnt), it.current()->color());
- config->writeEntry(TQString("Flag_%1_Latitude").arg(cnt), it.current()->latitude());
- config->writeEntry(TQString("Flag_%1_Longitude").arg(cnt), it.current()->longitude());
+ config->writeEntry(TQString("Flag_%1_Color").tqarg(cnt), it.current()->color());
+ config->writeEntry(TQString("Flag_%1_Latitude").tqarg(cnt), it.current()->latitude());
+ config->writeEntry(TQString("Flag_%1_Longitude").tqarg(cnt), it.current()->longitude());
cnt++;
}
}
@@ -136,9 +136,9 @@ void FlagList::load(KConfig *config)
for (int i=0; i<num; ++i)
{
- addFlag(new Flag(config->readDoubleNumEntry(TQString("Flag_%1_Longitude").arg(i)),
- config->readDoubleNumEntry(TQString("Flag_%1_Latitude").arg(i)),
- config->readColorEntry(TQString("Flag_%1_Color").arg(i))));
+ addFlag(new Flag(config->readDoubleNumEntry(TQString("Flag_%1_Longitude").tqarg(i)),
+ config->readDoubleNumEntry(TQString("Flag_%1_Latitude").tqarg(i)),
+ config->readColorEntry(TQString("Flag_%1_Color").tqarg(i))));
}
}