From f1f1d2243299cd1115002e5b5047e9c3a0a73134 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 6 Dec 2012 18:30:05 -0600 Subject: Automated update from Qt3 --- tutorial/t15/main.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 tutorial/t15/main.h (limited to 'tutorial/t15/main.h') diff --git a/tutorial/t15/main.h b/tutorial/t15/main.h new file mode 100644 index 00000000..6cb8ee8e --- /dev/null +++ b/tutorial/t15/main.h @@ -0,0 +1,45 @@ +/**************************************************************** +** +** TQt threading tutorial +** (c) 2012 Timothy Pearson +** +** This tutorial is released into the Public Domain and +** can therefore be modified and/or used for any purpose +** +****************************************************************/ + +#ifndef _MAIN_H_ +#define _MAIN_H_ + +#include +#include +#include +#include + +class MainObject; + +class WorkerObject : public TQObject +{ + TQ_OBJECT + + public slots: + void run(); + void timerHandler(); + + signals: + void displayMessage(TQString, TQString); + + public: + TQString threadFriendlyName; +}; + +class MainObject : public TQObject +{ + TQ_OBJECT + + public slots: + void emitMessage(TQString, TQString); + void buttonClicked(); +}; + +#endif // _MAIN_H_ -- cgit v1.2.1