summaryrefslogtreecommitdiffstats
path: root/libkdepim/kfileio.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/kfileio.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/kfileio.h')
-rw-r--r--libkdepim/kfileio.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/kfileio.h b/libkdepim/kfileio.h
index f6f17a1fa..e3dcc976a 100644
--- a/libkdepim/kfileio.h
+++ b/libkdepim/kfileio.h
@@ -8,8 +8,8 @@
#ifndef kpim_kfileio_h
#define kpim_kfileio_h
-#include <qcstring.h>
-#include <qwidget.h>
+#include <tqcstring.h>
+#include <tqwidget.h>
#include <kdepimmacros.h>
@@ -25,11 +25,11 @@ namespace KPIM {
* byte longer than the file itself.
* If ensureNewline is TRUE the string will always have a trailing newline.
*/
-QCString kFileToString(const QString &fileName, bool ensureNewline=true,
+TQCString kFileToString(const TQString &fileName, bool ensureNewline=true,
bool withDialogs=true) KDE_EXPORT;
// unused
-//QByteArray kFileToBytes(const QString &fileName, bool withDialogs=true);
+//TQByteArray kFileToBytes(const TQString &fileName, bool withDialogs=true);
/** Save a file. If withDialogs is FALSE no warning dialogs are opened if
@@ -38,14 +38,14 @@ QCString kFileToString(const QString &fileName, bool ensureNewline=true,
* Makes a copy if the file exists to filename~ if createBackup==TRUE.
*/
bool kBytesToFile(const char* aBuffer, int len,
- const QString &aFileName,
+ const TQString &aFileName,
bool aAskIfExists, bool aBackup, bool aVerbose) KDE_EXPORT;
-bool kCStringToFile(const QCString& buffer, const QString &fileName,
+bool kCStringToFile(const TQCString& buffer, const TQString &fileName,
bool askIfExists=false, bool createBackup=true,
bool withDialogs=true) KDE_EXPORT;
/** Does not stop at NUL */
-KDE_EXPORT bool kByteArrayToFile(const QByteArray& buffer, const QString &fileName,
+KDE_EXPORT bool kByteArrayToFile(const TQByteArray& buffer, const TQString &fileName,
bool askIfExists=false, bool createBackup=true,
bool withDialogs=true) KDE_EXPORT;
@@ -69,7 +69,7 @@ KDE_EXPORT bool kByteArrayToFile(const QByteArray& buffer, const QString &fileNa
* @return It will return a string with all files and folders which do not
* have the right permissions. If empty, then all permissions are ok.
*/
-QString checkAndCorrectPermissionsIfPossible( const QString &toCheck,
+TQString checkAndCorrectPermissionsIfPossible( const TQString &toCheck,
const bool recursive, const bool wantItReadable,
const bool wantItWritable );
@@ -97,8 +97,8 @@ QString checkAndCorrectPermissionsIfPossible( const QString &toCheck,
* then the permissions are not ok and it was not possible to correct
* all errors.
*/
-bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( QWidget *parent,
- const QString &toCheck, const bool recursive, const bool wantItReadable,
+bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( TQWidget *parent,
+ const TQString &toCheck, const bool recursive, const bool wantItReadable,
const bool wantItWritable );
}