summaryrefslogtreecommitdiffstats
path: root/libkdepim/maillistdrag.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /libkdepim/maillistdrag.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/maillistdrag.cpp')
-rw-r--r--libkdepim/maillistdrag.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdepim/maillistdrag.cpp b/libkdepim/maillistdrag.cpp
index 434ef5ecc..4f4a79bcc 100644
--- a/libkdepim/maillistdrag.cpp
+++ b/libkdepim/maillistdrag.cpp
@@ -30,14 +30,14 @@
using namespace KPIM;
-MailSummary::MailSummary( Q_UINT32 serialNumber, TQString messageId,
+MailSummary::MailSummary( TQ_UINT32 serialNumber, TQString messageId,
TQString subject, TQString from, TQString to,
time_t date )
: mSerialNumber( serialNumber ), mMessageId( messageId ),
mSubject( subject ), mFrom( from ), mTo( to ), mDate( date )
{}
-Q_UINT32 MailSummary::serialNumber() const
+TQ_UINT32 MailSummary::serialNumber() const
{
return mSerialNumber;
}
@@ -67,7 +67,7 @@ time_t MailSummary::date()
return mDate;
}
-void MailSummary::set( Q_UINT32 serialNumber, TQString messageId,
+void MailSummary::set( TQ_UINT32 serialNumber, TQString messageId,
TQString subject, TQString from, TQString to, time_t date )
{
mSerialNumber = serialNumber;
@@ -114,7 +114,7 @@ TQDataStream& operator<< ( TQDataStream &s, MailSummary &d )
TQDataStream& operator>> ( TQDataStream &s, MailSummary &d )
{
- Q_UINT32 serialNumber;
+ TQ_UINT32 serialNumber;
TQString messageId, subject, from, to;
time_t date;
s >> serialNumber;
@@ -150,7 +150,7 @@ TQDataStream& operator>> ( TQDataStream &s, MailList &mailList )
bool MailListDrag::decode( TQDropEvent* e, MailList& mailList )
{
- TQByteArray payload = e->encodedData( MailListDrag::format() );
+ TQByteArray payload = e->tqencodedData( MailListDrag::format() );
TQDataStream buffer( payload, IO_ReadOnly );
if ( payload.size() ) {
e->accept();
@@ -221,16 +221,16 @@ bool MailListDrag::provides(const char *mimeType) const
return TQStoredDrag::provides(mimeType);
}
-TQByteArray MailListDrag::encodedData(const char *mimeType) const
+TQByteArray MailListDrag::tqencodedData(const char *mimeType) const
{
if (TQCString(mimeType) != "message/rfc822") {
- return TQStoredDrag::encodedData(mimeType);
+ return TQStoredDrag::tqencodedData(mimeType);
}
TQByteArray rc;
if (_src) {
MailList ml;
- TQByteArray enc = TQStoredDrag::encodedData(format());
+ TQByteArray enc = TQStoredDrag::tqencodedData(format());
decode(enc, ml);
KProgressDialog *dlg = new KProgressDialog(0, 0, TQString::null, i18n("Retrieving and storing messages..."), true);