~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to share/qtcreator/qml/qmlpuppet/commands/informationchangedcommand.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:
32
32
 
33
33
#include <QMetaType>
34
34
#include <QVector>
35
 
#include <QDebug>
36
35
 
37
36
#include "informationcontainer.h"
38
37
 
41
40
class InformationChangedCommand
42
41
{
43
42
    friend QDataStream &operator>>(QDataStream &in, InformationChangedCommand &command);
 
43
    friend bool operator ==(const InformationChangedCommand &first, const InformationChangedCommand &second);
44
44
 
45
45
public:
46
46
    InformationChangedCommand();
48
48
 
49
49
    QVector<InformationContainer> informations() const;
50
50
 
 
51
    void sort();
 
52
 
51
53
private:
52
54
    QVector<InformationContainer> m_informationVector;
53
55
};
55
57
QDataStream &operator<<(QDataStream &out, const InformationChangedCommand &command);
56
58
QDataStream &operator>>(QDataStream &in, InformationChangedCommand &command);
57
59
 
 
60
bool operator ==(const InformationChangedCommand &first, const InformationChangedCommand &second);
 
61
QDebug operator <<(QDebug debug, const InformationChangedCommand &command);
 
62
 
58
63
} // namespace QmlDesigner
59
64
 
60
65
Q_DECLARE_METATYPE(QmlDesigner::InformationChangedCommand)