From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdepim/kfileio.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libkdepim/kfileio.cpp') diff --git a/libkdepim/kfileio.cpp b/libkdepim/kfileio.cpp index 6a7eea7c3..913ee2cc1 100644 --- a/libkdepim/kfileio.cpp +++ b/libkdepim/kfileio.cpp @@ -190,7 +190,7 @@ KDE_EXPORT bool kBytesToFile(const char* aBuffer, int len, if (aAskIfExists) { TQString str; - str = i18n("File %1 exists.\nDo you want to tqreplace it?") + str = i18n("File %1 exists.\nDo you want to replace it?") .arg(aFileName); rc = KMessageBox::warningContinueCancel(0, str, i18n("Save to File"), i18n("&Replace")); @@ -348,8 +348,8 @@ TQString checkAndCorrectPermissionsIfPossible( const TQString &toCheck, if ( !g.isReadable() ){ error.append(i18n("Folder %1 is inaccessible.").arg(toCheck) + "\n"); } else { - const QFileInfoList *list = g.entryInfoList(); - QFileInfoListIterator it( *list ); + const TQFileInfoList *list = g.entryInfoList(); + TQFileInfoListIterator it( *list ); TQFileInfo *fi; while ((fi = it.current()) != 0) { TQString newToCheck = toCheck + "/" + fi->fileName(); @@ -365,7 +365,7 @@ TQString checkAndCorrectPermissionsIfPossible( const TQString &toCheck, return error; } -bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( TQWidget *parent, +bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( TQWidget *tqparent, const TQString &toCheck, const bool recursive, const bool wantItReadable, const bool wantItWritable ) { @@ -376,7 +376,7 @@ bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( TQWidget *parent, // it is just a warning. if ( !error.isEmpty() ) { kdDebug() << "checkPermissions found:" << error << endl; - KMessageBox::detailedSorry(parent, + KMessageBox::detailedSorry(tqparent, i18n("Some files or folders do not have " "the right permissions, please correct them " "manually."), -- cgit v1.2.1