summaryrefslogtreecommitdiffstats
path: root/kmail/scalix.cpp
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 /kmail/scalix.cpp
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 'kmail/scalix.cpp')
-rw-r--r--kmail/scalix.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/scalix.cpp b/kmail/scalix.cpp
index aef77ff8b..4910119d0 100644
--- a/kmail/scalix.cpp
+++ b/kmail/scalix.cpp
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qmap.h>
-#include <qstringlist.h>
+#include <tqmap.h>
+#include <tqstringlist.h>
#include "scalix.h"
@@ -28,9 +28,9 @@
using namespace Scalix;
-FolderAttributeParser::FolderAttributeParser( const QString &attribute )
+FolderAttributeParser::FolderAttributeParser( const TQString &attribute )
{
- QStringList parts = QStringList::split( ",", attribute, false );
+ TQStringList parts = TQStringList::split( ",", attribute, false );
for ( uint i = 0; i < parts.count(); ++i ) {
if ( parts[i].startsWith( "\\X-SpecialFolder=" ) )
@@ -40,21 +40,21 @@ FolderAttributeParser::FolderAttributeParser( const QString &attribute )
}
}
-QString FolderAttributeParser::folderClass() const
+TQString FolderAttributeParser::folderClass() const
{
return mFolderClass;
}
-QString FolderAttributeParser::folderName() const
+TQString FolderAttributeParser::folderName() const
{
return mFolderName;
}
KMFolder* Utils::findStandardResourceFolder( KMFolderDir* folderParentDir,
KMail::FolderContentsType contentsType,
- const QStringList &attributes )
+ const TQStringList &attributes )
{
- QMap<int, QString> typeMap;
+ TQMap<int, TQString> typeMap;
typeMap.insert( KMail::ContentsTypeCalendar, "IPF.Appointment" );
typeMap.insert( KMail::ContentsTypeContact, "IPF.Contact" );
typeMap.insert( KMail::ContentsTypeNote, "IPF.StickyNote" );
@@ -75,7 +75,7 @@ KMFolder* Utils::findStandardResourceFolder( KMFolderDir* folderParentDir,
return 0;
}
-KMail::FolderContentsType Utils::scalixIdToContentsType( const QString &name )
+KMail::FolderContentsType Utils::scalixIdToContentsType( const TQString &name )
{
if ( name == "IPF.Appointment" )
return KMail::ContentsTypeCalendar;
@@ -89,7 +89,7 @@ KMail::FolderContentsType Utils::scalixIdToContentsType( const QString &name )
return KMail::ContentsTypeMail;
}
-QString Utils::contentsTypeToScalixId( KMail::FolderContentsType type )
+TQString Utils::contentsTypeToScalixId( KMail::FolderContentsType type )
{
if ( type == KMail::ContentsTypeCalendar )
return "IPF.Appointment";