summaryrefslogtreecommitdiffstats
path: root/extensions/nsplugin/examples
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/nsplugin/examples')
-rw-r--r--extensions/nsplugin/examples/grapher/grapher.cpp4
-rw-r--r--extensions/nsplugin/examples/trivial/trivial.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/nsplugin/examples/grapher/grapher.cpp b/extensions/nsplugin/examples/grapher/grapher.cpp
index afd444534..c02a3c6ca 100644
--- a/extensions/nsplugin/examples/grapher/grapher.cpp
+++ b/extensions/nsplugin/examples/grapher/grapher.cpp
@@ -48,7 +48,7 @@ public:
//
class Graph : public TQNPWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
// Constructs a Graph to display a GraphModel
//
@@ -376,7 +376,7 @@ const char* Graph::styleName[] = { "Pie", "Bar", 0 };
//
class Grapher : public TQNPInstance, GraphModel {
- Q_OBJECT
+ TQ_OBJECT
public:
// Create a Grapher - all Grapher plugins are created
// by one GrapherPlugin object.
diff --git a/extensions/nsplugin/examples/trivial/trivial.cpp b/extensions/nsplugin/examples/trivial/trivial.cpp
index 3223ed741..d4abe25e8 100644
--- a/extensions/nsplugin/examples/trivial/trivial.cpp
+++ b/extensions/nsplugin/examples/trivial/trivial.cpp
@@ -4,7 +4,7 @@
#include <ntqmessagebox.h>
class Trivial : public TQNPWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
void mouseReleaseEvent(TQMouseEvent* event)
{
@@ -22,7 +22,7 @@ public:
};
class TrivialInstance : public TQNPInstance {
- Q_OBJECT
+ TQ_OBJECT
public:
TQNPWidget* newWindow()
{