~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h

  • Committer: Timo Jyrinki
  • Date: 2013-11-15 12:25:23 UTC
  • mfrom: (1.1.28)
  • Revision ID: timo.jyrinki@canonical.com-20131115122523-i2kyamsu4gs2mu1m
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
class ChildrenChangedCommand
40
40
{
41
41
    friend QDataStream &operator>>(QDataStream &in, ChildrenChangedCommand &command);
 
42
    friend bool operator ==(const ChildrenChangedCommand &first, const ChildrenChangedCommand &second);
 
43
 
42
44
public:
43
45
    ChildrenChangedCommand();
44
46
    explicit ChildrenChangedCommand(qint32 parentInstanceId, const QVector<qint32> &childrenInstancesconst, const QVector<InformationContainer> &informationVector);
47
49
    qint32 parentInstanceId() const;
48
50
    QVector<InformationContainer> informations() const;
49
51
 
 
52
    void sort();
 
53
 
50
54
private:
51
55
    qint32 m_parentInstanceId;
52
56
    QVector<qint32> m_childrenVector;
56
60
QDataStream &operator<<(QDataStream &out, const ChildrenChangedCommand &command);
57
61
QDataStream &operator>>(QDataStream &in, ChildrenChangedCommand &command);
58
62
 
 
63
bool operator ==(const ChildrenChangedCommand &first, const ChildrenChangedCommand &second);
 
64
QDebug operator <<(QDebug debug, const ChildrenChangedCommand &command);
 
65
 
59
66
} // namespace QmlDesigner
60
67
 
61
68
Q_DECLARE_METATYPE(QmlDesigner::ChildrenChangedCommand)