summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/abstracteditorsupport.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2013-03-21 19:24:34 +0100
committerDaniel Teske <daniel.teske@digia.com>2013-05-02 16:39:33 +0200
commit3abe2a72eab8534ba4ce25a3bb1015139964a987 (patch)
tree2439221375ec10cc486f15e6d6c695617461c260 /src/plugins/cpptools/abstracteditorsupport.h
parent3aa424ca6498653e12a21b010058a22558995e51 (diff)
downloadqt-creator-3abe2a72eab8534ba4ce25a3bb1015139964a987.tar.gz
UicCodeModelSupport: Make the code not so eager to run uic processes
Instead mostly postpone it until the contents are needed. Task-number: QTCREATORBUG-9149 Change-Id: I83167537e97fbd965531d990c8073409ff7b0b32 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/cpptools/abstracteditorsupport.h')
-rw-r--r--src/plugins/cpptools/abstracteditorsupport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/cpptools/abstracteditorsupport.h b/src/plugins/cpptools/abstracteditorsupport.h
index e52eebf319..858f893cb8 100644
--- a/src/plugins/cpptools/abstracteditorsupport.h
+++ b/src/plugins/cpptools/abstracteditorsupport.h
@@ -33,6 +33,7 @@
#include "cpptools_global.h"
#include <QString>
+#include <QObject>
namespace CPlusPlus {
class CppModelManagerInterface;
@@ -40,8 +41,9 @@ class CppModelManagerInterface;
namespace CppTools {
-class CPPTOOLS_EXPORT AbstractEditorSupport
+class CPPTOOLS_EXPORT AbstractEditorSupport : public QObject
{
+ Q_OBJECT
public:
explicit AbstractEditorSupport(CPlusPlus::CppModelManagerInterface *modelmanager);
virtual ~AbstractEditorSupport();