From 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 00:15:53 +0000 Subject: 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 --- src/piklab-prog/cli_purl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/piklab-prog/cli_purl.cpp') 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 -#include +#include +#include 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()