summaryrefslogtreecommitdiffstats
path: root/kmail/foldershortcutdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmail/foldershortcutdialog.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmail/foldershortcutdialog.cpp')
-rw-r--r--kmail/foldershortcutdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/foldershortcutdialog.cpp b/kmail/foldershortcutdialog.cpp
index 770b6cfc..169af7aa 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, "