[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 72010] Context menu plugin system like KonqPopupMenuPlugin,
From: Vinay Khaitan <vkhaitan () iitk ! ac ! in>
Date: 2005-07-30 8:01:39
Message-ID: 20050730080139.23689.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=72010
------- Additional Comments From vkhaitan iitk ac in 2005-07-30 10:01 -------
Well, special context menu plugin system is not needed, as this is already possible \
through a hack. KParts::Plugin allows you to add plugin to any kpart. KMail too is \
now a kpart. Get the pointer of parent windows and search for child KPopupmenu, which \
gets displayed, when you right click. Through mix of event filters, it is 100% \
guaranteed to work. KonqPopupMenuPlugin only adds text to context menu, when nothing \
is selected on KHTMLPart. I needed context menu plugin addition for my "Google \
Suggest Toolbar" (http://kde-apps.org/content/show.php?content=15163) when text is \
selected. So, this hack came in my mind !
Once you have pointer to mainWindow, you can do anything in any part of GUI! Just \
keep in mind, that your tricks dont create any bug.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic