From 0630a9067e5db373c6fd33bbe8145e29f18e9a54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 6 Aug 2010 19:46:53 +0000 Subject: Additional Qt4 support... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1160009 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqmenudata.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'qtinterface/tqmenudata.cpp') diff --git a/qtinterface/tqmenudata.cpp b/qtinterface/tqmenudata.cpp index 2b11965..625c54d 100644 --- a/qtinterface/tqmenudata.cpp +++ b/qtinterface/tqmenudata.cpp @@ -21,3 +21,12 @@ Boston, MA 02110-1301, USA. #include #include + +#ifdef USE_QT4 + +Q3PopupMenu *QMenuItem::popup() const { + #warning "Badly broken/nonfunctional QMenuItem::popup() implementation!" + return &Q3PopupMenu(menu()); +} + +#endif // USE_QT4 \ No newline at end of file -- cgit v1.2.1