diff options
Diffstat (limited to 'Swift/QtUI/QtRosterHeader.h')
| -rw-r--r-- | Swift/QtUI/QtRosterHeader.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Swift/QtUI/QtRosterHeader.h b/Swift/QtUI/QtRosterHeader.h index ad19178..eafbc02 100644 --- a/Swift/QtUI/QtRosterHeader.h +++ b/Swift/QtUI/QtRosterHeader.h @@ -15,3 +15,5 @@ #include <string> -#include "Swiften/Elements/StatusShow.h" +#include <Swiften/Elements/StatusShow.h> +#include <Swiften/Elements/VCard.h> +#include <Swift/Controllers/Roster/ContactRosterItem.h> @@ -36,2 +38,3 @@ namespace Swift { void setNick(const QString& nick); + void setContactRosterItem(boost::shared_ptr<ContactRosterItem> contact); @@ -41,2 +44,4 @@ namespace Swift { void setStreamEncryptionStatus(bool tlsInPlace); + private: + bool event(QEvent* event); signals: @@ -56,2 +61,3 @@ namespace Swift { static const int avatarSize_; + boost::shared_ptr<ContactRosterItem> contact_; }; |
Swift