summaryrefslogtreecommitdiffstats
path: root/libkdepim/maillistdrag.cpp
diff options
context:
space:
mode:
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);