summaryrefslogtreecommitdiffstats
path: root/kioslave/mac
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/mac')
-rw-r--r--kioslave/mac/kio_mac.cpp8
-rw-r--r--kioslave/mac/kio_mac.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/mac/kio_mac.cpp b/kioslave/mac/kio_mac.cpp
index 245af6fcf..e64d22d65 100644
--- a/kioslave/mac/kio_mac.cpp
+++ b/kioslave/mac/kio_mac.cpp
@@ -455,12 +455,12 @@ int MacProtocol::makeTime(TQString mday, TQString mon, TQString third) {
// otherwise it only prints the year
TQRegExp hourMin("(..):(..)");
if (hourMin.exactMatch(third)) {
- TQDate tqcurrentDate(TQDate::currentDate());
+ TQDate currentDate(TQDate::currentDate());
- if (month > tqcurrentDate.month()) {
- year = tqcurrentDate.year() - 1;
+ if (month > currentDate.month()) {
+ year = currentDate.year() - 1;
} else {
- year = tqcurrentDate.year();
+ year = currentDate.year();
}
TQString h(hourMin.cap(1));
TQString m(hourMin.cap(2));
diff --git a/kioslave/mac/kio_mac.h b/kioslave/mac/kio_mac.h
index 7f74dfca7..cf7ecd1bb 100644
--- a/kioslave/mac/kio_mac.h
+++ b/kioslave/mac/kio_mac.h
@@ -24,7 +24,7 @@
#include <tqstring.h>
#include <tqcstring.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
class MacProtocol : public TQObject, public KIO::SlaveBase
{