@@ -131,15 +131,6 @@ private Q_SLOTS:
131131 virtual void startFloating (const QPoint& DragStartMousePos, const QSize& Size,
132132 eDragState DragState, QWidget* MouseEventHandler) override ;
133133
134- /* *
135- * Call this function to start dragging the floating widget
136- */
137- void startDragging (const QPoint& DragStartMousePos, const QSize& Size,
138- QWidget* MouseEventHandler)
139- {
140- startFloating (DragStartMousePos, Size, DraggingFloatingWidget, MouseEventHandler);
141- }
142-
143134 /* *
144135 * Call this function if you explicitly want to signal that dragging has
145136 * finished
@@ -149,7 +140,7 @@ private Q_SLOTS:
149140 /* *
150141 * This function deletes all dock widgets in it.
151142 * This functions should be called only from dock manager in its
152- * destructor before deleting the floating widget
143+ * destructor before deleting the floating widget
153144 */
154145 void deleteContent ();
155146
@@ -236,6 +227,15 @@ private Q_SLOTS:
236227 */
237228 CDockContainerWidget* dockContainer () const ;
238229
230+ /* *
231+ * Call this function to start dragging the floating widget
232+ */
233+ void startDragging (const QPoint& DragStartMousePos, const QSize& Size,
234+ QWidget* MouseEventHandler)
235+ {
236+ startFloating (DragStartMousePos, Size, DraggingFloatingWidget, MouseEventHandler);
237+ }
238+
239239 /* *
240240 * This function returns true, if it can be closed.
241241 * It can be closed, if all dock widgets in all dock areas can be closed
0 commit comments