setFlag( ItemClipsToShape, false );
setFlag( ItemClipsChildrenToShape, false );
setFlag( ItemIgnoresTransformations, true );
- setAcceptsHoverEvents( true );
+ setAcceptHoverEvents( true );
m_timer = new QTimer( this );
connect( m_timer, SIGNAL(timeout()), this, SLOT(timeToHide()) );
, m_mouseHover( 0 )
{
m_containment = static_cast<Plasma::Containment *>( parent );
- setAcceptsHoverEvents( true );
+ setAcceptHoverEvents( true );
m_zoomInText = new QGraphicsSimpleTextItem( i18n( "Zoom In" ), this );
QFont font;
connect(m_svg, SIGNAL(repaintNeeded()), this, SLOT(repaintNeeded()));
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setAspectRatioMode(Plasma::Square);
setBackgroundHints(NoBackground);
{
setHasConfigurationInterface(true);
setAcceptDrops(true);
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setCacheMode(QGraphicsItem::DeviceCoordinateCache);
resize(400, 300);
//make size()==contentssize(), resolves auto-shrinking once for all
m_layoutAnimation->setDuration(250);
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setAcceptDrops(true);
setFocusPolicy(Qt::StrongFocus);
setFlag(QGraphicsItem::ItemIsFocusable);
{
setHasConfigurationInterface(true);
setBackgroundHints(NoBackground);
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
d->waitClick.setInterval(500); // 1/2 sec
d->waitClick.setSingleShot(true);
void LancelotApplet::init()
{
d->lancelot->addClient();
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
loadConfig();
applyConfig();
connect(
setAspectRatioMode(Plasma::IgnoreAspectRatio);
setHasConfigurationInterface(true);
setAcceptDrops(true);
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setBackgroundHints(Plasma::Applet::NoBackground);
m_saveTimer.setSingleShot(true);
connect(&m_saveTimer, SIGNAL(timeout()), this, SLOT(saveNote()));
{
setAcceptedMouseButtons(Qt::LeftButton);
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
m_hovered = false;
setPopupIcon("internet-web-browser");
setAspectRatioMode(Plasma::IgnoreAspectRatio );
setAcceptDrops(true);
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setMinimumSize(64, 64);
resize(800, 600);
connect(m_leaveTimer, SIGNAL(timeout()), this, SLOT(leaveTimeout()));
connect(widget(), SIGNAL(destroyed(QObject*)), this, SLOT(widgetDestroyed()));
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
m_hoverTimer->start();
//icons
void FreeHandle::forceDisappear()
{
- setAcceptsHoverEvents(false);
+ setAcceptHoverEvents(false);
startFading(FadeOut, m_entryPos);
}
m_widget(applet),
m_currentView(applet->view())
{
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setAcceptTouchEvents(true);
}
void init(BasicWidget * parent)
{
- parent->setAcceptsHoverEvents(true);
+ parent->setAcceptHoverEvents(true);
// parent->resize(140, 38);
parent->setGroupByName("BasicWidget");
}
BorderItem(QGraphicsItem * parent = 0, ResizeBordersPanel::Private * d = 0, int position = 0)
: Widget(parent), m_position(position), m_d(d)
{
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
}
protected:
ScrollPane::ScrollPane(QGraphicsItem * parent) //>
: Widget(parent), d(new Private(this))
{
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
d->layout = new /*FlipLayout <*/ FullBorderLayout /*>*/ (this);
// d->layout->setParentLayoutItem(this);
d->horizontal->setZValue(1);
d->centerContainer = new QGraphicsWidget(this);
- d->centerContainer->setAcceptsHoverEvents(true);
+ d->centerContainer->setAcceptHoverEvents(true);
d->centerContainer->setFlag(QGraphicsItem::ItemClipsChildrenToShape);
connect (d->vertical, SIGNAL(valueChanged(int)),