summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/scriptengine_p.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-06-06 12:43:26 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-06-06 13:00:20 +0200
commit651a30e627dca79ee858751be057f152ff6263d7 (patch)
tree7dfb65589b633dd4476a71e6535d39358e98188e /src/libs/installer/scriptengine_p.h
parentac7ce27a78cb7b56de9a2c03c1ea446738912e6f (diff)
Disable copy constructor and assignment operator.
Change-Id: Ib9cd6f7ac64b7af7f33ec9fd4c45a623625f3603 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/libs/installer/scriptengine_p.h')
-rw-r--r--src/libs/installer/scriptengine_p.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/installer/scriptengine_p.h b/src/libs/installer/scriptengine_p.h
index 72cf1aa74..0ab54df7c 100644
--- a/src/libs/installer/scriptengine_p.h
+++ b/src/libs/installer/scriptengine_p.h
@@ -56,6 +56,8 @@ namespace QInstaller {
class ConsoleProxy : public QObject
{
Q_OBJECT
+ Q_DISABLE_COPY(ConsoleProxy)
+
public:
ConsoleProxy() {}
@@ -66,6 +68,8 @@ public slots :
class InstallerProxy : public QObject
{
Q_OBJECT
+ Q_DISABLE_COPY(InstallerProxy)
+
public:
InstallerProxy(QJSEngine *engine, PackageManagerCore *core)
: m_engine(engine), m_core(core) {}
@@ -85,6 +89,8 @@ private:
class QFileDialogProxy : public QObject
{
Q_OBJECT
+ Q_DISABLE_COPY(QFileDialogProxy)
+
public:
QFileDialogProxy() {}
@@ -100,6 +106,8 @@ public slots :
class QDesktopServicesProxy : public QObject
{
Q_OBJECT
+ Q_DISABLE_COPY(QDesktopServicesProxy)
+
public:
QDesktopServicesProxy() {}