comparison ui/certificateitemwidget.cpp @ 1101:2b3526ef2d69

(issue111) Keep manually changed certificates in the manually changed list. This invents the new property "active certificate" an inactive certificate is a certificate that is displayed but has no impact on the store.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 13:55:47 +0200
parents 9c4543128666
children 6f7b7d88f048
comparison
equal deleted inserted replaced
1100:77afafd23a1b 1101:2b3526ef2d69
137 } 137 }
138 connect(mComboBox, SIGNAL(currentIndexChanged(int)), 138 connect(mComboBox, SIGNAL(currentIndexChanged(int)),
139 this, SLOT(currentStateChanged(int))); 139 this, SLOT(currentStateChanged(int)));
140 } 140 }
141 141
142 Certificate CertificateItemWidget::certificate() 142 Certificate* CertificateItemWidget::certificate()
143 { 143 {
144 return mCertificate; 144 return &mCertificate;
145 } 145 }
146 146
147 void CertificateItemWidget::currentStateChanged(int) 147 void CertificateItemWidget::currentStateChanged(int)
148 { 148 {
149 bool state = !mComboBox->currentIndex(); 149 bool state = !mComboBox->currentIndex();

http://wald.intevation.org/projects/trustbridge/