summaryrefslogtreecommitdiffstats
path: root/src/piklab-prog/cli_purl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/piklab-prog/cli_purl.cpp
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/piklab-prog/cli_purl.cpp')
-rw-r--r--src/piklab-prog/cli_purl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/piklab-prog/cli_purl.cpp b/src/piklab-prog/cli_purl.cpp
index 2cd38a5..954e00c 100644
--- a/src/piklab-prog/cli_purl.cpp
+++ b/src/piklab-prog/cli_purl.cpp
@@ -8,12 +8,12 @@
***************************************************************************/
#include "common/global/purl.h"
-#include <qfileinfo.h>
-#include <qdatetime.h>
+#include <tqfileinfo.h>
+#include <tqdatetime.h>
bool PURL::Base::probablyExists() const
{
- QFileInfo fi(_url.path());
+ TQFileInfo fi(_url.path());
return fi.exists();
}
@@ -21,9 +21,9 @@ bool PURL::Url::isDestinationUpToDate(FileType type) const
{
if ( !(data().properties & Source) ) return true;
Url dest = toFileType(type);
- QFileInfo sfi(_url.path());
+ TQFileInfo sfi(_url.path());
if ( !sfi.exists() ) return true; // source does not exists
- QFileInfo dfi(dest._url.path());
+ TQFileInfo dfi(dest._url.path());
if ( !dfi.exists() ) return false; // destination does not exists
return sfi.lastModified()<dfi.lastModified();
}