diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-09 23:09:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-09 23:09:59 +0900 |
commit | 83991febd2b98788a0a018e187de0dfb7d95b500 (patch) | |
tree | ec363502a3d11082cc54d17b7969f8ba605e1f01 /src/widgets/qpopupmenu.cpp | |
parent | 48ea22d00b58a37508567756b2955582cd9efe5a (diff) | |
download | tqt3-83991febd2b98788a0a018e187de0dfb7d95b500.tar.gz tqt3-83991febd2b98788a0a018e187de0dfb7d95b500.zip |
Remove Qt4 related stuff
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qpopupmenu.cpp')
-rw-r--r-- | src/widgets/qpopupmenu.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/widgets/qpopupmenu.cpp b/src/widgets/qpopupmenu.cpp index 61f144f6e..051ef6d0b 100644 --- a/src/widgets/qpopupmenu.cpp +++ b/src/widgets/qpopupmenu.cpp @@ -502,22 +502,6 @@ void TQPopupMenu::popup( const TQPoint &pos, int indexAtPoint ) return; #endif -#if (TQT_VERSION-0 >= 0x040000) -#error "Fix this now" - // #### should move to TQWidget - anything might need this functionality, - // #### since anything can have WType_Popup window flag. - // #### This includes stuff in TQPushButton and some stuff for setting - // #### the geometry of TQDialog. - // TQPopupMenu - // ::exec() - // ::popup() - // TQPushButton (shouldn't require TQMenuPopup) - // ::popupPressed - // Some stuff in qwidget.cpp for dialogs... can't remember exactly. - // Also the code here indicatets the parameter should be a rect, not a - // point. -#endif - TQRect screen = screenRect( geometry().center()); TQRect screen2 = screenRect( TQApplication::reverseLayout() ? pos+TQPoint(width(),0) : pos ); |