[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src/widgets
From: Jason Kivlighn <confederacy2 () excite ! com>
Date: 2004-02-09 5:47:08
Message-ID: 20040209054708.54EAA9190 () office ! kde ! org
[Download RAW message or body]
CVS commit by jkivlighn:
Added an update function to allow subclasses to update the selected widget when there \
are geometry changes to any widgets in the drag area.
M +5 -0 dragarea.cpp 1.5
M +2 -0 dragarea.h 1.4
--- kdenonbeta/krecipes/src/widgets/dragarea.cpp #1.4:1.5
@@ -111,2 +111,7 @@ void DragArea::moveWidget( QWidget *w, i
selection->updateGeometry();
}
+
+void DragArea::update()
+{
+ selection->update();
+}
--- kdenonbeta/krecipes/src/widgets/dragarea.h #1.3:1.4
@@ -44,4 +44,6 @@ protected:
void moveWidget( QWidget *w, int dx, int dy );
+ void update();
+
private:
bool m_read_only;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic