summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twinrules/ruleswidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /twin/kcmtwin/twinrules/ruleswidget.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'twin/kcmtwin/twinrules/ruleswidget.cpp')
-rw-r--r--twin/kcmtwin/twinrules/ruleswidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/twin/kcmtwin/twinrules/ruleswidget.cpp b/twin/kcmtwin/twinrules/ruleswidget.cpp
index 8680018d7..dcf7cd358 100644
--- a/twin/kcmtwin/twinrules/ruleswidget.cpp
+++ b/twin/kcmtwin/twinrules/ruleswidget.cpp
@@ -735,7 +735,7 @@ EditShortcut::EditShortcut( TQWidget* parent, const char* name )
void EditShortcut::editShortcut()
{
- ShortcutDialog dlg( KShortcut( shortcut->text()), topLevelWidget());
+ ShortcutDialog dlg( TDEShortcut( shortcut->text()), topLevelWidget());
if( dlg.exec() == TQDialog::Accepted )
shortcut->setText( dlg.shortcut().toString());
}
@@ -762,8 +762,8 @@ TQString EditShortcutDialog::shortcut() const
return widget->shortcut->text();
}
-ShortcutDialog::ShortcutDialog( const KShortcut& cut, TQWidget* parent, const char* name )
- : KShortcutDialog( cut, false /*TODO???*/, parent, name )
+ShortcutDialog::ShortcutDialog( const TDEShortcut& cut, TQWidget* parent, const char* name )
+ : TDEShortcutDialog( cut, false /*TODO???*/, parent, name )
{
}
@@ -783,19 +783,19 @@ void ShortcutDialog::accept()
}
if( seq.key( 0 ) == Key_Space )
{ // clear
- setShortcut( KShortcut());
- KShortcutDialog::accept();
+ setShortcut( TDEShortcut());
+ TDEShortcutDialog::accept();
return;
}
if( seq.key( 0 ).modFlags() == 0 )
{ // no shortcuts without modifiers
- KShortcut cut = shortcut();
+ TDEShortcut cut = shortcut();
cut.setSeq( i, KKeySequence());
setShortcut( cut );
return;
}
}
- KShortcutDialog::accept();
+ TDEShortcutDialog::accept();
}
} // namespace