summaryrefslogtreecommitdiffstats
path: root/kmail/kmacctmaildir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmacctmaildir.cpp')
-rw-r--r--kmail/kmacctmaildir.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/kmacctmaildir.cpp b/kmail/kmacctmaildir.cpp
index 0b62c6cb3..b3c5d31c7 100644
--- a/kmail/kmacctmaildir.cpp
+++ b/kmail/kmacctmaildir.cpp
@@ -4,7 +4,7 @@
#include <config.h>
#endif
-#include <qfileinfo.h>
+#include <tqfileinfo.h>
#include "kmacctmaildir.h"
#include "kmfoldermaildir.h"
#include "kmacctfolder.h"
@@ -19,7 +19,7 @@ using KPIM::ProgressManager;
#include <kdebug.h>
#include <kconfig.h>
-#include <qstylesheet.h>
+#include <tqstylesheet.h>
#include <stdlib.h>
#include <stdio.h>
@@ -33,7 +33,7 @@ using KPIM::ProgressManager;
#undef None
//-----------------------------------------------------------------------------
-KMAcctMaildir::KMAcctMaildir(AccountManager* aOwner, const QString& aAccountName, uint id):
+KMAcctMaildir::KMAcctMaildir(AccountManager* aOwner, const TQString& aAccountName, uint id):
KMAccount(aOwner, aAccountName, id)
{
}
@@ -47,7 +47,7 @@ KMAcctMaildir::~KMAcctMaildir()
//-----------------------------------------------------------------------------
-QString KMAcctMaildir::type(void) const
+TQString KMAcctMaildir::type(void) const
{
return "maildir";
}
@@ -79,11 +79,11 @@ void KMAcctMaildir::pseudoAssign( const KMAccount * a )
//-----------------------------------------------------------------------------
void KMAcctMaildir::processNewMail(bool)
{
- QTime t;
+ TQTime t;
hasNewMail = false;
if ( precommand().isEmpty() ) {
- QFileInfo fi( location() );
+ TQFileInfo fi( location() );
if ( !fi.exists() ) {
checkDone( hasNewMail, CheckOK );
BroadcastStatus::instance()->setStatusMsgTransmissionCompleted( mName, 0 );
@@ -110,7 +110,7 @@ void KMAcctMaildir::processNewMail(bool)
i18n("Preparing transmission from \"%1\"...").arg(mName));
Q_ASSERT( !mMailCheckProgressItem );
- QString escapedName = QStyleSheet::escape( mName );
+ TQString escapedName = TQStyleSheet::escape( mName );
mMailCheckProgressItem = KPIM::ProgressManager::createProgressItem(
"MailCheck" + mName,
escapedName,
@@ -130,7 +130,7 @@ void KMAcctMaildir::processNewMail(bool)
rc = mailFolder.open("acctmaildirMail");
if (rc)
{
- QString aStr = i18n("<qt>Cannot open folder <b>%1</b>.</qt>").arg( mailFolder.location() );
+ TQString aStr = i18n("<qt>Cannot open folder <b>%1</b>.</qt>").arg( mailFolder.location() );
KMessageBox::sorry(0, aStr);
kdDebug(5006) << "cannot open folder " << mailFolder.location() << endl;
checkDone( hasNewMail, CheckError );
@@ -147,7 +147,7 @@ void KMAcctMaildir::processNewMail(bool)
t.start();
// prepare the static parts of the status message:
- QString statusMsgStub = i18n("Moving message %3 of %2 from %1.")
+ TQString statusMsgStub = i18n("Moving message %3 of %2 from %1.")
.arg(mailFolder.location()).arg(num);
mMailCheckProgressItem->setTotalItems( num );
@@ -162,7 +162,7 @@ void KMAcctMaildir::processNewMail(bool)
}
if (!addedOk) break;
- QString statusMsg = statusMsgStub.arg(i);
+ TQString statusMsg = statusMsgStub.arg(i);
mMailCheckProgressItem->incCompletedItems();
mMailCheckProgressItem->updateProgress();
mMailCheckProgressItem->setStatus( statusMsg );
@@ -228,7 +228,7 @@ void KMAcctMaildir::writeConfig(KConfig& config)
}
//-----------------------------------------------------------------------------
-void KMAcctMaildir::setLocation(const QString& aLocation)
+void KMAcctMaildir::setLocation(const TQString& aLocation)
{
mLocation = aLocation;
}