diff options
Diffstat (limited to 'kmail/foldershortcutdialog.cpp')
-rw-r--r-- | kmail/foldershortcutdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/foldershortcutdialog.cpp b/kmail/foldershortcutdialog.cpp index 770b6cfc6..169af7aa1 100644 --- a/kmail/foldershortcutdialog.cpp +++ b/kmail/foldershortcutdialog.cpp @@ -71,8 +71,8 @@ FolderShortcutDialog::FolderShortcutDialog( KMFolder *folder, mKeyButton = new KKeyButton( hb, "FolderShortcutSelector" ); new TQWidget(hb); - connect( mKeyButton, TQT_SIGNAL( capturedShortcut( const KShortcut& ) ), - this, TQT_SLOT( slotCapturedShortcut( const KShortcut& ) ) ); + connect( mKeyButton, TQT_SIGNAL( capturedShortcut( const TDEShortcut& ) ), + this, TQT_SLOT( slotCapturedShortcut( const TDEShortcut& ) ) ); mKeyButton->setShortcut( folder->shortcut(), false ); } @@ -80,12 +80,12 @@ FolderShortcutDialog::~FolderShortcutDialog() { } -void FolderShortcutDialog::slotCapturedShortcut( const KShortcut& sc ) +void FolderShortcutDialog::slotCapturedShortcut( const TDEShortcut& sc ) { if ( sc == mKeyButton->shortcut() ) return; if ( sc.toString().isNull() ) { // null is fine, that's reset, but sc.Ń–sNull() will be false :/ - mKeyButton->setShortcut( KShortcut::null(), false ); + mKeyButton->setShortcut( TDEShortcut::null(), false ); } else { if( !mMainWidget->shortcutIsValid( sc ) ) { TQString msg( i18n( "The selected shortcut is already used, " |