summaryrefslogtreecommitdiff
path: root/examples/assistant/simpletextviewer/assistant.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/assistant/simpletextviewer/assistant.h')
-rw-r--r--examples/assistant/simpletextviewer/assistant.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/assistant/simpletextviewer/assistant.h b/examples/assistant/simpletextviewer/assistant.h
index dada5a1ee..1ea7dd78f 100644
--- a/examples/assistant/simpletextviewer/assistant.h
+++ b/examples/assistant/simpletextviewer/assistant.h
@@ -51,6 +51,7 @@
#ifndef ASSISTANT_H
#define ASSISTANT_H
+#include <QCoreApplication>
#include <QString>
QT_BEGIN_NAMESPACE
@@ -59,6 +60,8 @@ QT_END_NAMESPACE
class Assistant
{
+ Q_DECLARE_TR_FUNCTIONS(Assistant)
+
public:
Assistant();
~Assistant();