summaryrefslogtreecommitdiffstats
path: root/kmail/scalix.cpp
diff options
context:
space:
mode:
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";