kdeui: remove disabled code

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-09-26 18:58:56 +03:00
parent 0a26ba0d92
commit 998a2db20e
2 changed files with 0 additions and 32 deletions

View file

@ -97,24 +97,6 @@ KPassivePopup::KPassivePopup( WId win )
init( win );
}
#if 0 // These break macos and win32 where the definition of WId makes them ambiguous
KPassivePopup::KPassivePopup( int popupStyle, QWidget *parent, Qt::WindowFlags f )
: QFrame( 0, f ? f : POPUP_FLAGS ),
d(new Private())
{
init( parent ? parent->winId() : 0L );
setPopupStyle( popupStyle );
}
KPassivePopup::KPassivePopup( int popupStyle, WId win, Qt::WindowFlags f )
: QFrame( 0, f ? f : POPUP_FLAGS ),
d(new Private())
{
init( win );
setPopupStyle( popupStyle );
}
#endif
void KPassivePopup::init( WId window )
{
d->window = window;

View file

@ -104,20 +104,6 @@ public:
*/
explicit KPassivePopup( WId parent );
#if 0 // These break macos and win32 where the definition of WId makes them ambiguous
/**
* Creates a popup for the specified widget.
* THIS WILL BE REMOVED, USE setPopupStyle().
*/
explicit KPassivePopup( int popupStyle, QWidget *parent=0, Qt::WindowFlags f=0 ) KDE_DEPRECATED;
/**
* Creates a popup for the specified window.
* THIS WILL BE REMOVED, USE setPopupStyle().
*/
KPassivePopup( int popupStyle, WId parent, Qt::WindowFlags f=0 ) KDE_DEPRECATED;
#endif
/**
* Cleans up.
*/