summaryrefslogtreecommitdiffstats
path: root/libkdepim/kfileio.h
diff options
context:
space:
mode:
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 f6f17a1f..e3dcc976 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 );
}