summaryrefslogtreecommitdiffstats
path: root/src/common/cli/cli_pfile.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/common/cli/cli_pfile.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/common/cli/cli_pfile.cpp')
-rw-r--r--src/common/cli/cli_pfile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/cli/cli_pfile.cpp b/src/common/cli/cli_pfile.cpp
index 96add3a..e984e52 100644
--- a/src/common/cli/cli_pfile.cpp
+++ b/src/common/cli/cli_pfile.cpp
@@ -8,7 +8,7 @@
***************************************************************************/
#include "common/global/pfile.h"
-#include <qfile.h>
+#include <tqfile.h>
//-----------------------------------------------------------------------------
bool PURL::File::openForWrite()
@@ -17,7 +17,7 @@ bool PURL::File::openForWrite()
_file->setName(url().filepath());
if ( !_file->open(IO_WriteOnly) ) {
_error = i18n("Could not open file for writing.");
- _log.sorry(_error, i18n("File: %1").arg(_file->name()));
+ _log.sorry(_error, i18n("File: %1").tqarg(_file->name()));
return false;
}
return true;
@@ -35,7 +35,7 @@ bool PURL::File::openForRead()
_file->setName(_url.filepath());
if ( !_file->open(IO_ReadOnly) ) {
_error = i18n("Could not open file for reading.");
- _log.sorry(_error, i18n("File: %1").arg(_file->name()));
+ _log.sorry(_error, i18n("File: %1").tqarg(_file->name()));
return false;
}
return true;