diff options
Diffstat (limited to 'Swift/QtUI/QtVCardWidget/QtVCardGeneralField.h')
-rw-r--r-- | Swift/QtUI/QtVCardWidget/QtVCardGeneralField.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.h b/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.h index 4afe692..93d326b 100644 --- a/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.h +++ b/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.h @@ -5,4 +5,10 @@ */ +/* + * Copyright (c) 2014 Kevin Smith and Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + #pragma once @@ -41,4 +47,7 @@ class QtVCardGeneralField : public QWidget { virtual bool isEmpty() const = 0; + void setStarVisible(const bool isVisible); + bool getStarVisible() const; + void setPreferred(const bool preferred); bool getPreferred() const; @@ -62,6 +71,10 @@ class QtVCardGeneralField : public QWidget { private: + void updatePreferredStarVisibility(); + + private: bool editable; bool preferrable; + bool starVisible; bool taggable; QGridLayout* layout; |