diff options
Diffstat (limited to 'kmail/kmmimeparttree.cpp')
-rw-r--r-- | kmail/kmmimeparttree.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kmail/kmmimeparttree.cpp b/kmail/kmmimeparttree.cpp index 779fffd47..91d8592fe 100644 --- a/kmail/kmmimeparttree.cpp +++ b/kmail/kmmimeparttree.cpp @@ -68,11 +68,11 @@ KMMimePartTree::KMMimePartTree( KMReaderWin* readerWin, setColumnAlignment( 3, TQt::AlignRight ); restoreLayoutIfPresent(); - connect( this, TQT_SIGNAL( clicked( TQListViewItem* ) ), - this, TQT_SLOT( itemClicked( TQListViewItem* ) ) ); - connect( this, TQT_SIGNAL( contextMenuRequested( TQListViewItem*, + connect( this, TQ_SIGNAL( clicked( TQListViewItem* ) ), + this, TQ_SLOT( itemClicked( TQListViewItem* ) ) ); + connect( this, TQ_SIGNAL( contextMenuRequested( TQListViewItem*, const TQPoint&, int ) ), - this, TQT_SLOT( itemRightClicked( TQListViewItem*, const TQPoint& ) ) ); + this, TQ_SLOT( itemRightClicked( TQListViewItem*, const TQPoint& ) ) ); setSelectionMode( TQListView::Extended ); setRootIsDecorated( false ); setAllColumnsShowFocus( true ); @@ -132,31 +132,31 @@ void KMMimePartTree::itemRightClicked( TQListViewItem* item, TQPopupMenu* popup = new TQPopupMenu; if ( mCurrentContextMenuItem->node()->nodeId() > 2 && mCurrentContextMenuItem->node()->typeString() != "Multipart" ) { - popup->insertItem( SmallIcon("document-open"), i18n("to open", "Open"), this, TQT_SLOT(slotOpen()) ); - popup->insertItem( i18n("Open With..."), this, TQT_SLOT(slotOpenWith()) ); - popup->insertItem( i18n("to view something", "View"), this, TQT_SLOT(slotView()) ); + popup->insertItem( SmallIcon("document-open"), i18n("to open", "Open"), this, TQ_SLOT(slotOpen()) ); + popup->insertItem( i18n("Open With..."), this, TQ_SLOT(slotOpenWith()) ); + popup->insertItem( i18n("to view something", "View"), this, TQ_SLOT(slotView()) ); } - popup->insertItem( SmallIcon("document-save-as"),i18n( "Save &As..." ), this, TQT_SLOT( slotSaveAs() ) ); + popup->insertItem( SmallIcon("document-save-as"),i18n( "Save &As..." ), this, TQ_SLOT( slotSaveAs() ) ); /* * FIXME mkae optional? popup->insertItem( i18n( "Save as &Encoded..." ), this, - TQT_SLOT( slotSaveAsEncoded() ) ); + TQ_SLOT( slotSaveAsEncoded() ) ); */ popup->insertItem( i18n( "Save All Attachments..." ), this, - TQT_SLOT( slotSaveAll() ) ); + TQ_SLOT( slotSaveAll() ) ); // edit + delete only for attachments if ( mCurrentContextMenuItem->node()->nodeId() > 2 && mCurrentContextMenuItem->node()->typeString() != "Multipart" ) { - popup->insertItem( SmallIcon("edit-copy"), i18n("Copy"), this, TQT_SLOT(slotCopy()) ); + popup->insertItem( SmallIcon("edit-copy"), i18n("Copy"), this, TQ_SLOT(slotCopy()) ); if ( GlobalSettings::self()->allowAttachmentDeletion() ) popup->insertItem( SmallIcon("edit-delete"), i18n( "Delete Attachment" ), - this, TQT_SLOT( slotDelete() ) ); + this, TQ_SLOT( slotDelete() ) ); if ( GlobalSettings::self()->allowAttachmentEditing() ) popup->insertItem( SmallIcon( "edit" ), i18n( "Edit Attachment" ), - this, TQT_SLOT( slotEdit() ) ); + this, TQ_SLOT( slotEdit() ) ); } if ( mCurrentContextMenuItem->node()->nodeId() > 0 ) - popup->insertItem( i18n("Properties"), this, TQT_SLOT(slotProperties()) ); + popup->insertItem( i18n("Properties"), this, TQ_SLOT(slotProperties()) ); popup->exec( point ); delete popup; mCurrentContextMenuItem = 0; @@ -295,8 +295,8 @@ void KMMimePartTree::startHandleAttachmentCommand(int type) KMHandleAttachmentCommand* command = new KMHandleAttachmentCommand( node, mReaderWin->message(), node->nodeId(), name, KMHandleAttachmentCommand::AttachmentAction( type ), 0, this ); - connect( command, TQT_SIGNAL( showAttachment( int, const TQString& ) ), - mReaderWin, TQT_SLOT( slotAtmView( int, const TQString& ) ) ); + connect( command, TQ_SIGNAL( showAttachment( int, const TQString& ) ), + mReaderWin, TQ_SLOT( slotAtmView( int, const TQString& ) ) ); command->start(); } |