summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolder.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/kmfolder.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kmail/kmfolder.cpp')
-rw-r--r--kmail/kmfolder.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmfolder.cpp b/kmail/kmfolder.cpp
index 1f7407780..df8b4daf1 100644
--- a/kmail/kmfolder.cpp
+++ b/kmail/kmfolder.cpp
@@ -80,7 +80,7 @@ KMFolder::KMFolder( KMFolderDir* aParent, const TQString& aFolderName,
dirinfo.setFile( mStorage->location() );
if ( !dirinfo.exists() ) {
int rc = mStorage->create();
- TQString msg = i18n("<qt>Error while creating file <b>%1</b>:<br>%2</qt>").arg(aFolderName).arg(strerror(rc));
+ TQString msg = i18n("<qt>Error while creating file <b>%1</b>:<br>%2</qt>").tqarg(aFolderName).tqarg(strerror(rc));
if ( rc ) {
KMessageBox::information(0, msg);
}
@@ -272,7 +272,7 @@ KMFolderDir* KMFolder::createChildFolder()
{
if (mkdir(TQFile::encodeName(childDir), S_IRWXU) != 0
&& chmod(TQFile::encodeName(childDir), S_IRWXU) != 0) {
- TQString wmsg = TQString(" '%1': %2").arg(childDir).arg(strerror(errno));
+ TQString wmsg = TQString(" '%1': %2").tqarg(childDir).tqarg(strerror(errno));
KMessageBox::information(0,i18n("Failed to create folder") + wmsg);
return 0;
}
@@ -470,10 +470,10 @@ int KMFolder::countUnreadRecursive()
return count;
}
-void KMFolder::msgStatusChanged( const KMMsgStatus oldStatus,
- const KMMsgStatus newStatus, int idx )
+void KMFolder::msgStatusChanged( const KMMsgtqStatus oldtqStatus,
+ const KMMsgtqStatus newtqStatus, int idx )
{
- mStorage->msgStatusChanged( oldStatus, newStatus, idx );
+ mStorage->msgStatusChanged( oldtqStatus, newtqStatus, idx );
}
int KMFolder::open(const char *owner)
@@ -828,15 +828,15 @@ int KMFolder::writeIndex( bool createEmptyIndex )
return mStorage->writeIndex( createEmptyIndex );
}
-void KMFolder::seStatus( int idx, KMMsgStatus status, bool toggle )
+void KMFolder::setqStatus( int idx, KMMsgtqStatus status, bool toggle )
{
- mStorage->seStatus( idx, status, toggle );
+ mStorage->setqStatus( idx, status, toggle );
}
-void KMFolder::seStatus( TQValueList<int>& ids, KMMsgStatus status,
+void KMFolder::setqStatus( TQValueList<int>& ids, KMMsgtqStatus status,
bool toggle )
{
- mStorage->seStatus( ids, status, toggle);
+ mStorage->setqStatus( ids, status, toggle);
}
void KMFolder::setIconPaths( const TQString &normalPath,
@@ -929,7 +929,7 @@ bool KMFolder::isValidName( const TQString &folderName, TQString &message )
}
}
if ( !delimiter.isEmpty() && folderName.find( delimiter ) != -1 ) {
- message = i18n( "Your IMAP server does not allow the character '%1'; please choose another folder name." ).arg( delimiter );
+ message = i18n( "Your IMAP server does not allow the character '%1'; please choose another folder name." ).tqarg( delimiter );
return false;
}
}