Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/vcs/vcsstatusinfo.h
Show All 18 Lines | |||||
19 | * 02110-1301, USA. | 19 | * 02110-1301, USA. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #ifndef KDEVPLATFORM_VCSSTATUSINFO_H | 22 | #ifndef KDEVPLATFORM_VCSSTATUSINFO_H | ||
23 | #define KDEVPLATFORM_VCSSTATUSINFO_H | 23 | #define KDEVPLATFORM_VCSSTATUSINFO_H | ||
24 | 24 | | |||
25 | #include "vcsexport.h" | 25 | #include "vcsexport.h" | ||
26 | #include <QMetaType> | 26 | #include <QMetaType> | ||
27 | #include <QScopedPointer> | 27 | #include <QSharedDataPointer> | ||
28 | 28 | | |||
29 | class QUrl; | 29 | class QUrl; | ||
30 | 30 | | |||
31 | namespace KDevelop | 31 | namespace KDevelop | ||
32 | { | 32 | { | ||
33 | 33 | | |||
34 | /** | 34 | /** | ||
35 | * | 35 | * | ||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 49 | public: | |||
82 | int extendedState() const; | 82 | int extendedState() const; | ||
83 | void setExtendedState( int ); | 83 | void setExtendedState( int ); | ||
84 | 84 | | |||
85 | VcsStatusInfo& operator=( const VcsStatusInfo& rhs); | 85 | VcsStatusInfo& operator=( const VcsStatusInfo& rhs); | ||
86 | bool operator==( const KDevelop::VcsStatusInfo& rhs) const; | 86 | bool operator==( const KDevelop::VcsStatusInfo& rhs) const; | ||
87 | bool operator!=( const KDevelop::VcsStatusInfo& rhs) const; | 87 | bool operator!=( const KDevelop::VcsStatusInfo& rhs) const; | ||
88 | 88 | | |||
89 | private: | 89 | private: | ||
90 | const QScopedPointer<class VcsStatusInfoPrivate> d; | 90 | QSharedDataPointer<class VcsStatusInfoPrivate> d; | ||
91 | }; | 91 | }; | ||
92 | 92 | | |||
93 | } | 93 | } | ||
94 | 94 | | |||
95 | Q_DECLARE_METATYPE( KDevelop::VcsStatusInfo ) | 95 | Q_DECLARE_METATYPE( KDevelop::VcsStatusInfo ) | ||
96 | Q_DECLARE_TYPEINFO( KDevelop::VcsStatusInfo, Q_MOVABLE_TYPE ); | ||||
96 | 97 | | |||
97 | KDEVPLATFORMVCS_EXPORT QDebug operator<<(QDebug s, const KDevelop::VcsStatusInfo& statusInfo); | 98 | KDEVPLATFORMVCS_EXPORT QDebug operator<<(QDebug s, const KDevelop::VcsStatusInfo& statusInfo); | ||
98 | 99 | | |||
99 | #endif | 100 | #endif | ||
100 | 101 | |