mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: remove disabled code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
0a26ba0d92
commit
998a2db20e
2 changed files with 0 additions and 32 deletions
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue