summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/keys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/lib/keys.cpp')
-rw-r--r--libksirtet/lib/keys.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libksirtet/lib/keys.cpp b/libksirtet/lib/keys.cpp
index acf4d7ac..801d46d0 100644
--- a/libksirtet/lib/keys.cpp
+++ b/libksirtet/lib/keys.cpp
@@ -43,12 +43,12 @@ void KeyData::clear()
void KeyData::createActionCollection(uint index, TQWidget *receiver)
{
Q_ASSERT( index<_cols.size() );
- _cols[index] = new KActionCollection(receiver, this);
+ _cols[index] = new TDEActionCollection(receiver, this);
for (uint k=0; k<_data.size(); k++) {
TQString label = i18n(_data[k].label);
TQString name = TQString("%2 %3").arg(index+1).arg(_data[k].name);
const char *slot = (_data[k].slotRelease ? 0 : _data[k].slot);
- KAction *a = new KAction(label, _keycodes[_cols.size()-1][index][k],
+ TDEAction *a = new TDEAction(label, _keycodes[_cols.size()-1][index][k],
TQT_TQOBJECT(receiver), slot, _cols[index], name.utf8());
a->setEnabled(false);
if ( slot==0 ) {
@@ -67,7 +67,7 @@ void KeyData::createActionCollection(uint index, TQWidget *receiver)
void KeyData::setEnabled(uint index, bool enabled)
{
for (uint k=0; k<_cols[index]->count(); k++) {
- TQMap<KAction *, SpecialData>::Iterator it =
+ TQMap<TDEAction *, SpecialData>::Iterator it =
_specActions.find(_cols[index]->action(k));
if ( it==_specActions.end() )
_cols[index]->action(k)->setEnabled(enabled);
@@ -93,7 +93,7 @@ void KeyData::keyEvent(TQKeyEvent *e, bool pressed)
if ( e->isAutoRepeat() ) return;
KKey key(e);
- TQMap<KAction *, SpecialData>::Iterator it = _specActions.begin();
+ TQMap<TDEAction *, SpecialData>::Iterator it = _specActions.begin();
for(; it!=_specActions.end(); ++it) {
if ( !it.data().enabled ) continue;
if ( !it.key()->shortcut().contains(key) ) continue;