Show auto generated slots (e.g. onClicked) only when performing a global completion.

This commit is contained in:
Roberto Raggi
2010-01-26 10:10:11 +01:00
parent c65a028f74
commit 2a5506b1d0
3 changed files with 58 additions and 7 deletions

View File

@@ -198,11 +198,13 @@ class QMLJS_EXPORT MemberProcessor
void operator = (const MemberProcessor &other);
public:
MemberProcessor() {}
virtual ~MemberProcessor() {}
MemberProcessor();
virtual ~MemberProcessor();
// Returns false to stop the processor.
virtual bool process(const QString &name, const Value *value) = 0;
virtual bool processProperty(const QString &name, const Value *value);
virtual bool processSignal(const QString &name, const Value *value);
virtual bool processSlot(const QString &name, const Value *value);
};
class QMLJS_EXPORT ObjectValue: public Value, public Environment