summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/recipientseditor.cpp')
-rw-r--r--kmail/recipientseditor.cpp98
1 files changed, 49 insertions, 49 deletions
diff --git a/kmail/recipientseditor.cpp b/kmail/recipientseditor.cpp
index 7497a460..4525bb97 100644
--- a/kmail/recipientseditor.cpp
+++ b/kmail/recipientseditor.cpp
@@ -162,24 +162,24 @@ RecipientLine::RecipientLine( TQWidget *parent )
TQToolTip::add( mEdit,
i18n( "Set the list of email addresses to receive this message" ) );
topLayout->addWidget( mEdit );
- connect( mEdit, TQT_SIGNAL( returnPressed() ), TQT_SLOT( slotReturnPressed() ) );
- connect( mEdit, TQT_SIGNAL( deleteMe() ), TQT_SLOT( slotPropagateDeletion() ) );
- connect( mEdit, TQT_SIGNAL( textChanged( const TQString & ) ),
- TQT_SLOT( analyzeLine( const TQString & ) ) );
- connect( mEdit, TQT_SIGNAL( focusUp() ), TQT_SLOT( slotFocusUp() ) );
- connect( mEdit, TQT_SIGNAL( focusDown() ), TQT_SLOT( slotFocusDown() ) );
- connect( mEdit, TQT_SIGNAL( rightPressed() ), TQT_SIGNAL( rightPressed() ) );
+ connect( mEdit, TQ_SIGNAL( returnPressed() ), TQ_SLOT( slotReturnPressed() ) );
+ connect( mEdit, TQ_SIGNAL( deleteMe() ), TQ_SLOT( slotPropagateDeletion() ) );
+ connect( mEdit, TQ_SIGNAL( textChanged( const TQString & ) ),
+ TQ_SLOT( analyzeLine( const TQString & ) ) );
+ connect( mEdit, TQ_SIGNAL( focusUp() ), TQ_SLOT( slotFocusUp() ) );
+ connect( mEdit, TQ_SIGNAL( focusDown() ), TQ_SLOT( slotFocusDown() ) );
+ connect( mEdit, TQ_SIGNAL( rightPressed() ), TQ_SIGNAL( rightPressed() ) );
- connect( mEdit, TQT_SIGNAL( leftPressed() ), mCombo, TQT_SLOT( setFocus() ) );
- connect( mCombo, TQT_SIGNAL( rightPressed() ), mEdit, TQT_SLOT( setFocus() ) );
+ connect( mEdit, TQ_SIGNAL( leftPressed() ), mCombo, TQ_SLOT( setFocus() ) );
+ connect( mCombo, TQ_SIGNAL( rightPressed() ), mEdit, TQ_SLOT( setFocus() ) );
- connect( mCombo, TQT_SIGNAL( activated ( int ) ),
- this, TQT_SLOT( slotTypeModified() ) );
+ connect( mCombo, TQ_SIGNAL( activated ( int ) ),
+ this, TQ_SLOT( slotTypeModified() ) );
mRemoveButton = new TQPushButton( this );
mRemoveButton->setIconSet( TDEApplication::reverseLayout() ? SmallIconSet("locationbar_erase") : SmallIconSet( "clear_left" ) );
topLayout->addWidget( mRemoveButton );
- connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotPropagateDeletion() ) );
+ connect( mRemoveButton, TQ_SIGNAL( clicked() ), TQ_SLOT( slotPropagateDeletion() ) );
TQToolTip::add( mRemoveButton, i18n("Remove recipient line") );
}
@@ -357,20 +357,20 @@ RecipientLine *RecipientsView::addLine()
addChild( line, 0, mLines.count() * mLineHeight );
line->mEdit->setCompletionMode( mCompletionMode );
line->show();
- connect( line, TQT_SIGNAL( returnPressed( RecipientLine * ) ),
- TQT_SLOT( slotReturnPressed( RecipientLine * ) ) );
- connect( line, TQT_SIGNAL( upPressed( RecipientLine * ) ),
- TQT_SLOT( slotUpPressed( RecipientLine * ) ) );
- connect( line, TQT_SIGNAL( downPressed( RecipientLine * ) ),
- TQT_SLOT( slotDownPressed( RecipientLine * ) ) );
- connect( line, TQT_SIGNAL( rightPressed() ), TQT_SIGNAL( focusRight() ) );
- connect( line, TQT_SIGNAL( deleteLine( RecipientLine * ) ),
- TQT_SLOT( slotDecideLineDeletion( RecipientLine * ) ) );
- connect( line, TQT_SIGNAL( countChanged() ), TQT_SLOT( calculateTotal() ) );
- connect( line, TQT_SIGNAL( typeModified( RecipientLine * ) ),
- TQT_SLOT( slotTypeModified( RecipientLine * ) ) );
- connect( line->mEdit, TQT_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion ) ),
- TQT_SLOT( setCompletionMode( TDEGlobalSettings::Completion ) ) );
+ connect( line, TQ_SIGNAL( returnPressed( RecipientLine * ) ),
+ TQ_SLOT( slotReturnPressed( RecipientLine * ) ) );
+ connect( line, TQ_SIGNAL( upPressed( RecipientLine * ) ),
+ TQ_SLOT( slotUpPressed( RecipientLine * ) ) );
+ connect( line, TQ_SIGNAL( downPressed( RecipientLine * ) ),
+ TQ_SLOT( slotDownPressed( RecipientLine * ) ) );
+ connect( line, TQ_SIGNAL( rightPressed() ), TQ_SIGNAL( focusRight() ) );
+ connect( line, TQ_SIGNAL( deleteLine( RecipientLine * ) ),
+ TQ_SLOT( slotDecideLineDeletion( RecipientLine * ) ) );
+ connect( line, TQ_SIGNAL( countChanged() ), TQ_SLOT( calculateTotal() ) );
+ connect( line, TQ_SIGNAL( typeModified( RecipientLine * ) ),
+ TQ_SLOT( slotTypeModified( RecipientLine * ) ) );
+ connect( line->mEdit, TQ_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion ) ),
+ TQ_SLOT( setCompletionMode( TDEGlobalSettings::Completion ) ) );
if ( mLines.last() ) {
if ( mLines.count() == 1 ) {
@@ -482,7 +482,7 @@ void RecipientsView::slotDecideLineDeletion( RecipientLine *line )
line->clear();
} else {
mCurDelLine = line;
- TQTimer::singleShot( 0, this, TQT_SLOT( slotDeleteLine( ) ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotDeleteLine( ) ) );
}
}
@@ -538,7 +538,7 @@ void RecipientsView::resizeView()
parentWidget()->layout()->activate();
emit sizeHintChanged();
- TQTimer::singleShot( 0, this, TQT_SLOT(moveCompletionPopup()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(moveCompletionPopup()) );
}
void RecipientsView::activateLine( RecipientLine *line )
@@ -768,14 +768,14 @@ SideWidget::SideWidget( RecipientsView *view, TQWidget *parent )
mDistributionListButton = new TQPushButton( i18n("Save List..."), this );
topLayout->addWidget( mDistributionListButton );
mDistributionListButton->hide();
- connect( mDistributionListButton, TQT_SIGNAL( clicked() ),
- TQT_SIGNAL( saveDistributionList() ) );
+ connect( mDistributionListButton, TQ_SIGNAL( clicked() ),
+ TQ_SIGNAL( saveDistributionList() ) );
TQToolTip::add( mDistributionListButton,
i18n("Save recipients as distribution list") );
mSelectButton = new TQPushButton( i18n("Se&lect..."), this );
topLayout->addWidget( mSelectButton );
- connect( mSelectButton, TQT_SIGNAL( clicked() ), TQT_SLOT( pickRecipient() ) );
+ connect( mSelectButton, TQ_SIGNAL( clicked() ), TQ_SLOT( pickRecipient() ) );
TQToolTip::add( mSelectButton, i18n("Select recipients from address book") );
}
@@ -789,8 +789,8 @@ RecipientsPicker* SideWidget::picker() const
// hacks to allow picker() to be const in the presence of lazy loading
SideWidget *non_const_this = const_cast<SideWidget*>( this );
mRecipientPicker = new RecipientsPicker( non_const_this );
- connect( mRecipientPicker, TQT_SIGNAL( pickedRecipient( const Recipient & ) ),
- non_const_this, TQT_SIGNAL( pickedRecipient( const Recipient & ) ) );
+ connect( mRecipientPicker, TQ_SIGNAL( pickedRecipient( const Recipient & ) ),
+ non_const_this, TQ_SIGNAL( pickedRecipient( const Recipient & ) ) );
mPickerPositioner = new KWindowPositioner( non_const_this, mRecipientPicker );
}
return mRecipientPicker;
@@ -845,25 +845,25 @@ RecipientsEditor::RecipientsEditor( TQWidget *parent )
mRecipientsView = new RecipientsView( this );
topLayout->addWidget( mRecipientsView );
- connect( mRecipientsView, TQT_SIGNAL( focusUp() ), TQT_SIGNAL( focusUp() ) );
- connect( mRecipientsView, TQT_SIGNAL( focusDown() ), TQT_SIGNAL( focusDown() ) );
- connect( mRecipientsView, TQT_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion ) ),
- TQT_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion ) ) );
+ connect( mRecipientsView, TQ_SIGNAL( focusUp() ), TQ_SIGNAL( focusUp() ) );
+ connect( mRecipientsView, TQ_SIGNAL( focusDown() ), TQ_SIGNAL( focusDown() ) );
+ connect( mRecipientsView, TQ_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion ) ),
+ TQ_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion ) ) );
mSideWidget = new SideWidget( mRecipientsView, this );
topLayout->addWidget( mSideWidget );
- connect( mSideWidget, TQT_SIGNAL( pickedRecipient( const Recipient & ) ),
- TQT_SLOT( slotPickedRecipient( const Recipient & ) ) );
- connect( mSideWidget, TQT_SIGNAL( saveDistributionList() ),
- TQT_SLOT( saveDistributionList() ) );
-
- connect( mRecipientsView, TQT_SIGNAL( totalChanged( int, int ) ),
- mSideWidget, TQT_SLOT( setTotal( int, int ) ) );
- connect( mRecipientsView, TQT_SIGNAL( focusRight() ),
- mSideWidget, TQT_SLOT( setFocus() ) );
-
- connect( mRecipientsView, TQT_SIGNAL(sizeHintChanged()),
- TQT_SIGNAL(sizeHintChanged()) );
+ connect( mSideWidget, TQ_SIGNAL( pickedRecipient( const Recipient & ) ),
+ TQ_SLOT( slotPickedRecipient( const Recipient & ) ) );
+ connect( mSideWidget, TQ_SIGNAL( saveDistributionList() ),
+ TQ_SLOT( saveDistributionList() ) );
+
+ connect( mRecipientsView, TQ_SIGNAL( totalChanged( int, int ) ),
+ mSideWidget, TQ_SLOT( setTotal( int, int ) ) );
+ connect( mRecipientsView, TQ_SIGNAL( focusRight() ),
+ mSideWidget, TQ_SLOT( setFocus() ) );
+
+ connect( mRecipientsView, TQ_SIGNAL(sizeHintChanged()),
+ TQ_SIGNAL(sizeHintChanged()) );
}
RecipientsEditor::~RecipientsEditor()