[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kicker/core
From: Wilco Greven <greven () kde ! org>
Date: 2004-10-27 19:49:26
Message-ID: 20041027194926.3979816D2A () office ! kde ! org
[Download RAW message or body]
CVS commit by wgreven:
Call updateGeometry directly instead of going via a signal/slot connection.
M +4 -10 containerarea.cpp 1.183
M +0 -3 containerarea.h 1.70
--- kdebase/kicker/core/containerarea.cpp #1.182:1.183
@@ -88,5 +88,4 @@ ContainerArea::ContainerArea( KConfig* _
connect(&_autoScrollTimer, SIGNAL(timeout()), SLOT(autoScroll()));
connect(kapp, SIGNAL(kdisplayPaletteChanged()), SLOT(setBackgroundTheme()));
- connect(this, SIGNAL(sizeHintChanged()), SLOT(slotUpdateGeometry()));
}
@@ -324,5 +323,5 @@ void ContainerArea::removeAllContainers(
delete b;
}
- emit sizeHintChanged();
+ updateGeometry();
}
@@ -457,5 +456,5 @@ void ContainerArea::addContainer(BaseCon
m_layout->add(a);
- emit sizeHintChanged();
+ updateGeometry();
connect(a, SIGNAL(moveme(BaseContainer*) ),
@@ -487,5 +486,5 @@ void ContainerArea::removeContainer(Base
}
- emit sizeHintChanged();
+ updateGeometry();
saveContainerConfig(true);
}
@@ -655,5 +654,5 @@ void ContainerArea::slotLayoutChildren()
{
updateContainersBackground();
- emit sizeHintChanged();
+ updateGeometry();
}
@@ -1252,9 +1251,4 @@ int ContainerArea::heightForWidth(int w)
}
-void ContainerArea::slotUpdateGeometry()
-{
- updateGeometry();
-}
-
void DragIndicator::paintEvent(QPaintEvent*)
--- kdebase/kicker/core/containerarea.h #1.69:1.70
@@ -153,7 +153,4 @@ private:
QWidget* m_contents;
ContainerAreaLayout* m_layout;
-
-private slots:
- void slotUpdateGeometry();
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic