QMenu doesn't use this function :inline QT3_SUPPORT void setCheckable(bool){}, now setCheckable is just for qaction

svn path=/trunk/KDE/kdebase/workspace/; revision=492239
This commit is contained in:
Laurent Montel 2005-12-29 10:53:20 +00:00
parent d0d0ce9dbb
commit 9d896a7b4e

View file

@ -50,13 +50,11 @@ QMenu* Workspace::clientPopup()
if ( !popup )
{
popup = new QMenu;
popup->setCheckable( TRUE );
popup->setFont(KGlobalSettings::menuFont());
connect( popup, SIGNAL( aboutToShow() ), this, SLOT( clientPopupAboutToShow() ) );
connect( popup, SIGNAL( activated(int) ), this, SLOT( clientPopupActivated(int) ) );
advanced_popup = new QMenu( popup );
advanced_popup->setCheckable( TRUE );
advanced_popup->setFont(KGlobalSettings::menuFont());
connect( advanced_popup, SIGNAL( activated(int) ), this, SLOT( clientPopupActivated(int) ) );
advanced_popup->insertItem( SmallIconSet( "up" ),
@ -189,7 +187,6 @@ void Workspace::initDesktopPopup()
return;
desk_popup = new QMenu( popup );
desk_popup->setCheckable( TRUE );
desk_popup->setFont(KGlobalSettings::menuFont());
connect( desk_popup, SIGNAL( activated(int) ),
this, SLOT( slotSendToDesktop(int) ) );