[Kmymoney-devel] QWizard and combobox values
Fernando Vilas
fvilas at iname.com
Tue Aug 24 04:49:04 CEST 2010
On Monday, August 23, 2010 21:27:01 Alvaro Soliverez wrote:
[...]
>
> class KMyMoneyFrequencyCombo : public KMyMoneyOccurrenceCombo
> {
> Q_OBJECT
>
> Q_PROPERTY(QVariant data READ currentData WRITE setCurrentData STORED
> false)
>
> public:
> KMyMoneyFrequencyCombo(QWidget* parent = 0);
>
> int eventsPerYear(void) const;
>
> int daysBetweenEvents(void) const;
>
> QVariant data;
>
> QVariant currentData(void) const;
>
> void setCurrentData(QVariant data);
>
> Q_SIGNALS:
> void currentDataChanged(QVariant data);
>
> protected slots:
> void slotCurrentDataChanged();
>
> };
>
> I can post you the patch if you want to give it a try.
Hmm... it looks right to me, other than data being public, but that's a
different issue.
The field is a KComboBox in the old code, so maybe seeing the whole patch will
help. At this point, I cannot promise that I will get to it until tomorrow
evening, though.
--
Thanks,
Fernando Vilas
fvilas at iname.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100823/8270ac2d/attachment.sig
More information about the KMyMoney-devel
mailing list