diff options
Diffstat (limited to 'akregator/src/tagaction.cpp')
-rw-r--r-- | akregator/src/tagaction.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/akregator/src/tagaction.cpp b/akregator/src/tagaction.cpp index 3fe5c2fbb..d3bcce299 100644 --- a/akregator/src/tagaction.cpp +++ b/akregator/src/tagaction.cpp @@ -45,8 +45,8 @@ class TagAction::TagActionPrivate }; TagAction::TagAction(const Tag& tag, const TQObject *receiver, const char *slot, TQObject *parent) -//KAction (const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) - : KToggleAction(tag.name(), KShortcut(), 0, 0, parent), d(new TagActionPrivate) +//TDEAction (const TQString &text, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) + : TDEToggleAction(tag.name(), TDEShortcut(), 0, 0, parent), d(new TagActionPrivate) { d->tag = tag; connect(this, TQT_SIGNAL(toggled(const Tag&, bool)), receiver, slot); @@ -67,7 +67,7 @@ Tag TagAction::tag() const /* void TagAction::unplug(TQWidget* widget) { - KToggleAction::unplug(widget); + TDEToggleAction::unplug(widget); TQPopupMenu* popup = ::tqt_cast<TQPopupMenu *>(widget); if (popup) @@ -83,10 +83,10 @@ int TagAction::plug(TQWidget* widget, int index) TQPopupMenu* popup = ::tqt_cast<TQPopupMenu *>( widget ); if (!popup) { - kdWarning() << "Can not plug KToggleAction in " << widget->className() << endl; + kdWarning() << "Can not plug TDEToggleAction in " << widget->className() << endl; return -1; } - if (kapp && !kapp->authorizeKAction(name())) + if (kapp && !kapp->authorizeTDEAction(name())) return -1; TagMenuItem* item = new TagMenuItem(d->tag); |