diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /khotkeys/kcontrol/triggers_tab.cpp | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'khotkeys/kcontrol/triggers_tab.cpp')
-rw-r--r-- | khotkeys/kcontrol/triggers_tab.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/khotkeys/kcontrol/triggers_tab.cpp b/khotkeys/kcontrol/triggers_tab.cpp index 31eb7be27..258c6cfd5 100644 --- a/khotkeys/kcontrol/triggers_tab.cpp +++ b/khotkeys/kcontrol/triggers_tab.cpp @@ -125,7 +125,7 @@ void Triggers_tab::new_selected( int type_P ) { case TYPE_SHORTCUT_TRIGGER: // Shortcut_trigger dlg = new Shortcut_trigger_dialog( - new Shortcut_trigger( NULL, KShortcut())); // CHECKME NULL ? + new Shortcut_trigger( NULL, TDEShortcut())); // CHECKME NULL ? break; case TYPE_GESTURE_TRIGGER: // Gesture trigger dlg = new Gesture_trigger_dialog( @@ -230,16 +230,16 @@ Shortcut_trigger_widget::Shortcut_trigger_widget( TQWidget* parent_P, const char lay->addWidget( bt, 0 , Qt::AlignHCenter ); lay->addStretch(); clear_data(); - connect( bt, TQT_SIGNAL( capturedShortcut( const KShortcut& )), - this, TQT_SLOT( capturedShortcut( const KShortcut& ))); + connect( bt, TQT_SIGNAL( capturedShortcut( const TDEShortcut& )), + this, TQT_SLOT( capturedShortcut( const TDEShortcut& ))); } void Shortcut_trigger_widget::clear_data() { - bt->setShortcut( KShortcut(), false ); + bt->setShortcut( TDEShortcut(), false ); } -void Shortcut_trigger_widget::capturedShortcut( const KShortcut& s_P ) +void Shortcut_trigger_widget::capturedShortcut( const TDEShortcut& s_P ) { if( KKeyChooser::checkGlobalShortcutsConflict( s_P, true, topLevelWidget()) || KKeyChooser::checkStandardShortcutsConflict( s_P, true, topLevelWidget())) |