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