diff options
Diffstat (limited to 'kioslave/mac')
-rw-r--r-- | kioslave/mac/kio_mac.cpp | 8 | ||||
-rw-r--r-- | kioslave/mac/kio_mac.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/mac/kio_mac.cpp b/kioslave/mac/kio_mac.cpp index e64d22d65..245af6fcf 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 currentDate(TQDate::currentDate()); + TQDate tqcurrentDate(TQDate::currentDate()); - if (month > currentDate.month()) { - year = currentDate.year() - 1; + if (month > tqcurrentDate.month()) { + year = tqcurrentDate.year() - 1; } else { - year = currentDate.year(); + year = tqcurrentDate.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 cf7ecd1bb..7f74dfca7 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 <textstream.h> +#include <tqtextstream.h> class MacProtocol : public TQObject, public KIO::SlaveBase { |