29#include <tdeapplication.h>
31#include <tdepopupmenu.h>
34#include <tqpopupmenu.h>
39class TagAction::TagActionPrivate
47TagAction::TagAction( const Tag& tag, const TQObject *receiver, const char *slot, TQObject *parent)
49 : TDEToggleAction(tag.name(), TDEShortcut(), 0, 0, parent), d(new TagActionPrivate)
52 connect( this, TQ_SIGNAL(toggled( const Tag&, bool)), receiver, slot);
53 connect( this, TQ_SIGNAL(toggled( bool)), this, TQ_SLOT(slotToggled( bool)));
56TagAction::~TagAction()
62Tag TagAction::tag() const
107void TagAction::slotToggled( bool enabled)
109 emit toggled(d->tag, enabled);
114#include "tagaction.moc"
|