diff options
Diffstat (limited to 'kmail/customtemplates.cpp')
-rw-r--r-- | kmail/customtemplates.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/customtemplates.cpp b/kmail/customtemplates.cpp index 14bed9cfe..00d14cc8b 100644 --- a/kmail/customtemplates.cpp +++ b/kmail/customtemplates.cpp @@ -89,8 +89,8 @@ CustomTemplates::CustomTemplates( TQWidget *parent, const char *name ) connect( mType, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotTypeActivated( int ) ) ); - connect( mKeyButton, TQT_SIGNAL( capturedShortcut( const KShortcut& ) ), - this, TQT_SLOT( slotShortcutCaptured( const KShortcut& ) ) ); + connect( mKeyButton, TQT_SIGNAL( capturedShortcut( const TDEShortcut& ) ), + this, TQT_SLOT( slotShortcutCaptured( const TDEShortcut& ) ) ); mReplyPix = KIconLoader().loadIcon( "mail_reply", KIcon::Small ); mReplyAllPix = KIconLoader().loadIcon( "mail_replyall", KIcon::Small ); @@ -201,7 +201,7 @@ void CustomTemplates::load() CTemplates t(*it); // TQString typeStr = indexToType( t.type() ); TQString typeStr; - KShortcut shortcut( t.shortcut() ); + TDEShortcut shortcut( t.shortcut() ); CustomTemplateItem *vitem = new CustomTemplateItem( *it, t.content(), shortcut, @@ -291,7 +291,7 @@ void CustomTemplates::slotAddClicked() if ( !str.isEmpty() ) { CustomTemplateItem *vitem = mItemList[ str ]; if ( !vitem ) { - vitem = new CustomTemplateItem( str, "", KShortcut::null(), TUniversal, + vitem = new CustomTemplateItem( str, "", TDEShortcut::null(), TUniversal, TQString(), TQString() ); mItemList.insert( str, vitem ); TQListViewItem *item = @@ -357,7 +357,7 @@ void CustomTemplates::slotListSelectionChanged() mEdit->clear(); mToEdit->clear(); mCCEdit->clear(); - mKeyButton->setShortcut( KShortcut::null(), false ); + mKeyButton->setShortcut( TDEShortcut::null(), false ); mType->setCurrentItem( 0 ); } } @@ -401,9 +401,9 @@ void CustomTemplates::slotTypeActivated( int index ) setRecipientsEditsEnabled( false ); } -void CustomTemplates::slotShortcutCaptured( const KShortcut &shortcut ) +void CustomTemplates::slotShortcutCaptured( const TDEShortcut &shortcut ) { - KShortcut sc( shortcut ); + TDEShortcut sc( shortcut ); if ( sc == mKeyButton->shortcut() ) return; if ( sc.isNull() || sc.toString().isEmpty() ) @@ -425,7 +425,7 @@ void CustomTemplates::slotShortcutCaptured( const KShortcut &shortcut ) == KMessageBox::Yes ); if ( assign ) { - (*it)->mShortcut = KShortcut::null(); + (*it)->mShortcut = TDEShortcut::null(); } customused = true; } |