summaryrefslogtreecommitdiffstats
path: root/kmail/attachmentlistview.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/attachmentlistview.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/attachmentlistview.cpp')
-rw-r--r--kmail/attachmentlistview.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/attachmentlistview.cpp b/kmail/attachmentlistview.cpp
index b7c8bdd21..11c53f123 100644
--- a/kmail/attachmentlistview.cpp
+++ b/kmail/attachmentlistview.cpp
@@ -34,12 +34,12 @@ using KPIM::MailListDrag;
#include <kurldrag.h>
// other Qt headers
-#include <qevent.h>
-#include <qcstring.h>
-#include <qbuffer.h>
-#include <qptrlist.h>
-#include <qdatastream.h>
-#include <qstring.h>
+#include <tqevent.h>
+#include <tqcstring.h>
+#include <tqbuffer.h>
+#include <tqptrlist.h>
+#include <tqdatastream.h>
+#include <tqstring.h>
// other headers (none)
@@ -47,7 +47,7 @@ using KPIM::MailListDrag;
namespace KMail {
AttachmentListView::AttachmentListView( KMail::Composer * composer,
- QWidget* parent,
+ TQWidget* parent,
const char* name )
: KListView( parent, name ),
mComposer( composer )
@@ -64,7 +64,7 @@ AttachmentListView::~AttachmentListView()
//-----------------------------------------------------------------------------
-void AttachmentListView::contentsDragEnterEvent( QDragEnterEvent* e )
+void AttachmentListView::contentsDragEnterEvent( TQDragEnterEvent* e )
{
if( e->provides( MailListDrag::format() ) || KURLDrag::canDecode( e ) )
e->accept( true );
@@ -74,7 +74,7 @@ void AttachmentListView::contentsDragEnterEvent( QDragEnterEvent* e )
//-----------------------------------------------------------------------------
-void AttachmentListView::contentsDragMoveEvent( QDragMoveEvent* e )
+void AttachmentListView::contentsDragMoveEvent( TQDragMoveEvent* e )
{
if( e->provides( MailListDrag::format() ) || KURLDrag::canDecode( e ) )
e->accept( true );
@@ -84,19 +84,19 @@ void AttachmentListView::contentsDragMoveEvent( QDragMoveEvent* e )
//-----------------------------------------------------------------------------
-void AttachmentListView::contentsDropEvent( QDropEvent* e )
+void AttachmentListView::contentsDropEvent( TQDropEvent* e )
{
if( e->provides( MailListDrag::format() ) ) {
// Decode the list of serial numbers stored as the drag data
- QByteArray serNums;
+ TQByteArray serNums;
MailListDrag::decode( e, serNums );
- QBuffer serNumBuffer( serNums );
+ TQBuffer serNumBuffer( serNums );
serNumBuffer.open( IO_ReadOnly );
- QDataStream serNumStream( &serNumBuffer );
+ TQDataStream serNumStream( &serNumBuffer );
Q_UINT32 serNum;
KMFolder *folder = 0;
int idx;
- QPtrList<KMMsgBase> messageList;
+ TQPtrList<KMMsgBase> messageList;
while( !serNumStream.atEnd() ) {
KMMsgBase *msgBase = 0;
serNumStream >> serNum;
@@ -128,7 +128,7 @@ void AttachmentListView::contentsDropEvent( QDropEvent* e )
//-----------------------------------------------------------------------------
-void AttachmentListView::keyPressEvent( QKeyEvent * e )
+void AttachmentListView::keyPressEvent( TQKeyEvent * e )
{
if ( e->key() == Key_Delete ) {
emit attachmentDeleted();