diff options
Diffstat (limited to 'Swift/QtUI/QtVCardWidget/QtVCardWidget.h')
| -rw-r--r-- | Swift/QtUI/QtVCardWidget/QtVCardWidget.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardWidget.h b/Swift/QtUI/QtVCardWidget/QtVCardWidget.h index 29ed499..8c0ff31 100644 --- a/Swift/QtUI/QtVCardWidget/QtVCardWidget.h +++ b/Swift/QtUI/QtVCardWidget/QtVCardWidget.h | |||
| @@ -4,16 +4,24 @@ | |||
| 4 | * See Documentation/Licenses/BSD-simplified.txt for more information. | 4 | * See Documentation/Licenses/BSD-simplified.txt for more information. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | /* | ||
| 8 | * Copyright (c) 2015 Isode Limited. | ||
| 9 | * All rights reserved. | ||
| 10 | * See the COPYING file for more information. | ||
| 11 | */ | ||
| 12 | |||
| 7 | #pragma once | 13 | #pragma once |
| 8 | 14 | ||
| 9 | #include <QWidget> | 15 | #include <boost/smart_ptr/make_shared.hpp> |
| 16 | |||
| 10 | #include <QToolButton> | 17 | #include <QToolButton> |
| 18 | #include <QWidget> | ||
| 19 | |||
| 11 | #include <Swiften/Elements/VCard.h> | 20 | #include <Swiften/Elements/VCard.h> |
| 12 | #include <boost/smart_ptr/make_shared.hpp> | ||
| 13 | 21 | ||
| 14 | #include "QtVCardFieldInfo.h" | 22 | #include <Swift/QtUI/QtVCardWidget/QtVCardFieldInfo.h> |
| 15 | #include "QtVCardGeneralField.h" | 23 | #include <Swift/QtUI/QtVCardWidget/QtVCardGeneralField.h> |
| 16 | #include "QtVCardPhotoAndNameFields.h" | 24 | #include <Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h> |
| 17 | 25 | ||
| 18 | namespace Ui { | 26 | namespace Ui { |
| 19 | class QtVCardWidget; | 27 | class QtVCardWidget; |
| @@ -35,6 +43,8 @@ namespace Swift { | |||
| 35 | void setVCard(VCard::ref vcard); | 43 | void setVCard(VCard::ref vcard); |
| 36 | VCard::ref getVCard(); | 44 | VCard::ref getVCard(); |
| 37 | 45 | ||
| 46 | virtual QSize sizeHint() const; | ||
| 47 | |||
| 38 | signals: | 48 | signals: |
| 39 | void editableChanged(bool editable); | 49 | void editableChanged(bool editable); |
| 40 | 50 | ||
Swift