summaryrefslogtreecommitdiffstats
path: root/qmake/examples/precompile/myobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/examples/precompile/myobject.cpp')
-rw-r--r--qmake/examples/precompile/myobject.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/qmake/examples/precompile/myobject.cpp b/qmake/examples/precompile/myobject.cpp
new file mode 100644
index 000000000..88c755e74
--- /dev/null
+++ b/qmake/examples/precompile/myobject.cpp
@@ -0,0 +1,14 @@
+#include <iostream>
+#include <qobject.h>
+#include "myobject.h"
+
+MyObject::MyObject()
+ : TQObject()
+{
+ std::cout << "MyObject::MyObject()\n";
+}
+
+MyObject::~MyObject()
+{
+ qDebug("MyObject::~MyObject()");
+}