In order to be able to use the signal functionality I wanted to add the
Q_OBJECTS
makro right under the class definition for PopupMenu
compiling I get the error:
undefined reference to `vtable for PopupMenu'
What I was trying so far according to a search:
1. running 'make clean' and after that deleting the cmake generated
files (build folder), rerunning cmake .. and make
2. Adding a Destructor ~PopupMenu() { } to the class definition
The PopupMenu file is the only one not containing the Q_OBJECTS. What am
I missing?
I need that function in order to send a signal when the Context-Menu
(Add panel, add widget etc.) is closed. So I can set a function that
prevents the panel from autohiding when the Menu is openend, and allows
autohiding when the menu is closed again.
That approach has the problem, that the call has to be implemented in
every plugin (panel autohide active OK, panel autohide active dissallow).
Maybe theres a better way to do that? something like observing if there
was something openend out of the panel? and closed again..
Thanks,
rootzrich
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list