summaryrefslogtreecommitdiffstats
path: root/examples/corelib
diff options
context:
space:
mode:
authorRym Bouabid <rym.bouabid@qt.io>2023-09-21 11:30:58 +0200
committerRym Bouabid <rym.bouabid@qt.io>2023-10-02 19:08:42 +0200
commit74318643ced197f9380d21c3dfc662a85e73f5b8 (patch)
tree28ef20776f78bda5f2c938a48f101768f1dfefc4 /examples/corelib
parent34ff72d0ba5284ff117ee4ae7f04072b51c85315 (diff)
Revamp Queued Custom Type Ex: Declare stopProcess() as a method
Declare stopProcess() as a method because it's used in the connect() overload taking a pointer-to-member-function, so it doesn't need help from moc. Task-number: QTBUG-117147 Pick-to: 6.6 6.5 Change-Id: Iaa1c02de82cffdea455af520c37dc0e6e6861443 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'examples/corelib')
-rw-r--r--examples/corelib/threads/queuedcustomtype/renderthread.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/corelib/threads/queuedcustomtype/renderthread.h b/examples/corelib/threads/queuedcustomtype/renderthread.h
index 2946f1ee33..ed4df99bcc 100644
--- a/examples/corelib/threads/queuedcustomtype/renderthread.h
+++ b/examples/corelib/threads/queuedcustomtype/renderthread.h
@@ -20,13 +20,11 @@ public:
~RenderThread();
void processImage(const QImage &image);
+ void stopProcess();
signals:
void sendBlock(const Block &block);
-public slots:
- void stopProcess();
-
protected:
void run();