summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/kdevcore.h')
-rw-r--r--lib/interfaces/kdevcore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/interfaces/kdevcore.h b/lib/interfaces/kdevcore.h
index 282906db..e496576f 100644
--- a/lib/interfaces/kdevcore.h
+++ b/lib/interfaces/kdevcore.h
@@ -78,15 +78,15 @@ to if you reimplement TQWidget::contextMenuEvent method.
-# Connect KDevCore::contextMenu(TQPopupMenu *, const Context *) signal to that slot in
the constructor of your plugin:\n
@code
-connect(core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)));
+connect(core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)));
@endcode
-# Fill the menu in the slot you created, for example:\n
@code
if (context->hasType(Context::EditorContext))
{
const EditorContext *econtext = static_cast<const EditorContext*>(context);
- int id = popup->insertItem(i18n("My Menu Item 1"), this, TQT_SLOT(myMenuAction1()));
+ int id = popup->insertItem(i18n("My Menu Item 1"), this, TQ_SLOT(myMenuAction1()));
popup->setWhatsThis(id, i18n("What's this for my menu item 1"));
}
else if context->hasType(MyContext))